[systemd-devel] Orchestrating a shutdown immediately after boot

2013-07-08 Thread Kerrick Staley
I'd like my system to: 1. boot 2. run a command 3. shut down I've implemented step 2 in a .service file [1], but I can't figure out how to automatically shut the system down once it's finished. shutdown.target conflicts with all services that don't set DefaultDependencies=false (which is most of

Re: [systemd-devel] [PATCH] static-nodes: move creation of static nodes from udevd to tmpfiles

2013-07-08 Thread Umut Tezduyar
On Sun, Jul 7, 2013 at 11:17 PM, Tom Gundersen t...@jklm.no wrote: Hi Umut, On Sun, Jul 7, 2013 at 8:11 PM, Umut Tezduyar u...@tezduyar.com wrote: Just a suggestion, can kmod-static-nodes.service be merged to systemd-static-nodes.service and have 2 ExecStartPre= as:

[systemd-devel] X fatal server error with -seat option

2013-07-08 Thread Floris
Because multiseat doesn't work out-of-the-box with the Nvidia drivers I try to figure out why. The story so far: create a udev rule for the nvidia device and attach it together with a usb-hub to seat1 # loginctl seat-status seat1 seat1 Devices:

[systemd-devel] [PATCH] man: wording and grammar updates

2013-07-08 Thread Jan Engelhardt
--- man/machinectl.xml | 14 ++-- man/systemctl.xml | 180 - man/systemd.journal-fields.xml | 8 +- 3 files changed, 101 insertions(+), 101 deletions(-) diff --git a/man/machinectl.xml b/man/machinectl.xml index 2606180..8a96d42

[systemd-devel] systemd: more documentation nitpicks

2013-07-08 Thread Jan Engelhardt
The following changes since commit fec79699da51a0815ff01e14abcc94b1f6d3926a: hwdb: import data (2013-07-08 11:46:44 +0200) are available in the git repository at: git://git.inai.de/systemd manpages for you to fetch changes up to c5455203b23ac1bb02b8f1d62818d02540b890ed: man: wording

Re: [systemd-devel] Broken build and CI strategy

2013-07-08 Thread Holger Hans Peter Freyther
On Fri, Jun 28, 2013 at 10:06:11AM +0200, Holger Hans Peter Freyther wrote: On Fri, Jun 28, 2013 at 09:43:08AM +0200, Peter Sztanojev wrote: So this issue is about tweaking how jenkins does its job? I have added David Strauss to the CC, hopefully he won't mind. Well, that is one part.

Re: [systemd-devel] [PATCH 1/2] RFC: journald: Allow to cache the cg_get_root_path

2013-07-08 Thread Karol Lewandowski
On 06/27/2013 06:30 PM, Holger Hans Peter Freyther wrote: From: Holger Hans Peter Freyther hol...@moiji-mobile.com Allow to cache the cg_get_root_path and introduce a new method cg_pid_get_path_shifted_with_root that can use the cached version instead of allocating a new string. My 2c, I

[systemd-devel] [HEADSUP] systemd Hackfest Brno Aug 6th/7th (colocated with GUADEC)

2013-07-08 Thread Lennart Poettering
Heya! On Aug 6th/7th we'll have our next systemd hackfest, again at Brno in the Czech Republic, colocated with GAUDEC. https://plus.google.com/events/cb1urr7jt5p4voutfelci14c5qc If you are hacking on systemd, please join us in Brno, attendance is free! We can probably organize some funding for

Re: [systemd-devel] systemd[725]: Failed at step PAM spawning /usr/lib/systemd/systemd: Operation not permitted

2013-07-08 Thread Kok, Auke-jan H
On Sat, Jul 6, 2013 at 1:40 AM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: The patch I mailed a few hours ago about chowning cgroups solved this issue here. but it's not a permanent solution - only a workaround. I believe from the release notes that systemd --user shouldn't maintain

Re: [systemd-devel] [PATCH] static-nodes: move creation of static nodes from udevd to tmpfiles

2013-07-08 Thread Tom Gundersen
On Mon, Jul 8, 2013 at 9:09 AM, Umut Tezduyar u...@tezduyar.com wrote: Hi. I thought they serve for the same purpose. One generates device node information, other one creates the devices. I have no objection either but I thought we have documentation etc ready for systemd-static-nodes.service.

Re: [systemd-devel] X fatal server error with -seat option

2013-07-08 Thread Lennart Poettering
On Mon, 08.07.13 17:16, Floris (jkflo...@dds.nl) wrote: Because multiseat doesn't work out-of-the-box with the Nvidia drivers I try to figure out why. THis is probably something you want to discuss with the Nvidia and X people. systemd just provides tagging of the devices. How the devices

Re: [systemd-devel] Orchestrating a shutdown immediately after boot

2013-07-08 Thread Lennart Poettering
On Mon, 08.07.13 00:08, Kerrick Staley (kerr...@kerrickstaley.com) wrote: I'd like my system to: 1. boot 2. run a command 3. shut down I've implemented step 2 in a .service file [1], but I can't figure out how to automatically shut the system down once it's finished. shutdown.target

Re: [systemd-devel] journal and /run/systemd/journal/syslog

2013-07-08 Thread Lennart Poettering
On Sun, 07.07.13 19:18, Umut Tezduyar (u...@tezduyar.com) wrote: Hi, I have noticed that if journal fails to send messages to /run/systemd/journal/syslog, it increments a counter and every 30 seconds it prints out a message on journal informing that forwarding x many messages has failed.

Re: [systemd-devel] Failed to destroy cgroup /system.slice/plymouth-start.service: Device or resource busy

2013-07-08 Thread Lennart Poettering
On Sat, 06.07.13 19:44, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: Hi: With v205, I sometimes get at boot time: Failed to destroy cgroup /system.slice/plymouth-start.service: Device or resource busy void unit_destroy_cgroup(Unit *u) {.. r = cg_trim_with_mask(u-cgroup_mask,