Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Feb 2021 09:14:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 244958] sysutils/hal: hald crashes upon startup
Message-ID:  <bug-244958-6497-lb5shFPpWJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244958-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244958-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244958

gerrit.kuehn@aei.mpg.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gerrit.kuehn@aei.mpg.de

--- Comment #3 from gerrit.kuehn@aei.mpg.de ---
Sorry for hijacking this, but I think I have the same issue after updating =
to
recent packages:

root@arc:~ # hald --daemon=3Dno --verbose=3Dyes
09:58:56.924 [I] hald.c:673: hal 0.5.14
09:58:56.924 [I] hald.c:674: using child timeout 250s
09:58:56.924 [I] hald.c:739: Will not daemonize
09:58:56.924 [I] hald_dbus.c:5444: local server is listening at
unix:path=3D/var/run/hald/dbus-dzWDFw48om,guid=3D9737c92963c6ff0ea82f693460=
17c2d0
09:58:56.925 [I] ck-tracker.c:396: got seat '/org/freedesktop/ConsoleKit/Se=
at1'
09:58:56.925 [I] ck-tracker.c:344: Got all sessions on seat
'/org/freedesktop/ConsoleKit/Seat1'
09:58:56.925 [I] ck-tracker.c:423: Got seats
09:58:56.925 [I] ck-tracker.c:824: Got seats and sessions
09:58:56.926 [I] hald_runner.c:304: Runner has pid 7869
Runner started - allowed paths are
'/usr/local/libexec:/usr/local/libexec/hal/scripts:/usr/local/bin'
09:58:56.928 [I] hald_runner.c:184: runner connection is 0x8014293c0
09:58:56.928 [I] hf-ata.c:258: unable to open /dev/ata: No such file or
directory
[WARN  7868] polkit-error.c:143:const char
*polkit_error_get_error_message(PolKitError *)(): error !=3D NULL
 Not built with -rdynamic so unable to print a backtrace
*** [DIE] hald.c:main():790 : Could not init PolicyKit context: (null)



Running it with truss fails with this in the end:

openat(AT_FDCWD,"/usr/local/etc/PolicyKit/PolicyKit.conf",O_RDONLY,00) ERR#2
'No such file or directory'
fstat(1,{ mode=3Dcrw--w---- ,inode=3D255,size=3D0,blksize=3D4096 }) =3D 0 (=
0x0)
ioctl(1,TIOCGETA,0x7fffffffe440)                 =3D 0 (0x0)
getpid()                                         =3D 7886 (0x1ece)
[WARN  7886] polkit-error.c:143:const char
*polkit_error_get_error_message(PolKitError *)(): error !=3D NULL
write(2,"[WARN  7886] polkit-error.c:143:"...,107) =3D 107 (0x6b)
 Not built with -rdynamic so unable to print a backtrace
write(2," Not built with -rdynamic so una"...,57) =3D 57 (0x39)



Indeed, this file doesn't exist, just a .sample file I copied the .sample to
the filename, and now hald starts just fine here.

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244958-6497-lb5shFPpWJ>