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-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 my_vg In /etc/fstab I have devices mentioned by UUID. During boot systemd complains that fsck.ext2 cannot find /dev/my_vg/root. If I use

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 ch...@lemote.com: 2011/5/18 Kay Sievers kay.siev...@vrfy.org: 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

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

2011-05-20 Thread Lennart Poettering
On Fri, 20.05.11 11:03, Maciej Piechotka (uzytkown...@gmail.com) 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 my_vg In /etc/fstab I have devices mentioned by UUID. During

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

2011-05-20 Thread Alexey Shabalin
2011/5/20 fykc...@gmail.com fykc...@gmail.com: 2011/5/20 fykc...@gmail.com fykc...@gmail.com: Hi Lennart, It seems we need to include netinet/in.h 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.

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

2011-05-20 Thread Lennart Poettering
On Fri, 20.05.11 17:40, Chen Jie (ch...@lemote.com) wrote: 2011/5/19 Chen Jie ch...@lemote.com: 2011/5/18 Kay Sievers kay.siev...@vrfy.org: Completely different! That's an Intel Core Duo 1.4 GHz laptop:  systemd-analyze blame | grep udev  87ms udev-trigger.service  13ms udev.service

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 ch...@lemote.com wrote: 2011/5/19 Chen Jie ch...@lemote.com: 2011/5/18 Kay Sievers kay.siev...@vrfy.org: 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

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

2011-05-20 Thread Lennart Poettering
On Fri, 20.05.11 14:36, Alexey Shabalin (a.shaba...@gmail.com) wrote: 2011/5/20 fykc...@gmail.com fykc...@gmail.com: 2011/5/20 fykc...@gmail.com fykc...@gmail.com: Hi Lennart, It seems we need to include netinet/in.h in socket-util.c, to make build successful. I've made a patch in

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

2011-05-20 Thread Kay Sievers
On Fri, May 20, 2011 at 12:40, Lennart Poettering lenn...@poettering.net wrote: On Fri, 20.05.11 14:36, Alexey Shabalin (a.shaba...@gmail.com) wrote: IP_TRANSPARENT defined in kernel headers  linux/in.h, not in glibc headers. Hmm, if IP_TRANSPARENT is missing on your glibc we might just add

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 (uzytkown...@gmail.com) 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

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

2011-05-20 Thread Alexey Shabalin
2011/5/20 Kay Sievers kay.siev...@vrfy.org: On Fri, May 20, 2011 at 12:40, Lennart Poettering lenn...@poettering.net wrote: On Fri, 20.05.11 14:36, Alexey Shabalin (a.shaba...@gmail.com) wrote: IP_TRANSPARENT defined in kernel headers  linux/in.h, not in glibc headers. Hmm, if

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 (ch...@lemote.com) wrote: 2011/5/19 Chen Jie ch...@lemote.com: 2011/5/18 Kay Sievers kay.siev...@vrfy.org: Completely different! That's an Intel Core Duo 1.4 GHz laptop: systemd-analyze blame | grep udev 87ms

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

2011-05-20 Thread Lennart Poettering
On Fri, 20.05.11 12:56, Maciej Piechotka (uzytkown...@gmail.com) 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

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

2011-05-20 Thread Kay Sievers
On Fri, May 20, 2011 at 13:56, Maciej Piechotka uzytkown...@gmail.com 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

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 kay.siev...@vrfy.org wrote: On Fri, May 20, 2011 at 13:56, Maciej Piechotka uzytkown...@gmail.com wrote: # systemctl enable hwclock-load.service Cannot link /lib64/systemd/system/hwclock-load.service Yikes, please fix that before trying

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 uzytkown...@gmail.com wrote: On Fri, 2011-05-20 at 14:22 +0200, Lennart Poettering wrote: On Fri, 20.05.11 12:56, Maciej Piechotka (uzytkown...@gmail.com) wrote: # systemctl enable hwclock-load.service Cannot link

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 co...@suse.de 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

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 mschm...@redhat.com 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

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

2011-05-20 Thread Kay Sievers
On Fri, May 20, 2011 at 07:19, microcai micro...@fedoraproject.org wrote: 于 2011年05月20日 21:15, Kay Sievers 写道: On Fri, May 20, 2011 at 13:56, Maciej Piechotka uzytkown...@gmail.com wrote: # systemctl enable hwclock-load.service Cannot link /lib64/systemd/system/hwclock-load.service Yikes,

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 barbi...@profusion.mobi wrote: On Fri, May 20, 2011 at 10:15 AM, Kay Sievers kay.siev...@vrfy.org wrote: On Fri, May 20, 2011 at 13:56, Maciej Piechotka uzytkown...@gmail.com wrote: # systemctl enable hwclock-load.service Cannot

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 barbi...@profusion.mobi wrote: On Fri, May 20, 2011 at 10:15 AM, Kay Sievers kay.siev...@vrfy.org wrote: On Fri, May 20, 2011 at 13:56, Maciej Piechotka uzytkown...@gmail.com wrote: # systemctl

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 kay.siev...@vrfy.org wrote: On Fri, May 20, 2011 at 15:34, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: On Fri, May 20, 2011 at 10:15 AM, Kay Sievers kay.siev...@vrfy.org wrote: On Fri, May 20, 2011 at 13:56, Maciej Piechotka

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 barbi...@profusion.mobi 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

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 lenn...@poettering.net wrote: On Fri, 20.05.11 11:03, Maciej Piechotka (uzytkown...@gmail.com) wrote: 1. I have custom init in which I initialise lvm by: /bin/lvm vgchange -ay my_vg You need to ensure to place this service file after

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 systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

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 (ch...@lemote.com) wrote: 2011/5/19 Chen Jie ch...@lemote.com: 2011/5/18 Kay Sievers kay.siev...@vrfy.org: Completely different! That's an Intel Core Duo 1.4 GHz laptop:

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

2011-05-20 Thread Kay Sievers
On Fri, May 20, 2011 at 17:32, microcai micro...@fedoraproject.org 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

[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

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, microcaimicro...@fedoraproject.org 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

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, microcaimicro...@fedoraproject.org wrote: Now I've full relized that, the problem is fsck-root.service. udev.service stay idle as soon as

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 a.shaba...@gmail.com 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.

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 uzytkown...@gmail.com wrote: ... Ok - I won't. The file is: 0.00 1305883630 0.00 1305883630 UTC I guess every Gentoo user that moved to systemd

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 hsggebha...@googlemail.com 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 uzytkown...@gmail.com wrote: ... Ok - I won't. The file is: 0.00

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 hsggebha...@googlemail.com 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