Re: [systemd-devel] [PATCH] var-run.service: create console dir needed by pam

2010-09-27 Thread Kay Sievers
On Mon, Sep 27, 2010 at 01:42, Lennart Poettering lenn...@poettering.net wrote: On Fri, 24.09.10 16:26, har...@redhat.com (har...@redhat.com) wrote: From: Harald Hoyer har...@redhat.com After the comments from Kay and Bill I believe that a change like this is probably something we should add

Re: [systemd-devel] Systemd port on custom embedded linux

2010-09-27 Thread Cristian Axenie
Hi ! I've managed to add the proper symlinks in sbin and the reboot/halt/poweroff/shutdown are now handled by systemctl. I also removed the INIT_VERSION environment entry from the corresponding units. Should I consider to keep the entries in the current units (i.e.: /etc/init.d/reboot) that are

Re: [systemd-devel] Systemd port on custom embe dded linux

2010-09-27 Thread Andrey Borzenkov
Mon, 27 Sep 2010 02:24:01 +0200 письмо от Lennart Poettering lenn...@poettering.net: 1;2591;0cOn Thu, 23.09.10 16:26, Andrey Borzenkov (arvidj...@mail.ru) wrote: It could be related to the fact that this is not enough. Standard halt command from sysvinit behaves differently depending

Re: [systemd-devel] Systemd port on custom embe dded linux

2010-09-27 Thread Andrey Borzenkov
Mon, 27 Sep 2010 17:39:15 +0200 письмо от Lennart Poettering lenn...@poettering.net: On Mon, 27.09.10 13:07, Cristian Axenie (cristian.axe...@gmail.com) wrote: Hi ! I've managed to add the proper symlinks in sbin and the reboot/halt/poweroff/shutdown are now handled by systemctl. I also

[systemd-devel] [PATCH 1/2] Adding unmount functions to be used in shutdown

2010-09-27 Thread fidencio
From: Fabiano Fidencio fiden...@profusion.mobi This functions will unmount all filesystem that aren't api (and those which fail will be remounted read-only). Filesystems are being read from /proc/self/mountinfo. --- Makefile.am |1 + src/umount.c | 183

[systemd-devel] [PATCH 1/2] Adding unmount functions to be used in shutdown

2010-09-27 Thread Fabiano Fidencio
This functions will unmount all filesystem that aren't api (and those which fail will be remounted read-only). Filesystems are being read from /proc/self/mountinfo. --- Makefile.am |1 + src/umount.c | 184 ++ src/umount.h | 27

[systemd-devel] [PATCH 2/2] Fixing typo in LIST_FIND_HEAD

2010-09-27 Thread Fabiano Fidencio
Just removing a parenthesis --- src/list.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/list.h b/src/list.h index 9380f36..e49d953 100644 --- a/src/list.h +++ b/src/list.h @@ -77,7 +77,7 @@ do {\

[systemd-devel] [PATCH] Arch Linux: Don't crash because of double free when services are disabled in rc.conf

2010-09-27 Thread Matthias Schiffer
--- src/service.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/service.c b/src/service.c index 021bc86..c58536d 100644 --- a/src/service.c +++ b/src/service.c @@ -2731,6 +2731,7 @@ static int service_enumerate(Manager *m) { STRV_FOREACH(p,