Re: [systemd-devel] how to let systemd mount /run very early?

2011-07-21 Thread yang . y . yi
The below is i see in Fedora 15: [root@yangyi-dev2 /]# cat /etc/*-release Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) Fedora release 15 (Lovelock) [root@yangyi-dev2 /]# rpm -qf /var/run/ abrt/ cups/ gdm/lock/ netreport/ openvpn/ppp/

Re: [systemd-devel] [PATCH] src/shutdown.c: initialize the controlling terminal

2011-07-21 Thread Lennart Poettering
On Tue, 19.07.11 12:47, har...@redhat.com (har...@redhat.com) wrote: > From: Harald Hoyer > > Thanks Kay Sievers! Applied both patches. Thanks! (Sorry for the delay) Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel mailing list syst

Re: [systemd-devel] shutdown pivot to /run/initramfs

2011-07-21 Thread Lennart Poettering
On Fri, 22.07.11 01:56, Tom Gundersen (t...@jklm.no) wrote: > Hi guys, > > I'm playing around with the new shutdown pivot mechanism (using v30), > and trying to make it work without using dracut (as Arch has its own > initramfs implementation). I ran across a problem related to > pivot_to_new_roo

[systemd-devel] shutdown pivot to /run/initramfs

2011-07-21 Thread Tom Gundersen
Hi guys, I'm playing around with the new shutdown pivot mechanism (using v30), and trying to make it work without using dracut (as Arch has its own initramfs implementation). I ran across a problem related to pivot_to_new_root(), and wondered if anyone could point me in the right direction. A min

Re: [systemd-devel] [PATCH] fix bogus boot error message

2011-07-21 Thread Kay Sievers
On Tue, Jul 19, 2011 at 21:13, Kay Sievers wrote: > On Tue, Jul 19, 2011 at 15:37, Kelly Anderson > wrote: > >> Here's a patch that should have the desired results: > >> -                                log_error("Failed to apply local time >> delta: %s", strerror(-min)); > > The patch can not be

Re: [systemd-devel] yum-updateonboot with Systemd

2011-07-21 Thread Matthew Miller
On Thu, Jul 21, 2011 at 06:06:38PM +0200, Lennart Poettering wrote: > > still exist -- we just got go-ahead for a rather expensive one). There, > > the network connectivity is pretty much a given and if the network > > properties change it's either a big problem or else something we've > > planned

Re: [systemd-devel] yum-updateonboot with Systemd

2011-07-21 Thread Lennart Poettering
On Thu, 21.07.11 11:28, Matthew Miller (mat...@mattdm.org) wrote: > > On Wed, Jul 20, 2011 at 08:46:00PM +0200, Lennart Poettering wrote: > > However, I don't think something like you suggest is feasible. In a > > modern environment network connectivity is dynamic: it comes and goes > > and comes

Re: [systemd-devel] yum-updateonboot with Systemd

2011-07-21 Thread Matthew Miller
On Thu, Jul 21, 2011 at 09:30:27AM +, "Jóhann B. Guðmundsson" wrote: > This sounds backwards to me why arent you doing the updates before shutdown > instead so for example you would boot into a new kernel. The pathological case is a system which has been shut off for the summer. When it comes

Re: [systemd-devel] yum-updateonboot with Systemd

2011-07-21 Thread Matthew Miller
On Wed, Jul 20, 2011 at 08:46:00PM +0200, Lennart Poettering wrote: > However, I don't think something like you suggest is feasible. In a > modern environment network connectivity is dynamic: it comes and goes > and comes and goes, and its's properties change. A robust system should That's definit

Re: [systemd-devel] how to let systemd mount /run very early?

2011-07-21 Thread Kay Sievers
On Thu, Jul 21, 2011 at 15:31, Lennart Poettering wrote: > On Thu, 21.07.11 15:55, yang.y...@gmail.com (yang.y...@gmail.com) wrote: >> i found some packages installed some files in /var/run and /var/lock, but >> /var/run is symbol linked to /run and /var/lock is symbol linked to >> /run/lock, /run

Re: [systemd-devel] how to let systemd mount /run very early?

2011-07-21 Thread Lennart Poettering
On Thu, 21.07.11 15:55, yang.y...@gmail.com (yang.y...@gmail.com) wrote: > hi, > > i found some packages installed some files in /var/run and /var/lock, but > /var/run is symbol linked to /run and /var/lock is symbol linked to > /run/lock, /run is a tmpfs, it can't save some files permanently, Fe

Re: [systemd-devel] how to let systemd mount /run very early?

2011-07-21 Thread Kay Sievers
On Thu, Jul 21, 2011 at 09:55, wrote: > i found some packages installed some files in /var/run and /var/lock, but > /var/run is symbol linked to /run and /var/lock is symbol linked to > /run/lock, /run is a tmpfs, it can't save some files permanently, Fedora's > way is /run is a disk directory, i

Re: [systemd-devel] yum-updateonboot with Systemd

2011-07-21 Thread Frank Murphy
On 21/07/11 10:30, "Jóhann B. Guðmundsson" wrote: On 07/20/2011 06:11 PM, Matthew Miller wrote: In general, it's useful to have an on-boot update service make sure any updates are applied before any daemons which might be updated are started. This sounds backwards to me why arent you doing the

Re: [systemd-devel] yum-updateonboot with Systemd

2011-07-21 Thread Jóhann B. Guðmundsson
On 07/20/2011 06:11 PM, Matthew Miller wrote: In general, it's useful to have an on-boot update service make sure any updates are applied before any daemons which might be updated are started. This sounds backwards to me why arent you doing the updates before shutdown instead so for example yo

[systemd-devel] how to let systemd mount /run very early?

2011-07-21 Thread yang . y . yi
hi, i found some packages installed some files in /var/run and /var/lock, but /var/run is symbol linked to /run and /var/lock is symbol linked to /run/lock, /run is a tmpfs, it can't save some files permanently, Fedora's way is /run is a disk directory, it saves the installed files by some package