Skip to content

[illumos] mono 4 missing getdomainname #11

Description

@sjorge
[root@ares ~]# TZ=Europe/Brussels mono Radarr/Radarr.exe
[Info] Bootstrap: Starting Radarr - /root/Radarr/Radarr.exe - Version 0.2.0.778 
[Info] MigrationLogger: *** Migrating data source=/root/.config/Radarr/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 
[Info] MigrationLogger: *** Migrating data source=/root/.config/Radarr/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 
[Info] Router: Application mode: Interactive 
[Info] OwinHostController: Listening on the following URLs: 
[Info] OwinHostController:   http://*:7878/ 
[Info] NancyBootstrapper: Starting NzbDrone API 
[Error] TaskExtensions: Task Error 

[v0.2.0.778] System.EntryPointNotFoundException: getdomainname
  at (wrapper managed-to-native) System.Net.NetworkInformation.CommonUnixIPGlobalProperties:getdomainname (byte[],int)
  at System.Net.NetworkInformation.CommonUnixIPGlobalProperties.get_DomainName () [0x00000] in <filename unknown>:0 
  at System.Net.CookieContainer..ctor () [0x00000] in <filename unknown>:0 
  at NzbDrone.Common.Http.HttpClient+<>c.<PrepareRequestCookies>b__7_0 () [0x00000] in <filename unknown>:0 
  at NzbDrone.Common.Cache.Cached`1[System.Net.CookieContainer].Get (System.String key, System.Func`1 function, Nullable`1 lifeTime) [0x00000] in <filename unknown>:0 
  at NzbDrone.Common.Http.HttpClient.PrepareRequestCookies (NzbDrone.Common.Http.HttpRequest request) [0x00000] in <filename unknown>:0 
  at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00000] in <filename unknown>:0 
  at NzbDrone.Common.Http.HttpClient.Get (NzbDrone.Common.Http.HttpRequest request) [0x00000] in <filename unknown>:0 
  at NzbDrone.Common.Http.HttpClient.Get[UpdatePackageAvailable] (NzbDrone.Common.Http.HttpRequest request) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Update.UpdatePackageProvider.GetLatestUpdate (System.String branch, System.Version currentVersion) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Update.CheckUpdateService.AvailableUpdate () [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.HealthCheck.Checks.UpdateCheck.Check () [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.HealthCheck.HealthCheckService+<>c.<PerformHealthCheck>b__7_0 (IProvideHealthCheck c) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[NzbDrone.Core.HealthCheck.IProvideHealthCheck,NzbDrone.Core.HealthCheck.HealthCheck].MoveNext () [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[NzbDrone.Core.HealthCheck.HealthCheck]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable.ToList[HealthCheck] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.HealthCheck.HealthCheckService.PerformHealthCheck (System.Func`2 predicate) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.HealthCheck.HealthCheckService.HandleAsync (NzbDrone.Core.Lifecycle.ApplicationStartedEvent message) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Messaging.Events.EventAggregator+<>c__DisplayClass4_1`1[NzbDrone.Core.Lifecycle.ApplicationStartedEvent].<PublishEvent>b__0 () [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <filename unknown>:0 

This is just one example stack trace, I can get more but basically getdomainname support is not available, problem is that nearly all hostname to ip lookups need this. This makes mono unusable for all network related stuff.

Activity

  1. added a commit that references this issue on Aug 16, 2017
  2. self-assigned this
    on Aug 22, 2017
  3. jperkin commented on Aug 22, 2017

    @jperkin
    Collaborator

    Fixed in NetBSD@8fd3540 and verified that Radarr now works. Will be in the next release.

  4. added a commit that references this issue on Jan 9, 2018
  5. added a commit that references this issue on Jan 15, 2018
  6. added a commit that references this issue on Feb 19, 2018
  7. added a commit that references this issue on Apr 26, 2018
  8. added a commit that references this issue on Aug 28, 2018
  9. 276 remaining items

  10. added a commit that references this issue on Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions