package consolekit
merge  898411 846320
thanks

Hi,

I found these two bugs are actually about the same issue, so I went
ahead and merged them.

I'm also seeing this issue on 0.4.6-6. Looking around, I found an old
bug report at Fedora which suggests this might be caused by ConsoleKit
calling udev-acl wrongly: https://bugzilla.redhat.com/show_bug.cgi?id=611159

That report suggests that ConsoleKit calls commands in run-seat.d with a
plain action argument, while udev-acl expects an --action option.

This is confirmed by my log output:

        Sep 24 06:00:08 tika udev-acl.ck[21215]: g_slice_set_config: assertion 
'sys_page_size == 0' failed
        Sep 24 06:00:08 tika console-kit-daemon[6695]: missing action

And by running it manually:

        $ ls -l /usr/lib/ConsoleKit/run-seat.d/udev-acl.ck
        lrwxrwxrwx 1 root root 18 Jan 25  2017 
/usr/lib/ConsoleKit/run-seat.d/udev-acl.ck -> /lib/udev/udev-acl

        $ /lib/udev/udev-acl foo
        (process:12937): GLib-CRITICAL **: g_slice_set_config: assertion 
'sys_page_size == 0' failed
        missing action

OTOH, it seems that the assertion might be unrelated to this, as it even occurs
with `--help`, so the assertion might be a bug in udev, while the "missing
action" error might be a bug in the consolekit package (since that suplies the
udev-acl.ck symlink).

        $ /lib/udev/udev-acl --action=foo --user=123
        (process:12947): GLib-CRITICAL **: g_slice_set_config: assertion 
'sys_page_size == 0' failed

        $ /lib/udev/udev-acl --help
        (process:12989): GLib-CRITICAL **: g_slice_set_config: assertion 
'sys_page_size == 0' failed
        Usage: udev-acl --action=ACTION [--device=DEVICEFILE] [--user=UID]

However, after writing this I read that consolekit is no longer maintained and
mostly replaced by systemd-logind, so I ended up simply removing the consolekit
package which "fixes" this log message.

Gr.

Matthijs

Attachment: signature.asc
Description: PGP signature

Reply via email to