Re: [systemd-devel] Doing kexec reboot right in systemd

2012-03-27 Thread Lennart Poettering
On Mon, 26.03.12 21:25, Marti Raudsepp (ma...@juffo.org) wrote: > > On Mon, Mar 26, 2012 at 21:07, Lennart Poettering > wrote: > > Marti, sorry for changing my mind on this: would be great if you could > > prep a patch for this for systemd itself. > > D'oh, I already prepared a patch for kexec,

Re: [systemd-devel] [PATCH] systemctl: resolve duplicate -f option in doc

2012-03-27 Thread Lennart Poettering
On Mon, 26.03.12 18:24, Dave Reisner (d...@falconindy.com) wrote: > > Opinions? Is this kind of overloading ugly? I am tempted to say it's > > pretty OK, what do you say? > > My OCD says otherwise, but I think this seems like a reasonable > solution, since the options end up being mutually exclus

Re: [systemd-devel] pam_systemd.so and su

2012-03-27 Thread Lennart Poettering
On Thu, 22.03.12 12:36, Koen Kooi (k...@dominion.thruhere.net) wrote: > > I have now commited a patch to git that might fix your issue. Please > > test: > > > > http://cgit.freedesktop.org/systemd/systemd/commit/?id=75c8e3cffd7da8eede614cf61384957af2c82a29 > > > > I assume this fixes your proble

Re: [systemd-devel] pam_systemd.so and su

2012-03-27 Thread Lennart Poettering
On Thu, 22.03.12 13:07, Frederic Crozat (fcro...@suse.com) wrote: > > > Normally, when the pam session close hooks are called logind responds to > > > this by killing the main process of the session if it still > > > exists. This is probably the source of the problem here. > > > > I have now comm

Re: [systemd-devel] pam_systemd.so and su

2012-03-27 Thread Lennart Poettering
On Thu, 22.03.12 12:11, Christian Hesse (l...@eworm.de) wrote: > > > Do you have audit enabled in the kernel and are using pam_loginuid? > > > > > > Normally, when the pam session close hooks are called logind responds to > > > this by killing the main process of the session if it still > > > exi

Re: [systemd-devel] [beagleboard] Systemd blowing away screen sessions

2012-03-27 Thread Lennart Poettering
On Thu, 22.03.12 08:48, Koen Kooi (k...@beagleboard.org) wrote: > > I tried adding this line as suggested, to almost every file in /etc/pam.d, > > but it seems to silently not have any effect at all: > > > >> session required pam_systemd.so create-session=1 kill-user=0 kill-session=0 > > > > It

[systemd-devel] /media as tmpfs

2012-03-27 Thread Tollef Fog Heen
Hi, why is /media a tmpfs? I think that violates user expectations that /media will be persistent across reboots, in particular any directories created and such. -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are ___

Re: [systemd-devel] /media as tmpfs

2012-03-27 Thread Gustavo Sverzut Barbieri
On Tue, Mar 27, 2012 at 10:36 AM, Tollef Fog Heen wrote: > > Hi, > > why is /media a tmpfs?  I think that violates user expectations that > /media will be persistent across reboots, in particular any directories > created and such. It is expected that /media will contain directories for mountpoin

Re: [systemd-devel] /media as tmpfs

2012-03-27 Thread Tollef Fog Heen
]] Gustavo Sverzut Barbieri > On Tue, Mar 27, 2012 at 10:36 AM, Tollef Fog Heen wrote: > > > > Hi, > > > > why is /media a tmpfs?  I think that violates user expectations that > > /media will be persistent across reboots, in particular any directories > > created and such. > > It is expected th

Re: [systemd-devel] /media as tmpfs

2012-03-27 Thread Kay Sievers
On Tue, Mar 27, 2012 at 16:21, Gustavo Sverzut Barbieri wrote: > On Tue, Mar 27, 2012 at 10:36 AM, Tollef Fog Heen wrote: >> >> why is /media a tmpfs?  I think that violates user expectations that >> /media will be persistent across reboots, in particular any directories >> created and such. > >

Re: [systemd-devel] /media as tmpfs

2012-03-27 Thread Lennart Poettering
On Tue, 27.03.12 15:36, Tollef Fog Heen (tfh...@err.no) wrote: > > Hi, > > why is /media a tmpfs? I think that violates user expectations that > /media will be persistent across reboots, in particular any directories > created and such. /media is where deaemons such as udisks dynamically mount

Re: [systemd-devel] /media as tmpfs

2012-03-27 Thread Lennart Poettering
On Tue, 27.03.12 16:53, Tollef Fog Heen (tfh...@err.no) wrote: > ]] Gustavo Sverzut Barbieri > > > On Tue, Mar 27, 2012 at 10:36 AM, Tollef Fog Heen wrote: > > > > > > Hi, > > > > > > why is /media a tmpfs?  I think that violates user expectations that > > > /media will be persistent across reb

Re: [systemd-devel] /media as tmpfs

2012-03-27 Thread Kay Sievers
On Tue, Mar 27, 2012 at 16:53, Tollef Fog Heen wrote: > ]] Gustavo Sverzut Barbieri > >> On Tue, Mar 27, 2012 at 10:36 AM, Tollef Fog Heen wrote: >> > >> > Hi, >> > >> > why is /media a tmpfs?  I think that violates user expectations that >> > /media will be persistent across reboots, in particul

Re: [systemd-devel] /media as tmpfs

2012-03-27 Thread Tollef Fog Heen
]] Lennart Poettering > On Tue, 27.03.12 16:53, Tollef Fog Heen (tfh...@err.no) wrote: > > > ]] Gustavo Sverzut Barbieri > > > > > On Tue, Mar 27, 2012 at 10:36 AM, Tollef Fog Heen wrote: > > > > > > > > Hi, > > > > > > > > why is /media a tmpfs?  I think that violates user expectations that

Re: [systemd-devel] /media as tmpfs

2012-03-27 Thread Gustavo Sverzut Barbieri
On Tue, Mar 27, 2012 at 5:12 PM, Tollef Fog Heen wrote: > ]] Lennart Poettering > >> On Tue, 27.03.12 16:53, Tollef Fog Heen (tfh...@err.no) wrote: >> >> > ]] Gustavo Sverzut Barbieri >> > >> > > On Tue, Mar 27, 2012 at 10:36 AM, Tollef Fog Heen wrote: >> > > > >> > > > Hi, >> > > > >> > > > why

Re: [systemd-devel] Doing kexec reboot right in systemd

2012-03-27 Thread Simon Horman
On Tue, Mar 27, 2012 at 12:01:36PM +0200, Lennart Poettering wrote: > On Mon, 26.03.12 21:25, Marti Raudsepp (ma...@juffo.org) wrote: > > > > > On Mon, Mar 26, 2012 at 21:07, Lennart Poettering > > wrote: > > > Marti, sorry for changing my mind on this: would be great if you could > > > prep a p