Re: [systemd-devel] Running packagekitd on shutdown

2011-08-23 Thread Lennart Poettering
On Wed, 24.08.11 02:04, Lennart Poettering (lenn...@poettering.net) wrote: > However, there are a couple of caveats: since the generators are called > very very early at boot /var might not be around yet. So maybe the > upgrade packs should be placed somewhere in the rootfs (or in /boot? > that mi

Re: [systemd-devel] [PATCH] Remove X11 lock files for displays :10 and higher too

2011-08-23 Thread Lennart Poettering
On Sat, 06.08.11 15:56, Josh Triplett (j...@joshtriplett.org) wrote: > Using .X[0-9]*-lock seems safe to me, but if you prefer I can write > separate lines for [0-9], [0-9][0-9], and [0-9][0-9][0-9]. Now if only > tmpfiles.d could do regexes or extglob rather than just shell-style > globs. :) Th

Re: [systemd-devel] [PATCH] Sort the entries in systemd.special(7)

2011-08-23 Thread Lennart Poettering
On Sat, 06.08.11 16:04, Josh Triplett (j...@joshtriplett.org) wrote: > This manpage presents the special targets in alphabetical order, but > time-sync.target appeared in the wrong place. Thanks. Applied. Lennart -- Lennart Poettering - Red Hat, Inc. ___

Re: [systemd-devel] PATCH: fix kexec support when using /dev/initctl

2011-08-23 Thread Lennart Poettering
On Mon, 22.08.11 16:19, Frederic Crozat (fcro...@suse.com) wrote: > Hi, > > when the various sysvinit compat symlink are not installed, calling > kexec /boot/vmlinuz doesn't kexec the system because > systemd-initctl doesn't check /sys/kernel/kexec_loaded value (unlike > when using systemctl

Re: [systemd-devel] [PATCH] one less #ifdef TARGET

2011-08-23 Thread Lennart Poettering
On Wed, 24.08.11 01:49, Miklos Vajna (vmik...@frugalware.org) wrote: > Hi, > > See the attached patch, we just got rid of rcS.d on Frugalware. > > Thanks. Thanks a lot! Applied. Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel mailin

Re: [systemd-devel] Running packagekitd on shutdown

2011-08-23 Thread Lennart Poettering
On Tue, 23.08.11 16:18, Richard Hughes (hughsi...@gmail.com) wrote: > Hello list, hello again Lennart, Heya, (just a couple of ideas I already uttered on IRC, just for the sake of archiving and in case other folks are interested too..) > > I'm trying to make the update experience in GNOME 3.2 m

[systemd-devel] [PATCH] one less #ifdef TARGET

2011-08-23 Thread Miklos Vajna
Hi, See the attached patch, we just got rid of rcS.d on Frugalware. Thanks. From 8f02fbe373061796c2e369c0ac34f917f09e61d2 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 24 Aug 2011 01:40:42 +0200 Subject: [PATCH] service: all rcS.d scripts have been converted on Frugalware --- src/serv

Re: [systemd-devel] /sys/subsystem device dependency not working

2011-08-23 Thread Lennart Poettering
On Fri, 19.08.11 16:48, Albert Strasheim (full...@gmail.com) wrote: > it does a goto fail at this point: > > 151 if ((r = hashmap_put(u->meta.manager->units, s, u)) < 0) { > (gdb) n > 152 set_remove(u->meta.names, s); > (gdb) n > 153 goto fail; > > where s = strdup(text), and text contains the a

Re: [systemd-devel] /sys/subsystem device dependency not working

2011-08-23 Thread Lennart Poettering
On Thu, 18.08.11 22:03, Albert Strasheim (full...@gmail.com) wrote: > Hello all > > I am trying to use systemd-26 to configure a network device. > > I've decided to try this instead of the standard Fedora init scripts > because I want the network configuration to depend on a kernel command > lin

Re: [systemd-devel] getting the fedora 13 systemd qemu image

2011-08-23 Thread Lennart Poettering
On Thu, 18.08.11 08:13, Leisner, Martin (martin.leis...@xerox.com) wrote: Heya, > I want to use an out of date image -- I'm looking to port to 2.6.34... > (I even had to start patching the kernel to give me /sys/fs/cgroup -- I don't > have the hierarchy under that yet). > > I'm building systemd

Re: [systemd-devel] Unit failed to load: Cannot allocate memory.

2011-08-23 Thread Lennart Poettering
On Sat, 20.08.11 20:25, Mike Kazantsev (mk.frag...@gmail.com) wrote: > > Reexec reacts on these units right before "Deserializing state..." msg, > > with the same messages. > > I'll check whether they go away on reexec to 32 and reappear in 33, and > > if that's the case, will have results shortly

Re: [systemd-devel] Unit failed to load: Cannot allocate memory.

2011-08-23 Thread Lennart Poettering
On Sat, 20.08.11 15:21, Mike Kazantsev (mk.frag...@gmail.com) wrote: > On Thu, 18 Aug 2011 16:20:20 +0200 > Lennart Poettering wrote: > > > On Tue, 09.08.11 07:02, Mike Kazantsev (mk.frag...@gmail.com) wrote: > > > > > Good day, > > > > > > Updating to systemd-33 (with "include missing.h" patc

Re: [systemd-devel] generators and service symlink

2011-08-23 Thread Tom Gundersen
[sorry, forgot to reply to all] On Tue, Aug 23, 2011 at 5:56 PM, Lennart Poettering wrote: > Generators are executed very very early, and can only access data from > the root fs, not even /usr. Hm, why not? I thought booting with an empty /usr is not supported, so what is the issue? > Hence wri

Re: [systemd-devel] SYSTEMD_WANTS and oneshot services

2011-08-23 Thread Lennart Poettering
On Sun, 21.08.11 14:01, Albert Strasheim (full...@gmail.com) wrote: > Is there a way to always get this behavior? I'd like my network > interfaces to be brought up regardless of how and when their modules > are loaded. Hmm, can you run "systemctl status " on the service before you reload the

Re: [systemd-devel] generators and service symlink

2011-08-23 Thread Lennart Poettering
On Mon, 22.08.11 17:52, Frederic Crozat (fcro...@suse.com) wrote: > Hi, > > I'm testing a systemd-generator to create default.target symlink, > depending on /etc/inittab content. > > Generator is working fine, creating symlink in /run/systemd/generator > but systemd isn't noticing the file (it i

Re: [systemd-devel] Cut down mount time of swap?

2011-08-23 Thread Lennart Poettering
On Sun, 21.08.11 10:54, Claes Gyllenswärd (lethar...@gmail.com) wrote: > My system generally starts really fast, but I have a single blame > entry larger than all the others together, and it's the swap mount. Well, this might not be the swap by itself, but simply the swap being activated in paral

Re: [systemd-devel] Question about nspawn.c

2011-08-23 Thread Lennart Poettering
On Mon, 22.08.11 16:15, Stef Bon (stef...@gmail.com) wrote: > Why the combination MS_BIND | MS_MOVE here?? > A move is a little bit confucing, since a move of the root, while the > subirectories are already mounted. > It looks more a bit to make the new namespace consistent or something like > th

Re: [systemd-devel] what dependencies does systemd itself have on underlying system?

2011-08-23 Thread Lennart Poettering
On Mon, 22.08.11 17:29, John Lumby (johnlu...@hotmail.com) wrote: > > Mike Kazantsev wrote: > > > > Some stuff is listed in the README file (REQUIREMENTS and WARNINGS > > sections), but it doesn't really covers all possible misconfigurations, > > of course. > > > > To figure out what exactly goes

[systemd-devel] Running packagekitd on shutdown

2011-08-23 Thread Richard Hughes
Hello list, hello again Lennart, I'm trying to make the update experience in GNOME 3.2 much better; at the moment updating core services and libraries whilst everything is running is quite unpredictable and we really just want to update stuff like systemd, dbus and libc in shutdown when the system

Re: [systemd-devel] what dependencies does systemd itself have on underlying system?

2011-08-23 Thread John Lumby
Mike Kazantsev wrote: > > Some stuff is listed in the README file (REQUIREMENTS and WARNINGS > sections), but it doesn't really covers all possible misconfigurations, > of course. > > To figure out what exactly goes wrong, I think it might help to disable > pymouth, remove "quiet" from kernel cmdl