[systemd-devel] pam_limits: Could not set limit for ...: Operation not permitted
Lennart Poettering
lennart at poettering.net
Wed Feb 11 11:27:38 PST 2015
On Wed, 11.02.15 20:05, Kai Krakow (hurikhan77 at gmail.com) wrote:
> Lennart Poettering <lennart at poettering.net> schrieb:
>
> > On Tue, 10.02.15 22:28, Kai Krakow (hurikhan77 at gmail.com) wrote:
> >
> >> This is the plain Gentoo kernel 3.18.6 for desktop, nothing special
> >> except BFQ patches (applied by the Gentoo kernel package itself, not
> >> manually patched). I'm pretty sure Gentoo does not apply any special
> >> extra patches. Autogrouping for cgroups (SCHED_AUTOGROUP) is turned on -
> >> I'm not sure if it plays into the issue but from what I read it
> >> shouldn't.
> >
> > BFQ? What is that? I'd really try a vanilla kernel before checking
> > anything else...
>
> Bucket Fair Queue... A "better" variant of CFQ. I think it wouldn't matter.
>
> Well, thanks to your pointers, I somehow solved it. I don't know exactly why
> because adding "debug" to pam_limits and pam_systemd yielded nothing
> helpful. But I figured that I was part in many - historically needed -
> groups. Those were added by Gentoo previously and according to post install
> instruction, you had to be member of realtime, pulse, pulse-access, video,
> audio etc etc etc. I've removed myself from those groups since I guess
> systemd takes care of that now.
Well, I can't see the relation between groups and rlimits I must
say... Unless the default limits.conf on Gentoo sets something weird
for members of those groups...
> The error message in the log is now gone and to my surprise, there's a
> running "systemd --user" instance for my uid in the process list now.
>
> But now I got a new message in the log:
> Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Hmm, maybe Gentoo ships some dbus hookup for systemd user sessions
that triggers this?
Simon is working on getting this cleaned up in dbus-daemon upstream,
see the other threads about that.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list