Re: [systemd-devel] what does systemd do if the syslogd errs on start?

2011-07-07 Thread Rainer Gerhards
On Wed, Jul 6, 2011 at 4:17 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 06.07.11 16:11, Rainer Gerhards (rgerha...@gmail.com) wrote: Yes, if rsyslog dies, then systemd will notice it. As soon as there is traffic on the /dev/log socket (which might be right-away) it will then

Re: [systemd-devel] [RFC] Preset Files

2011-07-07 Thread Tollef Fog Heen
]] Lennart Poettering | If systemctl preset is passed with unit names, those units would | be enable/disabled as listed in the preset file. If no argument is | passed all units would be reset to the preset defaults. (another | long-sought feature...) I'd like this to be systemctl preset --all

Re: [systemd-devel] what does systemd do if the syslogd errs on start?

2011-07-07 Thread Michal Schmidt
On 07/07/2011 08:28 AM, Rainer Gerhards wrote: Let's make sure we are on the same line. Sequece of events: 1. systemd starts syslogd 2. syslogd parses config, detects errors 3. syslogd logs config errors via syslog() Thus it sends them to /dev/log. No process is reading it, but syslog.socket

[systemd-devel] PATCH: add units for boot.local/halt.local on openSUSE

2011-07-07 Thread Frederic Crozat
Hi, attached patch adds a modified version of fedora rc-local/halt-local services for openSUSE. -- Frederic Crozat fcro...@suse.com SUSE From 06238c421548f9af6ebebd54eba99bba2a2049d4 Mon Sep 17 00:00:00 2001 From: Frederic Crozat fcro...@suse.com Date: Thu, 7 Jul 2011 14:56:30 +0200 Subject:

Re: [systemd-devel] [RFC] Preset Files

2011-07-07 Thread Lennart Poettering
On Thu, 07.07.11 10:14, Tollef Fog Heen (tfh...@err.no) wrote: Heya, | Anyway, this of course requires some buy-in from the distributions, so | I'd like to ask the distro maintainers for comments on this. Do you | think this would be useful to you? Any other suggestions, ideas? Debian

[systemd-devel] nspawn remounts /selinux readonly, thus breaking logins

2011-07-07 Thread Zbigniew Jędrzejewski-Szmek
Hi, on freshly installed fedora-15 system, I've been trying out the nspawn, and running systemd-nspawn -D debian-tree/ (i.e. just the shell) seems to cause /selinux to be remount ro on the _host_: $ rpm -q systemd systemd-26-5.fc15.x86_64 $ mount|grep selinux selinuxfs on /selinux type selinuxfs

Re: [systemd-devel] nspawn remounts /selinux readonly, thus breaking logins

2011-07-07 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/07/2011 04:45 PM, Lennart Poettering wrote: On Thu, 07.07.11 22:42, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Hi, on freshly installed fedora-15 system, I've been trying out the nspawn, and running systemd-nspawn -D

Re: [systemd-devel] nspawn remounts /selinux readonly, thus breaking logins

2011-07-07 Thread Lennart Poettering
On Thu, 07.07.11 16:52, Daniel J Walsh (dwa...@redhat.com) wrote: This has a nasty consequence of breaking logins: Jul 7 22:17:05 fedora-15 sshd[14261]: Accepted publickey for zbyszek from 192.168.122.1 port 51205 ssh2 Jul 7 20:17:05 fedora-15 sshd[14262]: fatal: mm_request_receive:

[systemd-devel] Fail Using 'After=network.target' In A Java-Based Service

2011-07-07 Thread Pat McDonough
I'm trying to create a systemd service for a Java-based service and running into a networking error despite using After=network.target Any suggestions as to which dependencies to use or whether this is working as expected? The service fails during initial system start (6 times before giving