Re: [systemd-devel] starting/stopping network interfaces with systemd

2011-10-10 Thread Cliff Brake
On Sun, Oct 9, 2011 at 7:52 AM, Mirco Tischler wrote: > 2011/10/9 Cliff Brake : >> On Sat, Oct 8, 2011 at 11:09 AM, Cliff Brake wrote: >> However, it does not work for subsequent NIC insertions.  It appears >> that stop is not getting executed when the device is removed, as >> network@eth0.servic

Re: [systemd-devel] starting/stopping network interfaces with systemd

2011-10-10 Thread Lennart Poettering
On Fri, 07.10.11 17:24, Cliff Brake (cliff.br...@gmail.com) wrote: > Hi, > > I'm trying to customize systemd to start/stop network interfaces in an > embedded system (OpenEmbedded/Angstrom). Angstrom has some support > for systemd and its working fairly well so far. Are there any > examples I c

Re: [systemd-devel] starting/stopping network interfaces with systemd

2011-10-10 Thread Lennart Poettering
On Sat, 08.10.11 00:39, Koen Kooi (k...@beagleboard.org) wrote: > > > Op 7 okt 2011, om 23:24 heeft Cliff Brake het volgende geschreven: > > >Hi, > > > >I'm trying to customize systemd to start/stop network interfaces in an > >embedded system (OpenEmbedded/Angstrom). Angstrom has some support

Re: [systemd-devel] starting/stopping network interfaces with systemd

2011-10-10 Thread Lennart Poettering
On Sat, 08.10.11 11:09, Cliff Brake (cliff.br...@gmail.com) wrote: > ENV{key} Match against a device property value. > > And from systemd documentation: > > systemd.device: SYSTEMD_WANTS= Adds dependencies of type Wants from > this unit to all listed units. This may be used to activate arbitrary

Re: [systemd-devel] starting/stopping network interfaces with systemd

2011-10-10 Thread Lennart Poettering
On Sat, 08.10.11 23:34, Cliff Brake (cliff.br...@gmail.com) wrote: > > On Sat, Oct 8, 2011 at 11:09 AM, Cliff Brake wrote: > >> and a service file like this: > >> > >> cat networl@.service: > >> [Service] > >> Type=oneshot > >> RemainAfterExit=yes > >> ExecStart=/sbin/ifup %i > >> ExecStop=/sbin

Re: [systemd-devel] Fwd: Re: Seeking Advice on debugging failure to reboot

2011-10-10 Thread Lennart Poettering
On Thu, 06.10.11 15:03, Clyde E. Kunkel (clydekunkel7...@cox.net) wrote: > >We have got a bit further along using netconsole to see the kmsg > >after systemd turns off syslog. > > > > > >The obvious difference between a reboot that works and one that > >fails is that I see these lines in the g

Re: [systemd-devel] Seeking Advice on debugging failure to reboot

2011-10-10 Thread Lennart Poettering
On Thu, 06.10.11 15:56, Barry Scott (barry.sc...@onelan.co.uk) wrote: > We can reproducably get an F15 system in a state that it fails to > complete a reboot. > > Becuase all the logging, network and getty's has been stopped all > we can see is the kernel messages on the console. > > What we nee

Re: [systemd-devel] [PATCH 2/2] Fix close() call on wrong variable

2011-10-10 Thread Lennart Poettering
On Wed, 05.10.11 22:31, Thomas Jarosch (thomas.jaro...@intra2net.com) wrote: > Detected by "cppcheck" (actually it detected a file descriptor leak) Thanks! Applied both changes. (after fixing some indentation issues) Lennart -- Lennart Poettering - Red Hat, Inc. ___

Re: [systemd-devel] systemctl and detach in udev RUN

2011-10-10 Thread Lennart Poettering
On Thu, 06.10.11 13:14, Albert Strasheim (full...@gmail.com) wrote: > > Hello > > On Thu, Oct 6, 2011 at 1:05 PM, Kay Sievers wrote: > > On Thu, Oct 6, 2011 at 11:29, Albert Strasheim wrote: > >> On Wed, Oct 5, 2011 at 4:10 PM, Albert Strasheim wrote: > >>> Hello all > >>> I have the followin

Re: [systemd-devel] F15: PathExistsGlob

2011-10-10 Thread Lennart Poettering
On Tue, 04.10.11 14:22, Reindl Harald (h.rei...@thelounge.net) wrote: > Hi > > would it be possible to backport "PathExistsGlob" for F15 > https://bugzilla.redhat.com/show_bug.cgi?id=734435 > > this means we can not make a backport-rebuild for F15 without > reverting this patch currently :-( I

Re: [systemd-devel] [PATCH 2/2] .include directive does not include as textual include it includes by parsing the include file.

2011-10-10 Thread Lennart Poettering
On Mon, 03.10.11 11:50, Barry Scott (barry.sc...@onelan.co.uk) wrote: > This means that section headers must be used inside of > a .include file otherwise all the lines are ignored. Thanks! applied both with some changes (i.e. changed "env var" to "environment variable"). Lennart -- Lennart Po

Re: [systemd-devel] [PATCH] docs: fix build without xsltproc

2011-10-10 Thread Lennart Poettering
On Sun, 02.10.11 20:07, Koen Kooi (k...@dominion.thruhere.net) wrote: > Make would choke on missing rules for man/systemd.1 Hmm, I think this is a misunderstanding: The original idea here was to require xsltproc when you build from git, but ship the pre-generated man pages in the tarball so that

Re: [systemd-devel] [PATCH] readahead: read /usr files last for rotational media, skip /var

2011-10-10 Thread Lennart Poettering
On Fri, 30.09.11 11:54, Paolo Bonzini (bonz...@gnu.org) wrote: > When enabling readahead on my system (which has a 5400rpm hard drive) > "systemd-analyze blame" output is like this: > > 19507ms udev.service > 18336ms fedora-storage-init.service > 13254ms var-lock.mount > 12960ms v

Re: [systemd-devel] [PATCH] docs: fix build without xsltproc

2011-10-10 Thread Kay Sievers
On Tue, Oct 11, 2011 at 01:17, Lennart Poettering wrote: > On Sun, 02.10.11 20:07, Koen Kooi (k...@dominion.thruhere.net) wrote: > >> Make would choke on missing rules for man/systemd.1 > > Hmm, I think this is a misunderstanding: > > The original idea here was to require xsltproc when you build f

Re: [systemd-devel] [PATCH] readahead: read /usr files last for rotational media, skip /var

2011-10-10 Thread Lennart Poettering
On Fri, 30.09.11 16:26, Paolo Bonzini (bonz...@gnu.org) wrote: > > On 09/30/2011 03:39 PM, Kay Sievers wrote: > >Sure. I just think that this is not what we really want in the end. > > That I agree with, but good is the enemy of perfect... Here's my recommendation how to achieve the same effect

Re: [systemd-devel] [PATCH] docs: fix build without xsltproc

2011-10-10 Thread Lennart Poettering
On Tue, 11.10.11 01:36, Kay Sievers (kay.siev...@vrfy.org) wrote: > > On Tue, Oct 11, 2011 at 01:17, Lennart Poettering > wrote: > > On Sun, 02.10.11 20:07, Koen Kooi (k...@dominion.thruhere.net) wrote: > > > >> Make would choke on missing rules for man/systemd.1 > > > > Hmm, I think this is a m

Re: [systemd-devel] [PATCH] readahead: read /usr files last for rotational media, skip /var

2011-10-10 Thread Lennart Poettering
On Fri, 30.09.11 16:52, Tom Gundersen (t...@jklm.no) wrote: > > On Fri, Sep 30, 2011 at 4:26 PM, Paolo Bonzini wrote: > > On 09/30/2011 03:39 PM, Kay Sievers wrote: > >> > >> Sure. I just think that this is not what we really want in the end. > > > > That I agree with, but good is the enemy of p

Re: [systemd-devel] [PATCH] readahead: read /usr files last for rotational media, skip /var

2011-10-10 Thread Lennart Poettering
On Mon, 03.10.11 13:06, Stephan Kulow (co...@suse.de) wrote: > > Am Freitag, 30. September 2011, 16:52:01 schrieb Tom Gundersen: > > On Fri, Sep 30, 2011 at 4:26 PM, Paolo Bonzini wrote: > > > On 09/30/2011 03:39 PM, Kay Sievers wrote: > > >> Sure. I just think that this is not what we really wa

Re: [systemd-devel] [PATCH] readahead: read /usr files last for rotational media, skip /var

2011-10-10 Thread Lennart Poettering
On Fri, 30.09.11 20:56, c...@endlessnow.com (c...@endlessnow.com) wrote: > The idea that separate / from /usr is archaic or wrong is > incorrect. Just saying... Think about it for a bit... Because if you > still believe that to be true...then it is /usr that must go away. The thing one cannot und

Re: [systemd-devel] systemd equivalent of chkconfig --list | grep '3:on'

2011-10-10 Thread Lennart Poettering
On Fri, 30.09.11 09:07, Nick Urbanik (ni...@nicku.org) wrote: > > Dear Folks, > On 29/09/11 21:21 +1000, Nick Urbanik wrote: > >Dear Michal, > > > >Thank you for your helpful response. > > > >On 29/09/11 12:19 +0200, Michal Schmidt wrote: > >>Since ssh login works, you can get some debug informat

Re: [systemd-devel] [PATCH] docs: fix build without xsltproc

2011-10-10 Thread Kay Sievers
On Tue, Oct 11, 2011 at 01:59, Lennart Poettering wrote: > On Tue, 11.10.11 01:36, Kay Sievers (kay.siev...@vrfy.org) wrote: > Fix xsltproc? Hmm? What do you mean? What should it to differently? I > mean, if it isn't installed it can't do anything differently, can it? It's kinda broken when run

Re: [systemd-devel] systemd hangs on shutdown

2011-10-10 Thread Lennart Poettering
On Thu, 29.09.11 14:29, Daniel Drake (d...@laptop.org) wrote: > sysrq-T (show task state) shows the following userspace processes running: > systemd, udevd (several threads/instances), systemd-stdout-, > systemd-kmsg-sy, plymouthd. (they are all epolling stuff) > > Can you confirm that at this po

Re: [systemd-devel] [PATCH] hostname-setup: Frugalware switched to /etc/hostname

2011-10-10 Thread Lennart Poettering
On Tue, 27.09.11 20:51, Miklos Vajna (vmik...@frugalware.org) wrote: > Hi, > > See the attached patch, one less compat define. :) Awesome. Thanks a ton. Applied. I wished I could do similar patches for Fedora, too... Lennart -- Lennart Poettering - Red Hat, Inc. _

Re: [systemd-devel] [PATCH] sd-login.h: correct spelling mistakes in comments

2011-10-10 Thread Lennart Poettering
On Mon, 26.09.11 09:25, Dave Reisner (d...@falconindy.com) wrote: Thanks a lot. Applied! > --- > src/sd-login.h |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/sd-login.h b/src/sd-login.h > index 7102eb8..0cb0bf0 100644 > --- a/src/sd-login.h > +++ b/src/sd-

Re: [systemd-devel] [PATCH] man: document list-unit-files

2011-10-10 Thread Lennart Poettering
On Sat, 24.09.11 12:04, Ran Benita (ran...@gmail.com) wrote: > It's documented in the --help, but not in the manpage. Thanks. Applied! > --- > man/systemctl.xml |7 +++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/man/systemctl.xml b/man/systemctl.xml > index 468

Re: [systemd-devel] [PATCH] Reword the polish translation a bit

2011-10-10 Thread Lennart Poettering
On Tue, 20.09.11 09:09, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > s/siedzenie/stanowisko/: they both translate to seat in English, but > 'stanowisko' > is a place where you work, while 'siedzenie' is like a chair. > > s/podłączanie/podłączenie/: we are doing it now, now sometime i

[systemd-devel] Question about plymouth-quit.service

2011-10-10 Thread cee1
Hi all, It seems plymouth-quit.service hasn't ever been activated on my Fedora15: systemctl status plymouth-quit.service plymouth-quit.service - Terminate Plymouth Boot Screen Loaded: loaded (/lib/systemd/system/plymouth-quit.service) Active: inactive (dead) CGroup: name=systemd:/system/plym

Re: [systemd-devel] Question about plymouth-quit.service

2011-10-10 Thread Lennart Poettering
On Tue, 11.10.11 10:35, cee1 (fykc...@gmail.com) wrote: > Hi all, > > It seems plymouth-quit.service hasn't ever been activated on my Fedora15: > systemctl status plymouth-quit.service > plymouth-quit.service - Terminate Plymouth Boot Screen > Loaded: loaded (/lib/systemd/system/plymouth-quit.s

Re: [systemd-devel] [PATCH] readahead: read /usr files last for rotational media, skip /var

2011-10-10 Thread c...@endlessnow.com
You are thinking of a scenario that you believe is the most important... Nothing wrong, just saying your making some general assumptions. - Reply message - From: "Lennart Poettering" To: "c...@endlessnow.com" Cc: Subject: [systemd-devel] [PATCH] readahead: read /usr files last for ro

Re: [systemd-devel] [PATCH] readahead: read /usr files last for rotational media, skip /var

2011-10-10 Thread Paolo Bonzini
On 10/11/2011 02:07 AM, Lennart Poettering wrote: Any such logic in splitting the boot phase into two phases for read ahead is very arbitrary I'd claim. Why just two phases, and why precisely place the delimiter of the two phases at basic.target? Because udev.service, network.target and local-f