Re: [systemd-devel] [PATCH v9000 2/3] timedated: gather timezone from /etc/localtime sym target

2012-08-14 Thread Frederic Crozat
Le dimanche 12 août 2012 à 22:36 -0700, Shawn Landden a écrit : > /etc/localtime -> /usr/share/zoneinfo/... > > or > > /etc/localtime -> ../usr/share/zoneinfo/... > > (note, ../usr is not the same if /etc is a symlink, as this isn't > using canonicalize_file_name()) > > keep other method for no

Re: [systemd-devel] [PATCH v9000 2/3] timedated: gather timezone from /etc/localtime sym target

2012-08-14 Thread Frederic Crozat
Le mardi 14 août 2012 à 10:32 +0200, Frederic Crozat a écrit : > Le dimanche 12 août 2012 à 22:36 -0700, Shawn Landden a écrit : > > /etc/localtime -> /usr/share/zoneinfo/... > > > > or > > > > /etc/localtime -> ../usr/share/zoneinfo/... > > > > (note, ../usr is not the same if /etc is a symlink

Re: [systemd-devel] [PATCH] timedated: gather timezone from /etc/localtime sym target

2012-08-14 Thread Frederic Crozat
Le mercredi 08 août 2012 à 18:51 +0200, Lennart Poettering a écrit : > On Tue, 07.08.12 00:31, Shawn Landen (shawnland...@gmail.com) wrote: > > > keep other method for now, consider dropping later. > > > > Supporting relative links here could be problematic as timezones in > > /usr/share/zoneinfo

Re: [systemd-devel] [PATCH v9000 2/3] timedated: gather timezone from /etc/localtime sym target

2012-08-14 Thread Frederic Crozat
Le dimanche 12 août 2012 à 22:36 -0700, Shawn Landden a écrit : > /etc/localtime -> /usr/share/zoneinfo/... > > or > > /etc/localtime -> ../usr/share/zoneinfo/... > > (note, ../usr is not the same if /etc is a symlink, as this isn't > using canonicalize_file_name()) > > keep other method for no

Re: [systemd-devel] [PATCH] service: allow service to inhibit respawn with special return code

2012-08-14 Thread Lukáš Nykrýn
Lennart Poettering píše v Po 13. 08. 2012 v 17:00 +0200: > On Mon, 13.08.12 14:10, Lukáš Nykrýn (lnyk...@redhat.com) wrote: > > > -if (UNIT(s)->fragment_path ? is_clean_exit(code, status) : > > is_clean_exit_lsb(code, status)) > > +if (UNIT(s)->fragment_path ? is_clean_exit(code,

Re: [systemd-devel] [PATCH] service: allow service to inhibit respawn with special return code

2012-08-14 Thread Lennart Poettering
On Tue, 14.08.12 12:48, Lukáš Nykrýn (lnyk...@redhat.com) wrote: Heya, > > I think we should get rid of is_clean_exit_lsb() now probably, and for > > sysv services just implicitly fill the exit code set with the valid LSB > > exit codes. That way we can reduce the SysV specific service handling >

Re: [systemd-devel] [PATCH] timedated: gather timezone from /etc/localtime sym target

2012-08-14 Thread Frederic Crozat
Le mardi 14 août 2012 à 11:20 +0200, Frederic Crozat a écrit : > Le mercredi 08 août 2012 à 18:51 +0200, Lennart Poettering a écrit : > > On Tue, 07.08.12 00:31, Shawn Landen (shawnland...@gmail.com) wrote: > > > > > keep other method for now, consider dropping later. > > > > > > Supporting relat

[systemd-devel] systemd hackfest on Developer Conference 2013

2012-08-14 Thread Václav Pavlín
Developer Conference 2013 takes place in Brno on February next year. We have an opportunity to organize Hackfest during/before the conference. Conference should run during the weekend (Saturday and Sunday) so the hackfest can take place these days or the days before (Wed, Thu, Fri), so conference

Re: [systemd-devel] [PATCH] timedated: gather timezone from /etc/localtime sym target

2012-08-14 Thread shawn
On Tue, 2012-08-14 at 11:20 +0200, Frederic Crozat wrote: > Le mercredi 08 août 2012 à 18:51 +0200, Lennart Poettering a écrit : > > On Tue, 07.08.12 00:31, Shawn Landen (shawnland...@gmail.com) wrote: > > > > > keep other method for now, consider dropping later. > > > > > > Supporting relative

[systemd-devel] [PATCH v9001 2/3] timedated: gather timezone from /etc/localtime sym target

2012-08-14 Thread Shawn Landden
/etc/localtime -> /usr/share/zoneinfo/... or /etc/localtime -> ../usr/share/zoneinfo/... (note, ../usr is not the same if /etc is a symlink, as this isn't using canonicalize_file_name()) keep other method for now, consider dropping later. Supporting relative links here are problematic as timez

[systemd-devel] killing udev for non-systemd systems

2012-08-14 Thread William Hubbs
Hey Lennart, Kay and all, On Wed, Aug 01, 2012 at 06:58:39PM +0200, Lennart Poettering wrote: > Well, we intent to continue to make it possible to run udevd outside of > systemd. But that's about it. We will not polish that, or add new > features to that or anything. > > OTOH we do polish behavio

Re: [systemd-devel] killing udev for non-systemd systems

2012-08-14 Thread Colin Guthrie
'Twas brillig, and William Hubbs at 14/08/12 19:01 did gyre and gimble: > You have taken a piece of software which is important to many linux > systems (udev) and merged it into an init system (systemd) which is not > used everywhere for a number of reasons. Now you are planning to kill > udev for

[systemd-devel] [PATCH 1/2] dev-setup: allow a path prefix for use in chroots

2012-08-14 Thread Dave Reisner
With this adjustment, we can reuse this code elsewhere, such as in nspawn. --- src/core/mount-setup.c | 2 +- src/shared/dev-setup.c | 16 +--- src/shared/dev-setup.h | 7 ++- src/udev/udevd.c | 2 +- 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/src/cor

[systemd-devel] [PATCH 2/2] nspawn: add /dev FD symlinks in container setup

2012-08-14 Thread Dave Reisner
This creates /dev/fd, /dev/stdin, /dev/stdout, /dev/stderr, and /dev/core as symlinks to /proc on container creation. Except for /dev/core, these are needed for shells like bash to be fully functional. --- Supersedes my previous patch which duplicated the logic in dev_setup(). src/nspawn/nspawn.c