Re: [systemd-devel] systemd based gnome-session

2012-06-25 Thread Kok, Auke-jan H
On Tue, Jun 26, 2012 at 1:02 AM, Peeters Simon wrote: > > Sorry that i forgot to give credit where credit is due: > The code in this program is majorly inspired by: >  - nodm (this is actually a fork/adaption of an unfinished rewrite of nodm) >  - user-session by Auke Kok >  - various tutorials an

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

2012-06-25 Thread Dave Reisner
On Tue, Jun 26, 2012 at 03:11:19AM +0200, Malte Starostik wrote: > Hi Dave, > > Am Montag, 25. Juni 2012, 16:23:13 schrieb Dave Reisner: > > The premise is fairly simple, given the below unit: > > > > [Unit] > > Description=dhcpcd on %I > > Wants=network.target > > Before=network.target >

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

2012-06-25 Thread Malte Starostik
Hi Dave, Am Montag, 25. Juni 2012, 16:23:13 schrieb Dave Reisner: > The premise is fairly simple, given the below unit: > > [Unit] > Description=dhcpcd on %I > Wants=network.target > Before=network.target > After=sys-subsystem-net-devices-%i.device > BindTo=sys-subsystem-net-devices-%

Re: [systemd-devel] systemd based gnome-session

2012-06-25 Thread Peeters Simon
Sorry that i forgot to give credit where credit is due: The code in this program is majorly inspired by: - nodm (this is actually a fork/adaption of an unfinished rewrite of nodm) - user-session by Auke Kok - various tutorials and man page examples Even though this programs functionality is com

[systemd-devel] man/bootup.xml: Fix grammar by adding missing verb »is«

2012-06-25 Thread Paul Menzel
Date: Mon, 25 Jun 2012 23:00:38 +0200 --- man/bootup.xml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/bootup.xml b/man/bootup.xml index 69f9a27..e29c1a0 100644 --- a/man/bootup.xml +++ b/man/bootup.xml @@ -73,7 +73,7 @@ storage technologies backing t

[systemd-devel] [PATCH] man: fix typo in sysntemd-user-sessions.service page

2012-06-25 Thread Tom Gundersen
--- man/systemd-user-sessions.service.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/systemd-user-sessions.service.xml b/man/systemd-user-sessions.service.xml index 338b701..5c65eb1 100644 --- a/man/systemd-user-sessions.service.xml +++ b/man/systemd-user-sessions.ser

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

2012-06-25 Thread Dave Reisner
The premise is fairly simple, given the below unit: [Unit] Description=dhcpcd on %I Wants=network.target Before=network.target After=sys-subsystem-net-devices-%i.device BindTo=sys-subsystem-net-devices-%i.device [Service] Type=forking PIDFile=/run/dhcpcd-%I.pid ExecStart=/sbin

Re: [systemd-devel] How do I disable old init.d scripts?

2012-06-25 Thread Paul Menzel
Am Montag, den 25.06.2012, 15:38 +0200 schrieb Lennart Poettering: > On Mon, 25.06.12 15:25, Paul Menzel wrote: […] > > how can I disable init.d scripts which systemd loads for compatibility > > reasons? > > > > $ ls /etc/init.d/motd (or any other init.d script) > > /etc/init.d/

Re: [systemd-devel] systemd based gnome-session

2012-06-25 Thread Kok, Auke-jan H
On Sat, Jun 23, 2012 at 3:10 PM, Peeters Simon wrote: > hej all, > > I have worked a bit on a systemd based replacement for the gnome-session > binary. > The code is available at https://github.com/SimonPe/lightSM. > Most of the important information is in the readme. > > If you configure it with

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

2012-06-25 Thread Joachim Banzhaf
Am 25.06.2012 14:58, schrieb Dr. Thomas Bastian: > Am Samstag, den 23.06.2012, 14:41 +0200 schrieb Kay Sievers: >> On Sat, Jun 23, 2012 at 2:17 PM, Dr. Thomas Bastian wrote: Udev cannot rename kernel-created device nodes. These nodes are not created by udev, but by the kernel itself. Ude

Re: [systemd-devel] `systemd-analyze blame`indicates GDM3 takes longer to start with service file than with init.d script

2012-06-25 Thread Mirco Tischler
2012/6/25 Paul Menzel : > Dear systemd folks, > > > after a system start I save the output of `systemd-anlyze blame`. > > With Debian Sid/unstable, GDM 3.4.1 and the shipped init.d script on > average it took about 120 ms. For example: > >    124ms gdm3.service > > Adding the following service file

Re: [systemd-devel] [PATCH] remount-fs: pass fstab options to mount

2012-06-25 Thread Lennart Poettering
On Mon, 25.06.12 13:56, richard@codethink.co.uk (richard@codethink.co.uk) wrote: > From: Richard Maw > > busybox's mount implementation doesn't re-read the options from > the fstab, it uses the flags it has in mtab. > This makes `mount -o remount $device` a no-op. > > Rather than do st

Re: [systemd-devel] How do I disable old init.d scripts?

2012-06-25 Thread Lennart Poettering
On Mon, 25.06.12 15:25, Paul Menzel (paulepan...@users.sourceforge.net) wrote: > Dear systemd folks, > > > how can I disable init.d scripts which systemd loads for compatibility > reasons? > > $ ls /etc/init.d/motd (or any other init.d script) > /etc/init.d/motd > $ sys

[systemd-devel] `systemd-analyze blame`indicates GDM3 takes longer to start with service file than with init.d script

2012-06-25 Thread Paul Menzel
Dear systemd folks, after a system start I save the output of `systemd-anlyze blame`. With Debian Sid/unstable, GDM 3.4.1 and the shipped init.d script on average it took about 120 ms. For example: 124ms gdm3.service Adding the following service file $ more /lib/systemd/system/gdm

Re: [systemd-devel] How do I disable old init.d scripts?

2012-06-25 Thread Koen Kooi
Op 25 jun. 2012, om 15:25 heeft Paul Menzel het volgende geschreven: > Dear systemd folks, > > > how can I disable init.d scripts which systemd loads for compatibility > reasons? > >$ ls /etc/init.d/motd (or any other init.d script) >/etc/init.d/motd >$ systemd-analyze

[systemd-devel] How do I disable old init.d scripts?

2012-06-25 Thread Paul Menzel
Dear systemd folks, how can I disable init.d scripts which systemd loads for compatibility reasons? $ ls /etc/init.d/motd (or any other init.d script) /etc/init.d/motd $ systemd-analyze blame | grep motd 543ms motd.service $ sudo systemctl disable motd

[systemd-devel] [PATCH] remount-fs: pass fstab options to mount

2012-06-25 Thread richard . maw
From: Richard Maw busybox's mount implementation doesn't re-read the options from the fstab, it uses the flags it has in mtab. This makes `mount -o remount $device` a no-op. Rather than do string concatenation, add another -o option to the list of parameters, since -o is cumulative. --- src/rem

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

2012-06-25 Thread Dr. Thomas Bastian
Am Samstag, den 23.06.2012, 14:41 +0200 schrieb Kay Sievers: > On Sat, Jun 23, 2012 at 2:17 PM, Dr. Thomas Bastian wrote: > >> Udev cannot rename kernel-created device nodes. These nodes are not > >> created by udev, but by the kernel itself. Udev will not change them, > >> just set permissions an

[systemd-devel] Howto detect a session start (and end) with systemd?

2012-06-25 Thread Stef Bon
Hi, I'm working on a construction which creates "workspaces" for a user when he/she logs in. These workspaces are directories with vritual directories managed by a FUSE fs, with access to mountable resources like harddisks, usb sticks, cdroms but also network services like smb shares. In practic

Re: [systemd-devel] systemd and templates

2012-06-25 Thread Mathieu Bridon
On Mon, 2012-06-25 at 09:43 +0200, Michal Sekletar wrote: > Also it should be possible to group more instances together > and control them as a group. In such case template service will > contain WantedBy= option, where some other target should be specified, > e.g. opevpn.target. However, instance

[systemd-devel] systemd and templates

2012-06-25 Thread Michal Sekletar
Hello everyone out there, We would like to start a discussion about a way how should systemd deal with template units, because we consider current state as not sufficient to meet all use cases very often seen in server administration. Consider a scenario where administrator has a lot of instances