Re: [systemd-devel] How to disable unit under /lib/systemd/system/*.wants?

2010-09-21 Thread Kay Sievers
On Tue, Sep 21, 2010 at 00:20, Lennart Poettering wrote: > On Sat, 18.09.10 21:39, Andrey Borzenkov (arvidj...@mail.ru) wrote: > >> Let's assume unit foo is installed as wanted by other unit under >> $systemunitdir (/lib/systemd/system/bar.wants/foo). How can I now >> disable it? systemctl (enable

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

2010-09-21 Thread Cristian Axenie
Hi ! I've managed to boot my system with systemd although I still have some problems with autofs. [ 10.69] Freeing init memory: 152K [ 11.05] systemd[1]: systemd 8 running in system mode. (+PAM +LIBWRAP -AUDIT -SELINUX -IPV6 -SYSVINIT) [ 11.07] systemd[1]: No hostname configured.

Re: [systemd-devel] [PATCH] fix tmpwatch service and timer installation.

2010-09-21 Thread Kay Sievers
On Tue, Sep 21, 2010 at 06:54, Gustavo Sverzut Barbieri wrote: >        ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \ > -               rm -f systemd-update-utmp-shutdown.service && \ > -               $(LN_S) ../systemd-update-utmp-shutdown.service ) > +               rm -f systemd-

[systemd-devel] [systemd 1/2] Removing double include of "mount.h"

2010-09-21 Thread Fabiano Fidencio
--- src/mount.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/mount.c b/src/mount.c index 5a05e2c..64c6790 100644 --- a/src/mount.c +++ b/src/mount.c @@ -33,7 +33,6 @@ #include "strv.h" #include "mount-setup.h" #include "unit-name.h" -#include "mount.h" #include

[systemd-devel] [systemd 2/2] Adding unmount function to be used in shutdown

2010-09-21 Thread Fabiano Fidencio
This function will unmount all filesystem (and those which fail will be remounted read-only). Filesystems are being read from /proc/self/mountinfo. --- src/shutdownd.c | 73 +++ 1 files changed, 73 insertions(+), 0 deletions(-) diff --git a/sr

Re: [systemd-devel] [systemd 2/2] Adding unmount function to be used in shutdown

2010-09-21 Thread Fabiano Fidêncio
On Tue, Sep 21, 2010 at 8:53 PM, Gustavo F. Padovan wrote: > * Fabiano Fidencio [2010-09-21 20:17:06 -0300]: > >> This function will unmount all filesystem (and those which fail >> will be remounted read-only). >> Filesystems are being read from /proc/self/mountinfo. >> --- >>  src/shutdownd.c |

[systemd-devel] simple systemd boot status

2010-09-21 Thread Gustavo Sverzut Barbieri
Hi all, I've wrote a proof of concept of a simple boot status for systemd. Yeah, I know fedora folks have their super-duper plymouth, but I don't want such thing just to show some progress. My current version is at http://git.profusion.mobi/cgit.cgi/gustavo/systemd-bootstatus/ and provides a simp