[systemd-devel] Log of all processes

2010-10-24 Thread Canek Peláez Valdés
Hi; I'm using (with a high success) systemd in my Gentoo system. However, even with really few services running my startup time is not that different from OpenRC, and my PID count is really high; with an emergency boot, it's on the order of 1,500. I suspect the first problem is caused by the second

Re: [systemd-devel] systemctl is unable to install [email protected] any more

2010-10-24 Thread Michael Biebl
2010/10/25 Andrey Borzenkov : > As this is used in RPM, it means no getty gets installed on systemd new > install: > > {pts/0}% sudo systemctl enable [email protected] > Unit name [email protected] is not a valid unit name. > Cannot install unit [email protected]: Invalid argument > You probably want co

[systemd-devel] systemctl is unable to install [email protected] any more

2010-10-24 Thread Andrey Borzenkov
As this is used in RPM, it means no getty gets installed on systemd new install: {pts/0}% sudo systemctl enable [email protected] Unit name [email protected] is not a valid unit name. Cannot install unit [email protected]: Invalid argument This is likely result of this commit: commit 71fad6751434f06485a7

Re: [systemd-devel] Failure to remount / ro (Was: Re: [PATCH 2/4] Adding unmount functions to be used in shutdown)

2010-10-24 Thread Andrey Borzenkov
On Sun, Oct 24, 2010 at 7:32 PM, Gustavo Sverzut Barbieri wrote: >> +static int mount_points_list_umount(MountPoint **mount_point_list_head) { >> +        MountPoint *mp, *mp_next; >> +        int failed = 0; >> + >> +        LIST_FOREACH_SAFE(mount_point, mp, mp_next, *mount_point_list_head) >>

Re: [systemd-devel] Failure to remount / ro (Was: Re: [PATCH 2/4] Adding unmount functions to be used in shutdown)

2010-10-24 Thread Michael Biebl
2010/10/24 Gustavo Sverzut Barbieri : > > well, just do the patch, test to see if you handled it right (ie: > you're not looping forever in code) and mail, Lennart might like that > option you propose. Sure, proposed patch is attached. I've tested it on my laptop and it works fine for me. Cheers,

Re: [systemd-devel] Failure to remount / ro (Was: Re: [PATCH 2/4] Adding unmount functions to be used in shutdown)

2010-10-24 Thread Gustavo Sverzut Barbieri
On Sun, Oct 24, 2010 at 2:17 PM, Michael Biebl wrote: > 2010/10/24 Gustavo Sverzut Barbieri : >> On Sun, Oct 24, 2010 at 2:01 PM, Michael Biebl wrote: >>> 2010/10/24 Gustavo Sverzut Barbieri : On Sun, Oct 24, 2010 at 12:41 PM, Michael Biebl wrote: > Together with fidencio I tracked down

Re: [systemd-devel] Failure to remount / ro (Was: Re: [PATCH 2/4] Adding unmount functions to be used in shutdown)

2010-10-24 Thread Michael Biebl
2010/10/24 Gustavo Sverzut Barbieri : > On Sun, Oct 24, 2010 at 2:01 PM, Michael Biebl wrote: >> 2010/10/24 Gustavo Sverzut Barbieri : >>> On Sun, Oct 24, 2010 at 12:41 PM, Michael Biebl wrote: Together with fidencio I tracked down the bug which caused / *not* to be remounted ro on shut

Re: [systemd-devel] Failure to remount / ro (Was: Re: [PATCH 2/4] Adding unmount functions to be used in shutdown)

2010-10-24 Thread Gustavo Sverzut Barbieri
On Sun, Oct 24, 2010 at 2:01 PM, Michael Biebl wrote: > 2010/10/24 Gustavo Sverzut Barbieri : >> On Sun, Oct 24, 2010 at 12:41 PM, Michael Biebl wrote: >>> Together with fidencio I tracked down the bug which caused / *not* to >>> be remounted ro on shutdown. >>> >>> The relevant code is in src/um

Re: [systemd-devel] Failure to remount / ro (Was: Re: [PATCH 2/4] Adding unmount functions to be used in shutdown)

2010-10-24 Thread Michael Biebl
2010/10/24 Gustavo Sverzut Barbieri : > On Sun, Oct 24, 2010 at 12:41 PM, Michael Biebl wrote: >> Together with fidencio I tracked down the bug which caused / *not* to >> be remounted ro on shutdown. >> >> The relevant code is in src/umount.c >> >> 2010/10/7  : >>> +int umount_all(void) { >>> +  

Re: [systemd-devel] Failure to remount / ro (Was: Re: [PATCH 2/4] Adding unmount functions to be used in shutdown)

2010-10-24 Thread Gustavo Sverzut Barbieri
On Sun, Oct 24, 2010 at 12:41 PM, Michael Biebl wrote: > Together with fidencio I tracked down the bug which caused / *not* to > be remounted ro on shutdown. > > The relevant code is in src/umount.c > > 2010/10/7  : >> +int umount_all(void) { >> +        int r; >> +        LIST_HEAD(MountPoint, mp

[systemd-devel] Failure to remount / ro (Was: Re: [PATCH 2/4] Adding unmount functions to be used in shutdown)

2010-10-24 Thread Michael Biebl
Together with fidencio I tracked down the bug which caused / *not* to be remounted ro on shutdown. The relevant code is in src/umount.c 2010/10/7 : > +int umount_all(void) { > +        int r; > +        LIST_HEAD(MountPoint, mp_list_head); > + > +        LIST_HEAD_INIT(MountPoint, mp_list_head);