[systemd-devel] [PATCH] Fix the list of unit search paths in the manpage

2011-05-20 Thread William Swanson
This patch updates the manpage to reflect the new list of unit search locations from commit adf70c. In particular, Systemd no longer looks for units in "/usr/local/share/systemd/system", but rather "/usr/local/lib/systemd/system". -William 0001-man-update-the-list-of-unit-search-locations.patch

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Maciej Piechotka
On Fri, 2011-05-20 at 16:16 -0300, Gustavo Sverzut Barbieri wrote: > On Fri, May 20, 2011 at 3:01 PM, Henry Gebhardt > wrote: > > On Fri, May 20, 2011 at 10:37:42AM -0300, Gustavo Sverzut Barbieri wrote: > >> On Fri, May 20, 2011 at 9:36 AM, Maciej Piechotka > >> wrote: > >> > ... > >> > > >> >

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Gustavo Sverzut Barbieri
On Fri, May 20, 2011 at 3:01 PM, Henry Gebhardt wrote: > On Fri, May 20, 2011 at 10:37:42AM -0300, Gustavo Sverzut Barbieri wrote: >> On Fri, May 20, 2011 at 9:36 AM, Maciej Piechotka >> wrote: >> > ... >> > >> > Ok - I won't. The file is: >> > >> > 0.00 1305883630 0.00 >> > 1305883630 >

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Henry Gebhardt
On Fri, May 20, 2011 at 10:37:42AM -0300, Gustavo Sverzut Barbieri wrote: > On Fri, May 20, 2011 at 9:36 AM, Maciej Piechotka > wrote: > > ... > > > > Ok - I won't. The file is: > > > > 0.00 1305883630 0.00 > > 1305883630 > > UTC > > I guess every Gentoo user that moved to systemd notice

Re: [systemd-devel] and again about conditions

2011-05-20 Thread Gustavo Sverzut Barbieri
On Fri, May 20, 2011 at 12:42 PM, Alexey Shabalin wrote: > I want to check settings before starting the service. > Check only True or False. > > For example, i can only install mdadm package, but have not configured > any raid disk. Then don't need run mdadm.service. > > mdadm.service > [Unit] > C

Re: [systemd-devel] udev took too long to start

2011-05-20 Thread microcai
于 2011年05月21日 00:50, Harald Hoyer 写道: > Am 20.05.2011 18:49, schrieb microcai: >> 于 2011年05月20日 23:35, Kay Sievers 写道: >>> On Fri, May 20, 2011 at 17:32, microcai >>> wrote: >>> Now I've full relized that, the problem is fsck-root.service. udev.service stay idle as soon as fsck-root

Re: [systemd-devel] udev took too long to start

2011-05-20 Thread Harald Hoyer
Am 20.05.2011 18:49, schrieb microcai: 于 2011年05月20日 23:35, Kay Sievers 写道: On Fri, May 20, 2011 at 17:32, microcai wrote: Now I've full relized that, the problem is fsck-root.service. udev.service stay idle as soon as fsck-root.service exit. It is fsck-root.service that took so long to do

Re: [systemd-devel] udev took too long to start

2011-05-20 Thread microcai
于 2011年05月20日 23:35, Kay Sievers 写道: > On Fri, May 20, 2011 at 17:32, microcai wrote: > >> Now I've full relized that, the problem is fsck-root.service. >> >> udev.service stay idle as soon as fsck-root.service exit. >> >> It is fsck-root.service that took so long to do the job. > > Check that t

[systemd-devel] and again about conditions

2011-05-20 Thread Alexey Shabalin
I want to check settings before starting the service. Check only True or False. For example, i can only install mdadm package, but have not configured any raid disk. Then don't need run mdadm.service. mdadm.service [Unit] ConditionKernelCommandLine=|!noraidtab Condition... =| $(grep -qs '^[[:spac

Re: [systemd-devel] udev took too long to start

2011-05-20 Thread Kay Sievers
On Fri, May 20, 2011 at 17:32, microcai wrote: > Now I've full relized that, the problem is fsck-root.service. > > udev.service stay idle as soon as fsck-root.service exit. > > It is fsck-root.service that took so long to do the job. Check that the clock is right, that rtc is set by the kernel:

Re: [systemd-devel] udev took too long to start

2011-05-20 Thread microcai
于 2011年05月20日 12:10, microcai 写道: > 于 2011年05月20日 18:39, Lennart Poettering 写道: >> On Fri, 20.05.11 17:40, Chen Jie ([email protected]) wrote: >> >>> 2011/5/19 Chen Jie : 2011/5/18 Kay Sievers : > > Completely different! That's an Intel Core Duo 1.4 GHz laptop: > systemd-analyze bl

Re: [systemd-devel] [PATCH] shutdown: pivot_root to a tmpfs directory to properly umount root

2011-05-20 Thread Harald Hoyer
Resending with one debug line removed ___ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] [PATCH] shutdown: pivot_root to a tmpfs directory to properly umount root

2011-05-20 Thread harald
From: Harald Hoyer umount /boot mount a tmpfs on /boot mount bind all needed dirs pivot_root to /boot umount all mountpoints as before see root be umounted properly and all dm devices deconstructed --- src/shutdown.c | 154 +++ 1 files changed

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Henry Gebhardt
On Fri, May 20, 2011 at 04:20:47PM +0200, Kay Sievers wrote: > On Fri, May 20, 2011 at 16:08, Gustavo Sverzut Barbieri > wrote: > > http://bugs.gentoo.org/show_bug.cgi?id=318365#c129 I complained about > > it before :-) > > http://bugs.gentoo.org/show_bug.cgi?id=318365#c135 (Lennart's > > explanat

[systemd-devel] [PATCH] umount: log_info about what we unmounted

2011-05-20 Thread harald
From: Harald Hoyer --- src/umount.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/umount.c b/src/umount.c index 31e91ec..35e04de 100644 --- a/src/umount.c +++ b/src/umount.c @@ -417,6 +417,7 @@ static int mount_points_list_umount(MountPoint **head, bool *changed)

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Tom Gundersen
On Fri, May 20, 2011 at 12:31 PM, Lennart Poettering wrote: > On Fri, 20.05.11 11:03, Maciej Piechotka ([email protected]) wrote: >> 1. I have custom init in which I initialise lvm by: >> >> /bin/lvm vgchange -ay >> > You need to ensure to place this service file after udev-settle.service Th

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Kay Sievers
On Fri, May 20, 2011 at 16:08, Gustavo Sverzut Barbieri wrote: > http://bugs.gentoo.org/show_bug.cgi?id=318365#c129 I complained about > it before :-) > http://bugs.gentoo.org/show_bug.cgi?id=318365#c135 (Lennart's > explanation for them) Yeah, cool, I'll not stop bitching until that is fixed. :)

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Gustavo Sverzut Barbieri
On Fri, May 20, 2011 at 10:57 AM, Kay Sievers wrote: > On Fri, May 20, 2011 at 15:34, Gustavo Sverzut Barbieri > wrote: >> On Fri, May 20, 2011 at 10:15 AM, Kay Sievers wrote: >>> >>> On Fri, May 20, 2011 at 13:56, Maciej Piechotka >>> wrote: >>> >>> > # systemctl enable hwclock-load.service >

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread microcai
于 2011年05月20日 21:57, Kay Sievers 写道: > On Fri, May 20, 2011 at 15:34, Gustavo Sverzut Barbieri > wrote: >> On Fri, May 20, 2011 at 10:15 AM, Kay Sievers wrote: >>> >>> On Fri, May 20, 2011 at 13:56, Maciej Piechotka >>> wrote: >>> # systemctl enable hwclock-load.service Cannot link /l

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Kay Sievers
On Fri, May 20, 2011 at 15:34, Gustavo Sverzut Barbieri wrote: > On Fri, May 20, 2011 at 10:15 AM, Kay Sievers wrote: >> >> On Fri, May 20, 2011 at 13:56, Maciej Piechotka >> wrote: >> >> > # systemctl enable hwclock-load.service >> > Cannot link /lib64/systemd/system/hwclock-load.service >> >>

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Kay Sievers
On Fri, May 20, 2011 at 07:19, microcai wrote: > 于 2011年05月20日 21:15, Kay Sievers 写道: >> On Fri, May 20, 2011 at 13:56, Maciej Piechotka >> wrote: >> >>> # systemctl enable hwclock-load.service >>> Cannot link /lib64/systemd/system/hwclock-load.service >> >> Yikes, please fix that before trying

Re: [systemd-devel] icecream socket activation (help testing)

2011-05-20 Thread Gustavo Sverzut Barbieri
On Fri, May 20, 2011 at 6:16 AM, Michal Schmidt wrote: > On 05/19/2011 06:09 PM, Gustavo Sverzut Barbieri wrote: >> >> If you happen to use icecream, give a try to the attached patch to >> their SVN (svn://anonsvn.kde.org/home/kde/trunk/icecream revision >> 1232790) > > You have in daemon/icecream

Re: [systemd-devel] icecream socket activation (help testing)

2011-05-20 Thread Gustavo Sverzut Barbieri
On Fri, May 20, 2011 at 4:42 AM, Stephan Kulow wrote: > Am Donnerstag, 19. Mai 2011 schrieb Gustavo Sverzut Barbieri: >> >> I'd like to know some positive and negative tests before I ask someone >> at kde.org to commit it :-) > Too late - I'm listening :) Don't listen - TEST IT :-) Great to know

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Gustavo Sverzut Barbieri
On Fri, May 20, 2011 at 9:36 AM, Maciej Piechotka wrote: > On Fri, 2011-05-20 at 14:22 +0200, Lennart Poettering wrote: >> On Fri, 20.05.11 12:56, Maciej Piechotka ([email protected]) wrote: >> >> > # systemctl enable hwclock-load.service >> > Cannot link /lib64/systemd/system/hwclock-load.ser

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Gustavo Sverzut Barbieri
On Fri, May 20, 2011 at 10:15 AM, Kay Sievers wrote: > > On Fri, May 20, 2011 at 13:56, Maciej Piechotka wrote: > > > # systemctl enable hwclock-load.service > > Cannot link /lib64/systemd/system/hwclock-load.service > > Yikes, please fix that before trying anything else. And please hit the > mis

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread microcai
于 2011年05月20日 21:15, Kay Sievers 写道: > On Fri, May 20, 2011 at 13:56, Maciej Piechotka wrote: > >> # systemctl enable hwclock-load.service >> Cannot link /lib64/systemd/system/hwclock-load.service > > Yikes, please fix that before trying anything else. And please hit the > misguided Gentoo folks

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Kay Sievers
On Fri, May 20, 2011 at 13:56, Maciej Piechotka wrote: > # systemctl enable hwclock-load.service > Cannot link /lib64/systemd/system/hwclock-load.service Yikes, please fix that before trying anything else. And please hit the misguided Gentoo folks with a cluebat. :) There is never ever a valid

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Maciej Piechotka
On Fri, 2011-05-20 at 14:22 +0200, Lennart Poettering wrote: > On Fri, 20.05.11 12:56, Maciej Piechotka ([email protected]) wrote: > > > # systemctl enable hwclock-load.service > > Cannot link /lib64/systemd/system/hwclock-load.service > > to /etc/systemd/system/sysinit.target.wants/hwclock-lo

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Lennart Poettering
On Fri, 20.05.11 12:56, Maciej Piechotka ([email protected]) wrote: > # systemctl enable hwclock-load.service > Cannot link /lib64/systemd/system/hwclock-load.service > to /etc/systemd/system/sysinit.target.wants/hwclock-load.service, > symlink exists already and points > to /lib/systemd/syste

Re: [systemd-devel] udev took too long to start

2011-05-20 Thread microcai
于 2011年05月20日 18:39, Lennart Poettering 写道: > On Fri, 20.05.11 17:40, Chen Jie ([email protected]) wrote: > >> 2011/5/19 Chen Jie : >>> 2011/5/18 Kay Sievers : Completely different! That's an Intel Core Duo 1.4 GHz laptop: systemd-analyze blame | grep udev 87ms udev-trigger.se

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

2011-05-20 Thread Alexey Shabalin
2011/5/20 Kay Sievers : > On Fri, May 20, 2011 at 12:40, Lennart Poettering > wrote: >> On Fri, 20.05.11 14:36, Alexey Shabalin ([email protected]) wrote: > >>> IP_TRANSPARENT defined in kernel headers  , not in glibc >>> headers. >> >> Hmm, if IP_TRANSPARENT is missing on your glibc we might

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Maciej Piechotka
On Fri, 2011-05-20 at 12:31 +0200, Lennart Poettering wrote: > On Fri, 20.05.11 11:03, Maciej Piechotka ([email protected]) wrote: > > > Hello. I tried to set up systemd on Gentoo and I've run into several > > problems: > > > > 1. I have custom init in which I initialise lvm by: > > > > /bin

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

2011-05-20 Thread Kay Sievers
On Fri, May 20, 2011 at 12:40, Lennart Poettering wrote: > On Fri, 20.05.11 14:36, Alexey Shabalin ([email protected]) wrote: >> IP_TRANSPARENT defined in kernel headers  , not in glibc headers. > > Hmm, if IP_TRANSPARENT is missing on your glibc we might just add it to > missing.h which is wh

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

2011-05-20 Thread Lennart Poettering
On Fri, 20.05.11 14:36, Alexey Shabalin ([email protected]) wrote: > > 2011/5/20 [email protected] : > > 2011/5/20 [email protected] : > >> Hi Lennart, > >> > >> It seems we need to include in socket-util.c, to make > >> build successful. > >> I've made a patch in attachment. > > Didn't notic

Re: [systemd-devel] udev took too long to start

2011-05-20 Thread Kay Sievers
On Fri, May 20, 2011 at 11:40, Chen Jie wrote: > 2011/5/19 Chen Jie : >> 2011/5/18 Kay Sievers : >>> >>> Completely different! That's an Intel Core Duo 1.4 GHz laptop: >>>  systemd-analyze blame | grep udev >>>  87ms udev-trigger.service >>>  13ms udev.service >> I updated systemd(to v26) and udev

Re: [systemd-devel] udev took too long to start

2011-05-20 Thread Lennart Poettering
On Fri, 20.05.11 17:40, Chen Jie ([email protected]) wrote: > 2011/5/19 Chen Jie : > > 2011/5/18 Kay Sievers : > >> > >> Completely different! That's an Intel Core Duo 1.4 GHz laptop: > >>  systemd-analyze blame | grep udev > >>  87ms udev-trigger.service > >>  13ms udev.service > > I updated syste

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

2011-05-20 Thread Alexey Shabalin
2011/5/20 [email protected] : > 2011/5/20 [email protected] : >> Hi Lennart, >> >> It seems we need to include in socket-util.c, to make >> build successful. >> I've made a patch in attachment. > Didn't notice that is already included in socket-util.h, sorry. IP_TRANSPARENT defined in kernel head

Re: [systemd-devel] Problems with setting up systemd

2011-05-20 Thread Lennart Poettering
On Fri, 20.05.11 11:03, Maciej Piechotka ([email protected]) wrote: > Hello. I tried to set up systemd on Gentoo and I've run into several > problems: > > 1. I have custom init in which I initialise lvm by: > > /bin/lvm vgchange -ay > > In /etc/fstab I have devices mentioned by UUID. Durin

Re: [systemd-devel] udev took too long to start

2011-05-20 Thread microcai
于 2011年05月20日 17:40, Chen Jie 写道: > 2011/5/19 Chen Jie : >> 2011/5/18 Kay Sievers : >>> >>> Completely different! That's an Intel Core Duo 1.4 GHz laptop: >>> systemd-analyze blame | grep udev >>> 87ms udev-trigger.service >>> 13ms udev.service >> I updated systemd(to v26) and udev(to 168), stil

[systemd-devel] Problems with setting up systemd

2011-05-20 Thread Maciej Piechotka
Hello. I tried to set up systemd on Gentoo and I've run into several problems: 1. I have custom init in which I initialise lvm by: /bin/lvm vgchange -ay In /etc/fstab I have devices mentioned by UUID. During boot systemd complains that fsck.ext2 cannot find /dev//root. If I use dracut it works

Re: [systemd-devel] icecream socket activation (help testing)

2011-05-20 Thread Michal Schmidt
On 05/19/2011 06:09 PM, Gustavo Sverzut Barbieri wrote: If you happen to use icecream, give a try to the attached patch to their SVN (svn://anonsvn.kde.org/home/kde/trunk/icecream revision 1232790) You have in daemon/icecream.conf: ICECREAM_CONF="" But in daemon/icecream.service.in you use a

Re: [systemd-devel] icecream socket activation (help testing)

2011-05-20 Thread Stephan Kulow
Am Donnerstag, 19. Mai 2011 schrieb Gustavo Sverzut Barbieri: > > I'd like to know some positive and negative tests before I ask someone > at kde.org to commit it :-) Too late - I'm listening :) Greetings, Stephan ___ systemd-devel mailing list systemd