Re: [systemd-devel] Upstream service file for NTP daemon chrony

2012-07-02 Thread David Strauss
On Mon, Jul 2, 2012 at 4:20 PM, Paul Menzel wrote: >> "Before=, After= >> Configures ordering dependencies between units. If a unit foo.service >> contains a setting Before=bar.service and both units are being >> started, bar.service's start-up is delayed until foo.service is >> started up. > > So

Re: [systemd-devel] Upstream service file for NTP daemon chrony

2012-07-02 Thread David Strauss
On Mon, Jul 2, 2012 at 3:44 PM, Paul Menzel wrote: >> > daemon actually finds a NTP server. >> >> Also, is this necessary? Can't chronyd just fail to sync NTP until it >> works? There's value to an NTP daemon running even if it lacks >> upstream sync sources for a while. > > Which? But it might be

Re: [systemd-devel] systemd numbers for Debian Sid/unstable system

2012-07-02 Thread Michael Biebl
2012/7/3 Lennart Poettering : > On Sat, 30.06.12 13:47, Paul Menzel (paulepan...@users.sourceforge.net) wrote: > >> >> Well, no. Debian still ships an init.d script which reads >> `/etc/default/pulseaudio` and there system mode is disabled by default. >> So I masked this one too. >> >> $ sudo

Re: [systemd-devel] [PATCH 1/3] ignore ENOENT from can_install in listing unit files

2012-07-02 Thread Dave Reisner
On Tue, Jul 03, 2012 at 02:24:57AM +0200, Lennart Poettering wrote: > On Sun, 01.07.12 19:37, Dave Reisner (dreis...@archlinux.org) wrote: > > > A broken .include link in a unit file will cause 'systemctl > > list-unit-files' to simply return 'No such file or directory'. Ignore > > this silly erro

[systemd-devel] kernel failing to boot

2012-07-02 Thread Nathan
Hello, I am experimenting with systemd on redhat 6. I have built 2 custom kernels: 1. one is essentially a desktop kernel (essentially a fedora kernel) 2. one is a stripped down kernel with many things removed. on a normal redhat 6 box both of these kernels work without issue. on my test s

Re: [systemd-devel] systemd numbers for Debian Sid/unstable system

2012-07-02 Thread Lennart Poettering
On Sat, 30.06.12 13:47, Paul Menzel (paulepan...@users.sourceforge.net) wrote: > > >509ms vdr.service > > >487ms sysfsutils.service > > > > What is this? This stuff sounds like something that can just go away... > > I was surprised too. It looks like this was installed by > `grml-deboots

Re: [systemd-devel] [PATCH 1/3] ignore ENOENT from can_install in listing unit files

2012-07-02 Thread Lennart Poettering
On Sun, 01.07.12 19:37, Dave Reisner (dreis...@archlinux.org) wrote: > A broken .include link in a unit file will cause 'systemctl > list-unit-files' to simply return 'No such file or directory'. Ignore > this silly error, since we know that the file really does exist. Hmm, I figure we should at

Re: [systemd-devel] Upstream service file for NTP daemon chrony

2012-07-02 Thread Kay Sievers
On Tue, Jul 3, 2012 at 1:20 AM, Paul Menzel wrote: > Am Dienstag, den 03.07.2012, 00:55 +0200 schrieb Kay Sievers: >> On Tue, Jul 3, 2012 at 12:44 AM, Paul Menzel wrote: >> >> I'm also generally skeptical of After= without a corresponding >> >> Requires= entry because it only affects the ordering

Re: [systemd-devel] Hosting a sprint in SF?

2012-07-02 Thread Kok, Auke-jan H
On Mon, Jul 2, 2012 at 2:05 PM, David Strauss wrote: > On Mon, Jul 2, 2012 at 2:01 PM, Kok, Auke-jan H > wrote: >> that was without /var/log/journal existing, so, all in-memory. > > Wow, that's an awful lot of CPU time in that case. Has anyone looked > into this? I'd like someone to start a dive

Re: [systemd-devel] Upstream service file for NTP daemon chrony

2012-07-02 Thread Paul Menzel
Am Dienstag, den 03.07.2012, 00:55 +0200 schrieb Kay Sievers: > On Tue, Jul 3, 2012 at 12:44 AM, Paul Menzel wrote: > >> I'm also generally skeptical of After= without a corresponding > >> Requires= entry because it only affects the ordering if the other unit > >> is already present in the working

Re: [systemd-devel] Upstream service file for NTP daemon chrony

2012-07-02 Thread Kay Sievers
On Tue, Jul 3, 2012 at 12:44 AM, Paul Menzel wrote: >> I'm also generally skeptical of After= without a corresponding >> Requires= entry because it only affects the ordering if the other unit >> is already present in the working set of services then being started. > > I did not get that. The manua

Re: [systemd-devel] Upstream service file for NTP daemon chrony

2012-07-02 Thread Paul Menzel
Am Montag, den 02.07.2012, 13:04 -0700 schrieb David Strauss: > On Fri, Jun 29, 2012 at 4:00 PM, Paul Menzel wrote: > > Additionally `After=nss-lockup.target` should be set, so that the NTP Ah, nice typo I got here: s/lockup/lookup/. > > daemon actually finds a NTP server. > > Also, is this nece

Re: [systemd-devel] [PATCH] units: Rename systemd-udev.service to systemd-udevd.service

2012-07-02 Thread Lennart Poettering
On Sat, 30.06.12 16:33, Colin Guthrie (co...@mageia.org) wrote: > This naming convention is more inline with other systemd daemon > unit names (systemd-logind.service, systemd-localed.service etc) > > The companion .socket units have also been renamed, however the > -trigger and -settle units kee

Re: [systemd-devel] Hosting a sprint in SF?

2012-07-02 Thread David Strauss
On Mon, Jul 2, 2012 at 2:01 PM, Kok, Auke-jan H wrote: > that was without /var/log/journal existing, so, all in-memory. Wow, that's an awful lot of CPU time in that case. Has anyone looked into this? I'd like someone to start a dive to uncover such issues in detail well before hosting a sprint. I

Re: [systemd-devel] Hosting a sprint in SF?

2012-07-02 Thread Kok, Auke-jan H
On Mon, Jul 2, 2012 at 12:55 PM, David Strauss wrote: > On Fri, Jun 29, 2012 at 2:23 PM, Kok, Auke-jan H > wrote: >> I'm somewhat concerned about the large amount of CPU utilization >> that I've seen with the journal, so, I'd consider putting some time >> into optimizing the journal internal code

Re: [systemd-devel] Upstream service file for NTP daemon chrony

2012-07-02 Thread David Strauss
On Fri, Jun 29, 2012 at 4:00 PM, Paul Menzel wrote: > Additionally `After=nss-lockup.target` should be set, so that the NTP > daemon actually finds a NTP server. Also, is this necessary? Can't chronyd just fail to sync NTP until it works? There's value to an NTP daemon running even if it lacks up

Re: [systemd-devel] Upstream service file for NTP daemon chrony

2012-07-02 Thread David Strauss
On Fri, Jun 29, 2012 at 4:00 PM, Paul Menzel wrote: > So does the last service file look reasonable and should be used for > upstream inclusion? The After=syslog.target part is probably unnecessary given how systemd handles buffering the syslog socket. -- David Strauss | da...@davidstrauss.n

Re: [systemd-devel] Hosting a sprint in SF?

2012-07-02 Thread David Strauss
On Fri, Jun 29, 2012 at 2:23 PM, Kok, Auke-jan H wrote: > I'm somewhat concerned about the large amount of CPU utilization > that I've seen with the journal, so, I'd consider putting some time > into optimizing the journal internal code. > > The concern was that on one of our systems we had a larg

Re: [systemd-devel] [PATCH 2/4] mageia: Correct usage of M4_DEFINES vs. M4_DISTRO_FLAG.

2012-07-02 Thread Lennart Poettering
On Mon, 02.07.12 09:15, Colin Guthrie (co...@mageia.org) wrote: > This seems to have been a problem since mageia support was merged, > as upstream had changed how this bit worked without us realising. > --- > configure.ac | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/c

Re: [systemd-devel] [PATCH 3/4] udev: Allow the 'udevadm settle' timeout to be set via the kernel cmdline

2012-07-02 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 02/07/12 09:48 did gyre and gimble: > On Mon, 02.07.12 09:15, Colin Guthrie (co...@mageia.org) wrote: > >> On some really old hardware, the default timeout of 120 (which may even >> be reduced further on the command line) is insufficient. >> >> While such c

Re: [systemd-devel] [PATCH 3/4] udev: Allow the 'udevadm settle' timeout to be set via the kernel cmdline

2012-07-02 Thread Lennart Poettering
On Mon, 02.07.12 09:15, Colin Guthrie (co...@mageia.org) wrote: > On some really old hardware, the default timeout of 120 (which may even > be reduced further on the command line) is insufficient. > > While such cases are specialist and (nowadays) relatively rare, it is > still nice to be able to

[systemd-devel] [PATCH 4/4] mount: Add a new remote-fs* target to delay logins until home dirs are available

2012-07-02 Thread Colin Guthrie
Previously, systemd-user-sessions.service started after remote-fs.target. If the user had any NFS mounts defined, this prevented logins until these were processed. If the user was using NFS for their home directories, this configuration makes sense, but equally, the user may have remote mounts def

[systemd-devel] [PATCH 3/4] udev: Allow the 'udevadm settle' timeout to be set via the kernel cmdline

2012-07-02 Thread Colin Guthrie
On some really old hardware, the default timeout of 120 (which may even be reduced further on the command line) is insufficient. While such cases are specialist and (nowadays) relatively rare, it is still nice to be able to provide a method to increase the timeout when needed. Bug Link: https://b

[systemd-devel] Various patches from Mageia (2x Distro specific, 2x Generic)

2012-07-02 Thread Colin Guthrie
Hiya, Just some patches I've been carrying downstream for a while now. Would be nice to get them upstreamed. The first two are distro specific so nothing too crazy there. The third is a udev patch that was discussed with Kay a while back, but I forgot to upstream it prior to the udev merge. Here

[systemd-devel] [PATCH 2/4] mageia: Correct usage of M4_DEFINES vs. M4_DISTRO_FLAG.

2012-07-02 Thread Colin Guthrie
This seems to have been a problem since mageia support was merged, as upstream had changed how this bit worked without us realising. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e0a2526..5f0b225 100644 --- a/configure.ac +++

[systemd-devel] [PATCH 1/4] mageia: Change the unit for prefdm.service to make it work a bit more like Fedora

2012-07-02 Thread Colin Guthrie
Do not wait for some of the Fedora units that we have traditionally not waited for in Mageia or Mandriva before it. --- units/mageia/prefdm.service | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/units/mageia/prefdm.service b/units/mageia/prefdm.service index c8