[systemd-devel] CanSuspend always says 'na'

2012-05-31 Thread Matthias Clasen
It shouldn't, since my system suspends just fine. The attached patch should fix that. 0001-logind-interpret-the-can_sleep-return-value-properly.patch Description: Binary data ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://list

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

2012-05-31 Thread Matthias Clasen
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. 0001-sleep-Don-t-call-execute_directory-on-a-binary.patch Description: Binary data ___

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

2012-05-31 Thread Daniel Drake
On Wed, Apr 11, 2012 at 10:51 AM, Daniel Drake wrote: > On Wed, Apr 11, 2012 at 9:42 AM, Lennart Poettering > wrote: >>> I tried modifying e.g. plymouth-reboot.service to have: >>> Before=reboot.service shutdown.target umount.target final.target >>> reboot.target >> >> That suggests that the ply

Re: [systemd-devel] Fix systemd-udev labeling of /var/run directory.

2012-05-31 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/31/2012 07:51 AM, Kay Sievers wrote: > On Thu, May 31, 2012 at 1:04 PM, Daniel J Walsh wrote: > >> Ok Eric and I will work to get it upstream. I guess for F18 I can move >> the /var/run definition to /run and reverse the equivalence. But it i

[systemd-devel] Path to a mount point that begins with causes problems

2012-05-31 Thread Peter Lindgren
Hi, I'm using systemd-44 and experiencing some problems with my mount unit. I have an /etc/systemd/system/.aufs-normal.mount file - [Unit] Description=normal mount [Mount] What=/dev/mmcblk0p5 Where=/.aufs/normal Type=ext2 - I am able to run 'systemctl start .aufs-normal.mount' and 'syst

Re: [systemd-devel] Fix systemd-udev labeling of /var/run directory.

2012-05-31 Thread Kay Sievers
On Thu, May 31, 2012 at 1:04 PM, Daniel J Walsh wrote: > Ok Eric and I will work to get it upstream.  I guess for F18 I can move the > /var/run definition to /run and reverse the equivalence.  But it is probably We have changed udev not do any selinux label magic for /run files/directories now,

Re: [systemd-devel] [PATCH] systemctl: Implement "info" and "doc" commands, similar to "man"

2012-05-31 Thread Gergely Nagy
Lennart Poettering writes: > On Thu, 31.05.12 13:22, Gergely Nagy (alger...@balabit.hu) wrote: > >> > On Thu, 31.05.12 12:56, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) >> > wrote: >> >> On 05/31/2012 12:40 PM, Lennart Poettering wrote: >> >> > I'd be open to rename "systemctl man" to "syst

Re: [systemd-devel] [PATCH] systemctl: Implement "info" and "doc" commands, similar to "man"

2012-05-31 Thread Lennart Poettering
On Thu, 31.05.12 13:11, Gergely Nagy (alger...@balabit.hu) wrote: > I'll prepare a patch that supports info too. Should it prefer man over > info, or the other way around? Or open both in turn? Or make it > selectable (while still preferring one over the other)? > > Also, should it support stuff

Re: [systemd-devel] [PATCH] systemctl: Implement "info" and "doc" commands, similar to "man"

2012-05-31 Thread Lennart Poettering
On Thu, 31.05.12 13:22, Gergely Nagy (alger...@balabit.hu) wrote: > > On Thu, 31.05.12 12:56, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) > > wrote: > >> On 05/31/2012 12:40 PM, Lennart Poettering wrote: > >> > I'd be open to rename "systemctl man" to "systemctl doc" too, if people > >> > wan

Re: [systemd-devel] [PATCH] systemctl: Implement "info" and "doc" commands, similar to "man"

2012-05-31 Thread Gergely Nagy
Lennart Poettering writes: > On Thu, 31.05.12 12:56, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: >> On 05/31/2012 12:40 PM, Lennart Poettering wrote: >> > I'd be open to rename "systemctl man" to "systemctl doc" too, if people >> > want this, if we make it cover both man and info. Not

Re: [systemd-devel] [PATCH] systemctl: Implement "info" and "doc" commands, similar to "man"

2012-05-31 Thread Lennart Poettering
On Thu, 31.05.12 12:56, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > On 05/31/2012 12:40 PM, Lennart Poettering wrote: > > I'd be open to rename "systemctl man" to "systemctl doc" too, if people > > want this, if we make it cover both man and info. Not sure I like "doc" > > too much

Re: [systemd-devel] [PATCH] systemctl: Implement "info" and "doc" commands, similar to "man"

2012-05-31 Thread Gergely Nagy
Lennart Poettering writes: >> Nevertheless, I was thinking that 3 different commands to display docs >> might be a bit too much. Perhaps it could be condensed into a single >> "doc" command, with --info, --man and --http or similar flags to select >> what kind of documentation to display? (And by

Re: [systemd-devel] Fix systemd-udev labeling of /var/run directory.

2012-05-31 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/31/2012 07:01 AM, Lennart Poettering wrote: > On Thu, 31.05.12 06:54, Daniel J Walsh (dwa...@redhat.com) wrote: > > Heya, > On Wed, 30.05.12 16:13, Daniel J Walsh (dwa...@redhat.com) wrote: > +const char *prefixes[] = { "

Re: [systemd-devel] Fix systemd-udev labeling of /var/run directory.

2012-05-31 Thread Lennart Poettering
On Thu, 31.05.12 06:54, Daniel J Walsh (dwa...@redhat.com) wrote: Heya, > >> On Wed, 30.05.12 16:13, Daniel J Walsh (dwa...@redhat.com) wrote: > >> > >>> +const char *prefixes[] = { "/dev", "/var/run", NULL }; > >> > >> Is there a reason this mentions /var/run and not /run? > >> > >> O

Re: [systemd-devel] [PATCH] systemctl: Implement "info" and "doc" commands, similar to "man"

2012-05-31 Thread Zbigniew Jędrzejewski-Szmek
On 05/31/2012 12:40 PM, Lennart Poettering wrote: > I'd be open to rename "systemctl man" to "systemctl doc" too, if people > want this, if we make it cover both man and info. Not sure I like "doc" > too much though. Maybe we can find another name? Suggestions? The reason > I picked "man" in the fi

Re: [systemd-devel] Fix systemd-udev labeling of /var/run directory.

2012-05-31 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/30/2012 08:27 PM, Lennart Poettering wrote: > On Wed, 30.05.12 23:32, Lennart Poettering (lenn...@poettering.net) wrote: > >> >> On Wed, 30.05.12 16:13, Daniel J Walsh (dwa...@redhat.com) wrote: >> >>> +const char *prefixes[] = { "/dev

Re: [systemd-devel] systemd-183 build error with --disable-logind

2012-05-31 Thread Stephan Raue
Am 30.05.2012 22:27, schrieb Lennart Poettering: This is fixed now in git. Thanks for the pointer! Lennart thanks much :-) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] systemctl: Implement "info" and "doc" commands, similar to "man"

2012-05-31 Thread Lennart Poettering
On Thu, 31.05.12 10:44, Gergely Nagy (alger...@balabit.hu) wrote: > > Similar to systemctl man, implement the info and doc commands. The > > former will open the appropriate info page, the latter will open any > > http (or https) documentation via xdg-open. > > FWIW, that patch was only compile-t

Re: [systemd-devel] [PATCH] systemctl: Implement "info" and "doc" commands, similar to "man"

2012-05-31 Thread Gergely Nagy
Gergely Nagy writes: > Similar to systemctl man, implement the info and doc commands. The > former will open the appropriate info page, the latter will open any > http (or https) documentation via xdg-open. FWIW, that patch was only compile-tested, but it should work. Nevertheless, I was thinki

[systemd-devel] [PATCH] systemctl: Implement "info" and "doc" commands, similar to "man"

2012-05-31 Thread Gergely Nagy
Similar to systemctl man, implement the info and doc commands. The former will open the appropriate info page, the latter will open any http (or https) documentation via xdg-open. Signed-off-by: Gergely Nagy --- man/systemctl.xml | 23 + src/systemctl/systemctl.c | 59