[systemd-devel] [PATCH 1/2] wpa_supplicant: Add systemd support

2011-07-11 Thread Henry Gebhardt
--- .../dbus/fi.epitest.hostap.WPASupplicant.service |1 + wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service |1 + wpa_supplicant/systemd/wpa_supplicant.service | 11 +++ wpa_supplicant/systemd/wpa_supplicant@.service | 11 +++ 4 files changed, 24

[systemd-devel] [PATCH 2/2] wpa_supplicant: Edit BINDIR in dbus and systemd service files

2011-07-11 Thread Henry Gebhardt
This is useful, since in Gentoo BINDIR=/usr/sbin. --- wpa_supplicant/Makefile|9 + .../dbus/fi.epitest.hostap.WPASupplicant.service |5 - .../fi.epitest.hostap.WPASupplicant.service.in |5 +

[systemd-devel] Fwd: Re: [opensuse-packaging] Fwd: [RFC] Preset Files

2011-07-11 Thread Andreas Jaeger
Asking on the openSUSE lists, I received the following proposal for an alternative implementation that I propose for discussion, Andreas -- Forwarded Message -- Subject: Re: [opensuse-packaging] Fwd: [systemd-devel] [RFC] Preset Files Date: Friday, July 08, 2011, 19:31:07

[systemd-devel] systemd environment variable handling and spaces bug?

2011-07-11 Thread Barry Scott
I would like to take advantage of ${var} in the ExecStart lines. However I find that there is a issue with handling of while space. If I code this ExecStart=/myservice --arg ${optional_arg} If option_arg is not defined argv is ['/myservice', '--arg', ''] Is it a bug that you do not

Re: [systemd-devel] systemd environment variable handling and spaces bug?

2011-07-11 Thread Lennart Poettering
On Mon, 11.07.11 16:49, Barry Scott (barry.sc...@onelan.co.uk) wrote: I would like to take advantage of ${var} in the ExecStart lines. However I find that there is a issue with handling of while space. If I code this ExecStart=/myservice --arg ${optional_arg} If option_arg is

Re: [systemd-devel] Services started realtime exit with 214

2011-07-11 Thread Barry Scott
On Monday 11 July 2011 17:27:26 Lennart Poettering wrote: On Mon, 11.07.11 12:40, Barry Scott (barry.sc...@onelan.co.uk) wrote: Do we have to configure something else to get this working like cgroup stuff? Running X under RR privs? That's bold. It is the only way we found to guarentee

[systemd-devel] On writing a systemd service file

2011-07-11 Thread W. Michael Petullo
I am trying to migrate a service from a SysV-style initialization script to systemd on Fedora. After referencing the documentation I could find, I have written the following service description: [Unit] Description=DMAP Service After=avahi-daemon.service [Service] Type=forking

Re: [systemd-devel] On writing a systemd service file

2011-07-11 Thread Lennart Poettering
On Mon, 11.07.11 13:12, W. Michael Petullo (m...@flyn.org) wrote: I am trying to migrate a service from a SysV-style initialization script to systemd on Fedora. After referencing the documentation I could find, I have written the following service description: [Unit] Description=DMAP

Re: [systemd-devel] Fwd: Re: [opensuse-packaging] Fwd: [RFC] Preset Files

2011-07-11 Thread Lennart Poettering
On Mon, 11.07.11 17:22, Andreas Jaeger (a...@suse.com) wrote: on Freitag, 8. Juli 2011, Robert Schweikert wrote: OK, did not know that and was not part of the original message. Well, using numbers works, still leaves one parsing all files for a specific service and then figuring out which

Re: [systemd-devel] [PATCH] man: un-reverse IgnoreOnSnapshot description

2011-07-11 Thread Lennart Poettering
On Fri, 08.07.11 14:48, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: I think that snapshots devices are actually _not_ captured in snapshots. Indeed. Thanks, applied! Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel

Re: [systemd-devel] Environment for prefdm.service

2011-07-11 Thread Lennart Poettering
On Mon, 11.07.11 15:51, Bill Nottingham (nott...@redhat.com) wrote: Lennart Poettering (lenn...@poettering.net) said: Sorry if I'm missing something simple or if I have confused myself beyond all hope. I appreciate any advice on how to prepare this in a future-compatible way.

Re: [systemd-devel] Environment for prefdm.service

2011-07-11 Thread Kay Sievers
On Mon, Jul 11, 2011 at 22:11, Lennart Poettering lenn...@poettering.net wrote: On Mon, 11.07.11 15:51, Bill Nottingham (nott...@redhat.com) wrote: Lennart Poettering (lenn...@poettering.net) said: Sorry if I'm missing something simple or if I have confused myself beyond all hope.  I

Re: [systemd-devel] Environment for prefdm.service

2011-07-11 Thread David Michael
Hi, On Mon, Jul 11, 2011 at 3:34 PM, Lennart Poettering lenn...@poettering.net wrote: It is distributed under /lib (along with its link under graphical.target.wants), implying it should not be changed. Unit files (and symlinks) in /etc/systemd/system will override those in

Re: [systemd-devel] On writing a systemd service file

2011-07-11 Thread Michael Biebl
2011/7/11 W. Michael Petullo m...@flyn.org: I am trying to migrate a service from a SysV-style initialization script to systemd on Fedora. After referencing the documentation I could find, I have written the following service description: [Unit] Description=DMAP Service

Re: [systemd-devel] [PATCH] Fix compilation without ACL

2011-07-11 Thread Zbigniew Jędrzejewski-Szmek
On 07/11/2011 10:31 PM, Lennart Poettering wrote: On Wed, 06.07.11 15:14, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Compilation fails if sys/acl.h is not available. The configure script already tests for sys/acl.h presence, but the result was so far unused. To compile without

Re: [systemd-devel] [PATCH] shutdown: pivot_root to a tmpfs directory to properly umount root

2011-07-11 Thread Lennart Poettering
On Mon, 04.07.11 12:49, Harald Hoyer (harald.ho...@gmail.com) wrote: On 30.06.2011 17:40, Harald Hoyer wrote: On 26.05.2011 13:35, Harald Hoyer wrote: Rebased pivot_root patches can be pulled from: http://git.surfsite.org//systemd.git git://git.surfsite.org/pub/git/systemd.git

Re: [systemd-devel] On writing a systemd service file

2011-07-11 Thread Lennart Poettering
On Mon, 11.07.11 22:43, Michael Biebl (mbi...@gmail.com) wrote: 2011/7/11 W. Michael Petullo m...@flyn.org: I am trying to migrate a service from a SysV-style initialization script to systemd on Fedora. After referencing the documentation I could find, I have written the following

Re: [systemd-devel] [PATCH 1/2] wpa_supplicant: Add systemd support

2011-07-11 Thread Alexander E. Patrakov
Henry Gebhardt wrote: --- /dev/null +++ b/wpa_supplicant/systemd/wpa_supplicant@.service @@ -0,0 +1,11 @@ +[Unit] +Description=WPA supplicant daemon (interface-specific version) +# NetworkManager users will probably want the dbus version instead. +[Service] +Type=simple