Re: [systemd-devel] [PATCH] add keyscript support to cryptsetup

2012-07-09 Thread Tollef Fog Heen
]] Lennart Poettering > On Mon, 09.07.12 23:14, Tollef Fog Heen (tfh...@err.no) wrote: > > > > > ]] Lennart Poettering > > > > > I wonder what the precise usecases for this are, and whether we can't > > > find better solutions for these usecases... I mean, we already have the > > > password a

[systemd-devel] Proposal: extend support for user session unit features

2012-07-09 Thread Kok, Auke-jan H
Lennart, Kay, all, I've run into several issues with the basic support that is present in systemd, and I think we need to extend some of the basic bits in systemd to support additional specifiers, as well as changing cwd to $HOME for a user session. The rationale is simple. Take for instance a co

[systemd-devel] [PATCH] analyze: work around bug in Python 3 Cairo bindings

2012-07-09 Thread Shawn Landen
From: Shawn Landden The python3 version of the Cairo bindings doesn't know how to write to sys.stdout/sys.stderr, which changed from from accepting str in python 2, to accepting a byte stream in python 3. Work around this by using /dev/stdout. http://bugs.freedesktop.org/show_bug.cgi?id=50989 -

Re: [systemd-devel] [PATCH] analyze: Python 3 compatibility

2012-07-09 Thread Dave Reisner
On Mon, Jul 09, 2012 at 08:49:35PM -0700, shawn wrote: > On Mon, 2012-07-09 at 23:40 -0400, Dave Reisner wrote: > > On Thu, Jun 14, 2012 at 03:08:19PM -0700, Shawn Landden wrote: > > > Plot verb doesn't currently work b/c Cairo bug sending to stdout in > > > python 3. > > > --- > > > > After thi

Re: [systemd-devel] [PATCH] analyze: Python 3 compatibility

2012-07-09 Thread shawn
On Mon, 2012-07-09 at 23:40 -0400, Dave Reisner wrote: > On Thu, Jun 14, 2012 at 03:08:19PM -0700, Shawn Landden wrote: > > Plot verb doesn't currently work b/c Cairo bug sending to stdout in python > > 3. > > --- > > After this patch, plot still doesn't seem to work with py3k, throwing a rather

Re: [systemd-devel] [PATCH] analyze: Python 3 compatibility

2012-07-09 Thread Dave Reisner
On Thu, Jun 14, 2012 at 03:08:19PM -0700, Shawn Landden wrote: > Plot verb doesn't currently work b/c Cairo bug sending to stdout in python 3. > --- After this patch, plot still doesn't seem to work with py3k, throwing a rather useless backtrace: Traceback (most recent call last): File "/usr/bi

Re: [systemd-devel] Bug? Ordering services on device aliases

2012-07-09 Thread Dave Reisner
On Tue, Jul 10, 2012 at 12:32:18AM +0200, Lennart Poettering wrote: > On Mon, 25.06.12 16:23, Dave Reisner (d...@falconindy.com) wrote: > > > $ systemctl -t device --full --all --no-pager | grep net > > sys-devices-pci:00-:00:03.0-virtio0-net-eth0.device loaded active > > sys-subsyst

Re: [systemd-devel] [PATCH] Always populate EXTRA_DIST

2012-07-09 Thread Lennart Poettering
On Thu, 07.06.12 23:24, Bryan Kadzban (br...@kadzban.is-a-geek.net) wrote: > Bryan Kadzban wrote: > > "make dist" can build a different tarball depending on the flags passed > > to ./configure and the (optional) dependencies found on the system. > > Move all append-to-EXTRA_DIST operations out of

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

2012-07-09 Thread Lennart Poettering
On Sat, 30.06.12 01:00, Paul Menzel (paulepan...@users.sourceforge.net) wrote: > It was pointed out that the service files above are very Fedora > specific. Mantas pointed out that Arch Linux now ships unit files > directly [4] > > [Unit] > Description=Chrony Network Time Daemon >

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

2012-07-09 Thread Lennart Poettering
On Fri, 22.06.12 11:57, Paul Menzel (paulepan...@users.sourceforge.net) wrote: > Dear systemd folks, > > > Fedora ships systemd service files for chrony [1][2]. > > • chrony-wait.service: > >1 [Unit] >2 Description=Wait for chrony to synchronize system clock >3 After=chronyd.servic

Re: [systemd-devel] GDM service file (was: systemd unit files for Debian based systems)

2012-07-09 Thread Lennart Poettering
On Fri, 22.06.12 13:47, Paul Menzel (paulepan...@users.sourceforge.net) wrote: > Am Montag, den 18.06.2012, 21:56 +0200 schrieb Paul Menzel: > > > Am Montag, den 18.06.2012, 17:48 +0200 schrieb Lennart Poettering: > > > On Sat, 16.06.12 10:39, Paul Menzel wrote: > > Dear systemd folks, > > > [

Re: [systemd-devel] [PATCH 2/2] systemd: enabling/disabling template units

2012-07-09 Thread Lennart Poettering
On Tue, 03.07.12 12:04, Michal Sekletar (msekl...@redhat.com) wrote: Heya, After a bit of roth and back I think this is an OK approach. I am a bit concerned that we overload install with two different meanings here, but I must admit that a number of people have asked for this, under this name, so

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

2012-07-09 Thread Lennart Poettering
On Mon, 02.07.12 09:15, Colin Guthrie (co...@mageia.org) wrote: > 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

Re: [systemd-devel] systemd and templates

2012-07-09 Thread Lennart Poettering
On Mon, 25.06.12 09:43, Michal Sekletar (msekl...@redhat.com) wrote: > Another feature which systemd currently doesn't support and it's > closely related to previous issues, is starting instances based on > configuration. There should be an option to enable a behavior, when > instances of template

Re: [systemd-devel] udev: problem renaming deviceode for dvb-devices

2012-07-09 Thread Kay Sievers
On Tue, Jul 10, 2012 at 12:20 AM, Lennart Poettering wrote: > On Mon, 25.06.12 17:45, Joachim Banzhaf (joachim.banz...@googlemail.com) > wrote: > >> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", >> ATTR{address}=="5c:ff:35:00:7b:d1", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME

Re: [systemd-devel] Bug? Ordering services on device aliases

2012-07-09 Thread Lennart Poettering
On Mon, 25.06.12 16:23, Dave Reisner (d...@falconindy.com) wrote: > $ systemctl -t device --full --all --no-pager | grep net > sys-devices-pci:00-:00:03.0-virtio0-net-eth0.device loaded active > sys-subsystem-net-devices-eth0.device loaded > inactive Hmm, if

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

2012-07-09 Thread Lennart Poettering
On Fri, 29.06.12 14:23, Kok, Auke-jan H (auke-jan.h@intel.com) wrote: > > On Thu, Jun 28, 2012 at 4:06 PM, David Strauss wrote: > > My company just moved into a new office at California and Grant > > (Chinatown, near the Financial District) in San Francisco -- finally > > with enough space t

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

2012-07-09 Thread Lennart Poettering
On Fri, 29.06.12 09:34, David Strauss (da...@davidstrauss.net) wrote: > > On Fri, Jun 29, 2012 at 5:58 AM, Lennart Poettering > wrote: > > It's going to be an LXC/libvirt/systemd/SELinux hackfest, in > > order to make systemd integrated formidably with containers and security > > subsystems, so

Re: [systemd-devel] udev: problem renaming deviceode for dvb-devices

2012-07-09 Thread Lennart Poettering
On Mon, 25.06.12 17:45, Joachim Banzhaf (joachim.banz...@googlemail.com) wrote: > SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", > ATTR{address}=="5c:ff:35:00:7b:d1", ATTR{dev_id}=="0x0", > ATTR{type}=="1", KERNEL=="eth*", NAME="eth8" You cannot rename kernel device nodes anymore with current ud

Re: [systemd-devel] [RFC] VTs for multiple seats

2012-07-09 Thread Kristian Høgsberg
On Mon, Jul 09, 2012 at 10:27:35PM +0200, Lennart Poettering wrote: > On Wed, 04.07.12 20:13, David Herrmann (dh.herrm...@googlemail.com) wrote: > > > 3) Wayland as central VT-master. Let's run a central > > wayland-compositor on each seat which acquires the video and input > > devices on that sea

Re: [systemd-devel] Service reactivation with device plugging

2012-07-09 Thread Lennart Poettering
On Wed, 04.07.12 01:44, Rob Spanton (rspan...@zepler.net) wrote: > Hi Mirco, > > Mirco Tischler wrote: > > For clues on how to let udev start things for you see the > > systemd.device man page A unit like this should work with udev > > activation: > > > > [Unit] > > Description=... > > BindTo=d

Re: [systemd-devel] Service reactivation with device plugging

2012-07-09 Thread Lennart Poettering
On Wed, 04.07.12 00:10, Rob Spanton (rspan...@zepler.net) wrote: > Hi, > > I was recently working on an embedded system that had a daemon that > depended on the presence of two USB serial devices. The daemon needed > to be run when both devices were plugged in. If any of the devices was > unplu

Re: [systemd-devel] [PATCH] add keyscript support to cryptsetup

2012-07-09 Thread Lennart Poettering
On Mon, 09.07.12 23:14, Tollef Fog Heen (tfh...@err.no) wrote: > > ]] Lennart Poettering > > > I wonder what the precise usecases for this are, and whether we can't > > find better solutions for these usecases... I mean, we already have the > > password agent logic, that is asynchronous, and wa

Re: [systemd-devel] Native PHP extension

2012-07-09 Thread Lennart Poettering
On Tue, 03.07.12 09:32, David Strauss (da...@davidstrauss.net) wrote: > > Good points. I'll reverse the names to become (at least soon): > > php-systemd (at least until it's available under PECL) > python-systemd (which will be usable under Python 2 or 3) > > To still keep them grouped, I'll al

Re: [systemd-devel] Documentation about upstreaming unit files

2012-07-09 Thread Lennart Poettering
On Fri, 29.06.12 17:52, Paul Menzel (paulepan...@users.sourceforge.net) wrote: > Dear systemd folks, > > > $ git grep upstream > > does not return anything regarding how projects should ship unit files. > > I can think of the following questions. Adding to what Tomasz already wrote: > 1

Re: [systemd-devel] timed events

2012-07-09 Thread Lennart Poettering
On Fri, 29.06.12 10:49, Nathan (qwerty@gmail.com) wrote: > Hello, > > I have built systemd version 26 for red hat enterprise 6.2. It works well. > > I am trying to replace a half broken init system/service management > system we have running which was built in-house (and all the developers >

Re: [systemd-devel] [PATCH] add keyscript support to cryptsetup

2012-07-09 Thread Tollef Fog Heen
]] Lennart Poettering > I wonder what the precise usecases for this are, and whether we can't > find better solutions for these usecases... I mean, we already have the > password agent logic, that is asynchronous, and way more powerful: It's also much harder to write something for. A use case f

Re: [systemd-devel] [PATCH] add keyscript support to cryptsetup

2012-07-09 Thread Lennart Poettering
On Fri, 29.06.12 00:56, David Härdeman (da...@hardeman.nu) wrote: > Debian's cryptsetup package supports the keyscript= option in /etc/crypttab > > This patch is a first attempt at implementing support for the same option > in systemd. It is not at exact feature parity yet (environment variables

Re: [systemd-devel] [RFC] VTs for multiple seats

2012-07-09 Thread Tomasz Torcz
On Mon, Jul 09, 2012 at 10:27:35PM +0200, Lennart Poettering wrote: > (Also, I think Plymouth should be replaced by the system compositor as > well, as a side note) Side not to side note: Ubuntu people seem to agree with you: http://summit.ubuntu.com/uds-q/meeting/20429/desktop-q-system-composit

Re: [systemd-devel] [RFC] VTs for multiple seats

2012-07-09 Thread Lennart Poettering
On Wed, 04.07.12 20:13, David Herrmann (dh.herrm...@googlemail.com) wrote: > 3) Wayland as central VT-master. Let's run a central > wayland-compositor on each seat which acquires the video and input > devices on that seat. This compositor runs all clients in full-screen > mode. An application that

Re: [systemd-devel] journald API documentation

2012-07-09 Thread David Strauss
On Mon, Jul 9, 2012 at 7:54 AM, Lennart Poettering wrote: > UTF8 is a superset of ASCII Yes, for true 7-bit ASCII. Unfortunately, many systems interpret "ASCII" to be a license for use of Latin-1 (and other traditional 8-bit character sets) in a way that's not safe to read as UTF-8. Clearly speci

Re: [systemd-devel] [PATCH] MeeGo: Remove build support for MeeGo distribution.

2012-07-09 Thread Carsten Munk
2012/7/9 Lennart Poettering : > On Mon, 09.07.12 18:15, Colin Guthrie (gm...@colin.guthr.ie) wrote: > >> >> 'Twas brillig, and Auke Kok at 06/07/12 01:20 did gyre and gimble: >> > The MeeGo distribution is still a supported distribution, but >> > will probably not see an updated version of systemd

Re: [systemd-devel] [PATCH] cryptsetup: add keyfile-offset= support

2012-07-09 Thread Lennart Poettering
On Mon, 09.07.12 18:03, Tom Gundersen (t...@jklm.no) wrote: > >> It's no different than storing your key as a file (on a USB key) except > >> there's > >> a little added obfuscation. Also, it's simpler (imo); you don't have to > >> wait for > >> a FS to be mounted when unlocking your dm-crypt de

Re: [systemd-devel] [PATCH] MeeGo: Remove build support for MeeGo distribution.

2012-07-09 Thread Lennart Poettering
On Mon, 09.07.12 18:15, Colin Guthrie (gm...@colin.guthr.ie) wrote: > > 'Twas brillig, and Auke Kok at 06/07/12 01:20 did gyre and gimble: > > The MeeGo distribution is still a supported distribution, but > > will probably not see an updated version of systemd anymore. > > > > Most of the develo

Re: [systemd-devel] [PATCH] MeeGo: Remove build support for MeeGo distribution.

2012-07-09 Thread Kok, Auke-jan H
On Mon, Jul 9, 2012 at 10:15 AM, Colin Guthrie wrote: > 'Twas brillig, and Auke Kok at 06/07/12 01:20 did gyre and gimble: >> The MeeGo distribution is still a supported distribution, but >> will probably not see an updated version of systemd anymore. >> >> Most of the development is focussing on

Re: [systemd-devel] [PATCH] MeeGo: Remove build support for MeeGo distribution.

2012-07-09 Thread Kay Sievers
On Mon, Jul 9, 2012 at 7:15 PM, Colin Guthrie wrote: > 'Twas brillig, and Auke Kok at 06/07/12 01:20 did gyre and gimble: >> The MeeGo distribution is still a supported distribution, but >> will probably not see an updated version of systemd anymore. >> >> Most of the development is focussing on T

Re: [systemd-devel] [PATCH] MeeGo: Remove build support for MeeGo distribution.

2012-07-09 Thread Colin Guthrie
'Twas brillig, and Auke Kok at 06/07/12 01:20 did gyre and gimble: > The MeeGo distribution is still a supported distribution, but > will probably not see an updated version of systemd anymore. > > Most of the development is focussing on Tizen now, and the > generic support for building --with-dis

Re: [systemd-devel] [PATCH] cryptsetup: add keyfile-offset= support

2012-07-09 Thread Tom Gundersen
On Mon, Jul 9, 2012 at 4:28 PM, Lennart Poettering wrote: > On Mon, 09.07.12 11:02, Matthew Monaco (dgbale...@0x01b.net) wrote: > >> On 07/09/2012 10:51 AM, Lennart Poettering wrote: >> > On Fri, 29.06.12 13:40, Tom Gundersen (t...@jklm.no) wrote: >> > >> >> This is useful if your keyfile is a blo

Re: [systemd-devel] [PATCH] cryptsetup: add keyfile-offset= support

2012-07-09 Thread Lennart Poettering
On Mon, 09.07.12 11:02, Matthew Monaco (dgbale...@0x01b.net) wrote: > On 07/09/2012 10:51 AM, Lennart Poettering wrote: > > On Fri, 29.06.12 13:40, Tom Gundersen (t...@jklm.no) wrote: > > > >> This is useful if your keyfile is a block device, and you want to > >> use a specific part of it, such a

Re: [systemd-devel] [PATCH] cryptsetup: add keyfile-offset= support

2012-07-09 Thread Matthew Monaco
On 07/09/2012 10:51 AM, Lennart Poettering wrote: > On Fri, 29.06.12 13:40, Tom Gundersen (t...@jklm.no) wrote: > >> This is useful if your keyfile is a block device, and you want to >> use a specific part of it, such as an area between the MBR and the >> first partition. >> >> This feature is doc

Re: [systemd-devel] kernel failing to boot

2012-07-09 Thread Lennart Poettering
On Tue, 03.07.12 10:32, Nathan (qwerty@gmail.com) wrote: > Hello, > > I am experimenting with systemd on redhat 6. We don't support systemd on rhel6. > version systemd-36 This version is really old. Please use something more recent. > > [ 11.454285] dracut: Scanning devices sdb3 for L

Re: [systemd-devel] Diagnosing hang on reboot

2012-07-09 Thread Lennart Poettering
On Fri, 06.07.12 10:15, Daniel Drake (d...@laptop.org) wrote: > > On Wed, Jul 4, 2012 at 11:46 AM, Daniel Drake wrote: > > We're encountering a systemd hang on reboot which is proving hard to > > debug, on the OLPC XO platform (systemd-44 on Fedora 17). It doesn't > > happen every time, but it i

Re: [systemd-devel] Diagnosing hang on reboot

2012-07-09 Thread Lennart Poettering
On Wed, 04.07.12 11:46, Daniel Drake (d...@laptop.org) wrote: > Hi, > > We're encountering a systemd hang on reboot which is proving hard to > debug, on the OLPC XO platform (systemd-44 on Fedora 17). It doesn't > happen every time, but it is frequent: when running a system that > reboots once ev

Re: [systemd-devel] [PATCH] MeeGo: Remove build support for MeeGo distribution.

2012-07-09 Thread Lennart Poettering
On Thu, 05.07.12 17:20, Auke Kok (auke-jan.h@intel.com) wrote: > The MeeGo distribution is still a supported distribution, but > will probably not see an updated version of systemd anymore. > > Most of the development is focussing on Tizen now, and the > generic support for building --with-di

Re: [systemd-devel] journald API documentation

2012-07-09 Thread Lennart Poettering
On Fri, 29.06.12 15:09, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > It shouldn't be ignored, but journalctl currently just skips over it in > > the normal output, since there is nothing to show. The data should > > actually be stored on disk just fine, and the verbose mode of journa

Re: [systemd-devel] [PATCH] cryptsetup: add keyfile-offset= support

2012-07-09 Thread Lennart Poettering
On Fri, 29.06.12 13:40, Tom Gundersen (t...@jklm.no) wrote: > This is useful if your keyfile is a block device, and you want to > use a specific part of it, such as an area between the MBR and the > first partition. > > This feature is documented in the Arch wiki[0], and has been supported > by t

Re: [systemd-devel] Problems from using systemd-40

2012-07-09 Thread Kay Sievers
On Mon, Jul 9, 2012 at 4:48 PM, Lennart Poettering wrote: > On Wed, 04.07.12 09:13, Yongsong Liu (ysliu0...@gmail.com) wrote: > >>Now,I want to transplant systemd into tinycore system, I find a lots >> of problems by using systemd-40. > > > Please try to use more recent versions of systemd

Re: [systemd-devel] Problems from using systemd-40

2012-07-09 Thread Lennart Poettering
On Wed, 04.07.12 09:13, Yongsong Liu (ysliu0...@gmail.com) wrote: > Hi All: >Now,I want to transplant systemd into tinycore system, I find a lots > of problems by using systemd-40. Please try to use more recent versions of systemd, if possible. > 1. Failed to open /dev/kmsg for lo

Re: [systemd-devel] $PWD=/ in systemd --user

2012-07-09 Thread Lennart Poettering
On Tue, 03.07.12 14:26, Kok, Auke-jan H (auke-jan.h@intel.com) wrote: > > On Tue, Jul 3, 2012 at 11:10 AM, Léo Gillot-Lamure > wrote: > > I'm running a user session using systemd --user and my PWD in the > > session (visible, for example, when launching a xterm) is / instead of > > $HOME as

Re: [systemd-devel] [PATCH] systemd: added new dependency StoppedBy

2012-07-09 Thread Lennart Poettering
On Wed, 04.07.12 10:17, Michal Sekletar (msekl...@redhat.com) wrote: > This should address TODO item "new dependency type to "group" services > in a target". Semantic of new dependency is as follows. Once configured > it creates dependency which will cause that all dependent units get > stopped if

Re: [systemd-devel] [PATCH] man/tmpfiles.d.xml: Add missing full stop

2012-07-09 Thread Lennart Poettering
On Sat, 07.07.12 14:07, Paul Menzel (paulepan...@users.sourceforge.net) wrote: > Date: Mon, 2 Jul 2012 17:43:34 +0200 > > --- > man/tmpfiles.d.xml |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml > index 96b1872..b7397b6 100644

Re: [systemd-devel] [PATCH] systemd: added new dependency StoppedBy

2012-07-09 Thread Michal Sekletar
Hi, is something wrong with this? If it's not enough explanatory, I will change it according to your recommendation or comments if you have some. Regards, Michal Sekletar ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://list