[systemd-devel] systemd-logind.service failed
shawnlandden at gmail.com
Sun Mar 25 13:37:32 PDT 2012
On Sun, 2012-03-25 at 22:02 +0200, Sven Anders wrote:
> I'm trying to switch to systemd, but I have some minor problem.
> "systemctl status systemd-logind.service" reports failure.
> The error message is the following:
> Linux/OS (d-login): Failed at step CAPABILITIES...
> I made a strace on systemd and it seems, that the following
> call fails:
> prctl(0x18 /* PR_??? */, 0x24, 0, 0xbff824c0, 0x3) = -1 EINVAL (Invalid argument)
> I looked at the code and in execute.c I found a loop
> for (i = 0; i <= cap_last_cap(); i++)
maybe it requires file capabilities support?
if so check your kernel config:
# CONFIG_JFFS2_FS_XATTR is not set
and similar s appropriate for your filesystem, along with your mount
> cap_last_cap() uses the CAP_LAST_CAP define. Fine, this is set to 35 (0x23)
> If I do a "cat /proc/sys/kernel/cap_last_cap" it returns 35 (ok, the same...)
> So, why is the program trying to set 0x24?
> (I'm tested this on the kernel version 3.2.2)
> Maybe anyone has an idea?
> Sven Anders
More information about the systemd-devel