Re: [systemd-devel] Adding a service file to run with system-update.target

2012-06-01 Thread Lennart Poettering
Heya, Please make this a normal unit file, I.e. drop the DefaultDependencies, and drop the After=system-update.target. But do add WantedBy=system-update.target in the Install section. Or, alternatively, symlink this into /usr/lib/systemd/system/system-update.target.wants/ in the package so tha

Re: [systemd-devel] Adding a service file to run with system-update.target

2012-06-01 Thread Mathieu Bridon
On Fri, 2012-06-01 at 23:42 +0100, Richard Hughes wrote: > I've been playing with the offline updates thing a bit. Is this the > kind of service file that PackageKit should install into > /usr/lib/systemd/system/ ? > > [Unit] > Description=Updates the operating system whilst offline > DefaultDepen

[systemd-devel] Adding a service file to run with system-update.target

2012-06-01 Thread Richard Hughes
I've been playing with the offline updates thing a bit. Is this the kind of service file that PackageKit should install into /usr/lib/systemd/system/ ? [Unit] Description=Updates the operating system whilst offline DefaultDependencies=no After=system-update.target [Service] Type=oneshot ExecStart

Re: [systemd-devel] [ANNOUNCE] systemd 183

2012-06-01 Thread Richard Hughes
On 25 May 2012 13:28, Lennart Poettering wrote: >        * A framework for implementing offline system updates is now >          integrated, for details see: >          http://freedesktop.org/wiki/Software/systemd/SystemUpdates Seeing as system-update.target is now shipped in systemd itself, woul

Re: [systemd-devel] PATCH: add missing header include

2012-06-01 Thread Lennart Poettering
On Fri, 01.06.12 20:35, Alexey Shabalin (a.shaba...@gmail.com) wrote: > > mount-setup.c in systemd-184 have the same problem with old glibc: > > CC src/core/mount-setup.o > src/core/mount-setup.c:64:92: error: 'MS_STRICTATIME' undeclared here > (not in a function) > src/core/mount-setup.c:

Re: [systemd-devel] PATCH: add missing header include

2012-06-01 Thread Alexey Shabalin
2011/8/19 Lennart Poettering : > On Thu, 18.08.11 16:18, Frederic Crozat (fcro...@suse.com) wrote: > >> Le jeudi 18 août 2011 à 16:00 +0200, Lennart Poettering a écrit : >> > On Thu, 18.08.11 15:50, Frederic Crozat (fcro...@suse.com) wrote: >> > >> > > Hi, >> > > >> > > MS_REC is not always defined

Re: [systemd-devel] ctrl-s + shutdown

2012-06-01 Thread Lennart Poettering
On Fri, 01.06.12 12:33, Lukáš Nykrýn (lnyk...@redhat.com) wrote: > Hello, > A customer had complained about this behavior: > 1) login to system > 2) press ctrl+s > 3) log to this computer from another machine using ssh > 4) type shutdown -h now through ssh > 5) ? > > Their problem is that in RHE

Re: [systemd-devel] CanSuspend always says 'na'

2012-06-01 Thread Lennart Poettering
On Thu, 31.05.12 21:53, Matthias Clasen (matthias.cla...@gmail.com) wrote: > It shouldn't, since my system suspends just fine. The attached patch > should fix that. Applied! Thanks! Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel mail

Re: [systemd-devel] don't call execute_directory on a binary

2012-06-01 Thread Lennart Poettering
On Thu, 31.05.12 20:09, Matthias Clasen (matthias.cla...@gmail.com) wrote: > I've noticed > > May 31 19:45:10 localhost.localdomain systemd-sleep[9627]: Failed to > enumerate directory /usr/lib/systemd/systemd-sleep: Not a directory > > in my journal. Applied! Thanks! Lennart -- Lennart Poet

Re: [systemd-devel] ctrl-s + shutdown

2012-06-01 Thread Zbigniew Jędrzejewski-Szmek
On 06/01/2012 12:33 PM, Lukáš Nykrýn wrote: > Hello, > A customer had complained about this behavior: > 1) login to system > 2) press ctrl+s > 3) log to this computer from another machine using ssh > 4) type shutdown -h now through ssh > 5) ? > > Their problem is that in RHEL5(sysvinit) 5) is "no

[systemd-devel] ctrl-s + shutdown

2012-06-01 Thread Lukáš Nykrýn
Hello, A customer had complained about this behavior: 1) login to system 2) press ctrl+s 3) log to this computer from another machine using ssh 4) type shutdown -h now through ssh 5) ? Their problem is that in RHEL5(sysvinit) 5) is "nothing until user press ctrl+q, than shutdown" but in RHEL6(ups

Re: [systemd-devel] Showing plymouth shutdown splash earlier during shutdown process

2012-06-01 Thread Michal Schmidt
On 05/31/2012 05:46 PM, Daniel Drake wrote: In the case of reboot (or poweroff), what does this mean? plymouth-reboot.service is queued to start, and prefdm.service is queued to stop. What does After= mean in this context, who comes first? 'man systemd.unit' says: If one unit with an ordering d