[Pkg-utopia-maintainers] Bug#570015: ck-collect-session-info coredumps on kFreeBSD (Re: Some QA of Wheezy kfreebsd-amd64 binaries)

Christoph Egger christoph at debian.org
Mon Jul 23 09:09:05 UTC 2012


Hi!

Petr Salinger <Petr.Salinger at seznam.cz> writes:
> tags 570015 -help
> found 570015 0.4.5-3
> --
>
> On Sun, 22 Jul 2012, Steven Chamberlain wrote:
>> As a quick and random test, I installed all tasksel options of
>> kfreebsd-amd64, and executed each binary from {,/usr}/[s]bin as a
>> non-privileged user inside a jail.
>
>> These next two are odd, as they appear to be daemons running as uid 0.
>> ...
>> But this one was definitely triggered by something in /bin or /sbin
>> being run as uid 1000:
>>
>>> pid 25310 (ck-collect-session-), uid 0: exited on signal 11
>
> It is long known problem - see #570015.
> The fix is really simple and waits for very long :-(
> Petr
>
>
> --- consolekit/src/ck-sysdeps-freebsd.c
> +++ consolekit/src/ck-sysdeps-freebsd.c
> @@ -261,6 +261,8 @@
>          for (i = 0; penv[i] != NULL; i++) {
>                  char **vals;
>
> +                if (!penv[i][0]) continue;
> +
>                  vals = g_strsplit (penv[i], "=", 2);
>                  if (vals != NULL) {
>                          g_hash_table_insert (hash,

  I'll test on my kfreebsd system and offer to NMU (unless maintainers
are faster / nack this) -- a segfault fix really should fit freeze
policy at the current state.

Regards

    Christoph

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer



More information about the Pkg-utopia-maintainers mailing list