[systemd-devel] New SELinux Patch to fix gettys not starting and poweroff/reboot commands from userspace working.

2012-09-24 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lots of new debugging/Error messages, to figure out what was failing. Fix audit messages to not add cmdline of path if it does not exist. Fix handling of initilization of selinux libraries. Use log_error instead of log_full(LOG_ERROR If bus_get_sel

Re: [systemd-devel] OSTree mount integration

2012-09-24 Thread Lennart Poettering
On Mon, 24.09.12 18:12, Colin Walters ([email protected]) wrote: > > On Mon, 2012-09-24 at 22:19 +0200, Lennart Poettering wrote: > > > i.e. my suggestion would be to patch dracut (or write a dracut module) > > that sets up your target OS tree with /var and friends directly, and > > then transi

Re: [systemd-devel] Best way of configuring service

2012-09-24 Thread Colin Guthrie
'Twas brillig, and Malte Starostik at 24/09/12 22:52 did gyre and gimble: > Hi Dan, > > Am Montag, 24. September 2012, 21:58:17 schrieb Daniel Tihelka: >> On 9/24/12, Lennart Poettering wrote: > >>> Hmm, so systemd unit files are not really supposed to the place where >>> daemon-specific configu

Re: [systemd-devel] OSTree mount integration

2012-09-24 Thread Colin Walters
On Mon, 2012-09-24 at 22:19 +0200, Lennart Poettering wrote: > i.e. my suggestion would be to patch dracut (or write a dracut module) > that sets up your target OS tree with /var and friends directly, and > then transitions directly to it via moving it to / rather than first > moving into the host

Re: [systemd-devel] Best way of configuring service

2012-09-24 Thread Malte Starostik
Hi Dan, Am Montag, 24. September 2012, 21:58:17 schrieb Daniel Tihelka: > On 9/24/12, Lennart Poettering wrote: > > Hmm, so systemd unit files are not really supposed to the place where > > daemon-specific configuration bits are encoded. If a daemon requires > > specific configuration my recomme

Re: [systemd-devel] Best way of configuring service

2012-09-24 Thread Lennart Poettering
On Mon, 24.09.12 21:58, Daniel Tihelka ([email protected]) wrote: > But still, there are java-specific options which must be set (and may > be required to be customized) as well - for example the -Xmx or -Xms > settings. And I am most likely not able to change it in java :-) If it is likely that

Re: [systemd-devel] systemd-journald.service failed to start with systemd v189

2012-09-24 Thread Lennart Poettering
On Mon, 24.09.12 17:04, Nicolas Aguirre ([email protected]) wrote: > To fix my problem, i will create a service which will mount the fs in > rw, create the /etc/machine-id and remount fs in ro if the machine-id > is not found. It should work in my case because i'm using ubifs, but > how t

Re: [systemd-devel] Best way of configuring service

2012-09-24 Thread David Strauss
The EnvironmentFile= option may be useful for specifying a sort of poor man's configuration file. -- David Strauss | [email protected] ___ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listin

Re: [systemd-devel] OSTree mount integration

2012-09-24 Thread Lennart Poettering
On Sun, 23.09.12 22:26, Colin Walters ([email protected]) wrote: > So I have this "boot into chroot" system that I wrote for GNOME: > > https://live.gnome.org/OSTree/ > > Where the two interesting aspects here are: > > 1) I want the ability to allow people to try GNOME builds natively >wit

Re: [systemd-devel] Best way of configuring service

2012-09-24 Thread Daniel Tihelka
On 9/24/12, Lennart Poettering wrote: > On Sun, 23.09.12 23:04, Dan Tihelka ([email protected]) wrote: > >> Dear all, >> I porting the start scripts of cruisecontrol system to the native systemd >> >> service configuration. It goes quiet well, the only "trouble" I have with >> the >> options conf

Re: [systemd-devel] [PATCH] tmpfiles: allow Age to be set to 0d

2012-09-24 Thread Tom Gundersen
On Mon, Sep 24, 2012 at 12:28 PM, Lennart Poettering wrote: > Ah, OK. This makes sense I guess. The reason I was asking is that 0 in > contexts like these often has some kind of special meaning, for example > "turn aging" off or so. Ah, got it. > Could you add a sentence or so to the man page ex

Re: [systemd-devel] systemd-journald.service failed to start with systemd v189

2012-09-24 Thread Richard Maw
On Mon, Sep 24, 2012 at 05:04:11PM +0200, Nicolas Aguirre wrote: > 2012/9/24 Lennart Poettering : > Ok, > > I did what you said, and it appears that the problem is located in > journald.c, in system_journal_open function, when it tries to read the > machine-id, > it can't open /etc/machine-id. >

Re: [systemd-devel] systemd-journald.service failed to start with systemd v189

2012-09-24 Thread Kay Sievers
On Mon, Sep 24, 2012 at 5:04 PM, Nicolas Aguirre wrote: > 2012/9/24 Lennart Poettering : >> On Mon, 24.09.12 11:43, Nicolas Aguirre ([email protected]) wrote: >>> >>> Sometimes (around 1% of the time) my system doesn't start correctly. >>> the init process takes 100% CPU. systemd-journal.s

Re: [systemd-devel] systemd segfaulting after commit 877d54e9b09e093c2102f519a84e2a52637ae035

2012-09-24 Thread Khem Raj
On Sunday, September 23, 2012, Allin Cottrell wrote: > On Sun, 23 Sep 2012, Colin Walters wrote: > >> On Sat, 2012-09-22 at 16:34 -0700, Khem Raj wrote: >> >>> git bisect tells me that its happening due to >>> >>> commit 877d54e9b09e093c2102f519a84e2a52637ae035 >>> Author: Lennart Poettering >>>

Re: [systemd-devel] systemd-journald.service failed to start with systemd v189

2012-09-24 Thread Nicolas Aguirre
2012/9/24 Lennart Poettering : > On Mon, 24.09.12 11:43, Nicolas Aguirre ([email protected]) wrote: > >> Hi, >> >> Sometimes (around 1% of the time) my system doesn't start correctly. >> the init process takes 100% CPU. systemd-journal.service is not >> started correctly, and systemd tries

Re: [systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-24 Thread Ali Lown
Kay, Thanks. That rule appears to have fixed it for me. > The current rules always marked all MD partitions as inactive, which > does not sound right. We are not even sure if the partitions would > ever get a change event later. The partitions correctly mount at boot-time now. The luks partition

Re: [systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-24 Thread Kay Sievers
On Mon, Sep 24, 2012 at 2:32 PM, Lennart Poettering wrote: > On Mon, 24.09.12 12:22, Ali Lown ([email protected]) wrote: >> /dev/md0p1: >> P: /devices/virtual/block/md0/md0p1 >> E: DEVTYPE=partition >> E: SUBSYSTEM=block >> E: SYSTEMD_READY=0 >> E: TAGS=:systemd: >> /dev/md0p5 and /dev/md0p6 also

Re: [systemd-devel] [PATCH 2/2] journalctl: print correct timespan in verify

2012-09-24 Thread Lennart Poettering
On Sat, 22.09.12 21:45, Mirco Tischler ([email protected]) wrote: Hey! > The old code used a timestamp to print a timespan for unsealed journalfiles, > incorrectly showing things like 2230 days of unsealed entries. Print the > timespan > between the first and last entry instead. I commited your code

Re: [systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-24 Thread Lennart Poettering
On Mon, 24.09.12 12:22, Ali Lown ([email protected]) wrote: > FW back onto the mailing list: > > As the devices report ATM (after a manual mounting following systemd failure): > > /dev/md0: > P: /devices/virtual/block/md0 > N: md0 > L: 100 > S: disk/by-id/md-uuid-ee87365a:bf0826c6:0825cc4b:d1c49ec

Re: [systemd-devel] [PATCH] tmpfiles: allow Age to be set to 0d

2012-09-24 Thread Lennart Poettering
On Fri, 21.09.12 12:36, Tom Gundersen ([email protected]) wrote: > > On Tue, Sep 11, 2012 at 12:52 AM, Lennart Poettering > wrote: > > What is the intended behaviour of an age setting of 0? > > Not sure I understand your question. > > For all intents and purposes 0s is the same as 1us (or something

[systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-24 Thread Ali Lown
FW back onto the mailing list: As the devices report ATM (after a manual mounting following systemd failure): /dev/md0: P: /devices/virtual/block/md0 N: md0 L: 100 S: disk/by-id/md-uuid-ee87365a:bf0826c6:0825cc4b:d1c49ecb E: DEVLINKS=/dev/disk/by-id/md-uuid-ee87365a:bf0826c6:0825cc4b:d1c49ecb E:

Re: [systemd-devel] systemd-journald.service failed to start with systemd v189

2012-09-24 Thread Lennart Poettering
On Mon, 24.09.12 11:43, Nicolas Aguirre ([email protected]) wrote: > Hi, > > Sometimes (around 1% of the time) my system doesn't start correctly. > the init process takes 100% CPU. systemd-journal.service is not > started correctly, and systemd tries to restart it in a loop. > The log is

Re: [systemd-devel] [PATCH 1/2] journal: set seal even for readonly journalfiles

2012-09-24 Thread Lennart Poettering
On Sat, 22.09.12 21:45, Mirco Tischler ([email protected]) wrote: > journalctl needs to know wether the file has been sealed to > be able to do verification. Thanks, applied! Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel mailing list sys

Re: [systemd-devel] Hang when mounting NFS via systemd

2012-09-24 Thread Lennart Poettering
On Sun, 23.09.12 17:21, Bardur Arantsson ([email protected]) wrote: > Hi all, > > (Hopefully this list is appropriate for this -- please let me know if > there's a more appropriate one.) > > I'm having a little trouble with NFS mounts when starting them via > systemd, but I'm hoping that I ma

Re: [systemd-devel] Best way of configuring service

2012-09-24 Thread Lennart Poettering
On Sun, 23.09.12 23:04, Dan Tihelka ([email protected]) wrote: > Dear all, > I porting the start scripts of cruisecontrol system to the native systemd > service configuration. It goes quiet well, the only "trouble" I have with the > options configuration. > > Since cruisecontrol is written in

Re: [systemd-devel] bug 55213

2012-09-24 Thread Lennart Poettering
On Sat, 22.09.12 17:00, Allin Cottrell ([email protected]) wrote: > Just wanting to register the hope that this bug... > https://bugs.freedesktop.org/show_bug.cgi?id=55213 gets a high > priority. > > I was bitten by it with the systemd 190 release, and I gather it's > still outstanding in version

Re: [systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-24 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Sep 24, 2012 at 11:54:17AM +0200, Lennart Poettering wrote: > On Sun, 23.09.12 18:20, Ali Lown ([email protected]) wrote: > > > > > I responded too early, mdadm has caused its own set of problems: > > > > - During the boot process, the mdXpX.device don't get marked as active > > automatica

Re: [systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-24 Thread Lennart Poettering
On Sun, 23.09.12 18:20, Ali Lown ([email protected]) wrote: > > I responded too early, mdadm has caused its own set of problems: > > - During the boot process, the mdXpX.device don't get marked as active > automatically causing X.mount based on those devices to fail. > Once I get to the emergency

Re: [systemd-devel] [ANNOUNCE] systemd 190

2012-09-24 Thread Lennart Poettering
On Fri, 21.09.12 23:15, Eelco Dolstra ([email protected]) wrote: > > Hi, > > On 20/09/12 16:39, Lennart Poettering wrote: > > > * We will now mount the cgroup controllers cpu, cpuacct, > > cpuset and the controllers net_cls, net_prio together by > > default

[systemd-devel] systemd-journald.service failed to start with systemd v189

2012-09-24 Thread Nicolas Aguirre
Hi, Sometimes (around 1% of the time) my system doesn't start correctly. the init process takes 100% CPU. systemd-journal.service is not started correctly, and systemd tries to restart it in a loop. The log is here : http://pastebin.ca/2207127 >From my understanding, the problem begins with [

Re: [systemd-devel] [PATCH] Prevent cryptsetup from logging plain-text passphrases from /etc/crypttab

2012-09-24 Thread Lennart Poettering
On Sat, 22.09.12 00:47, Karel Tuma ([email protected]) wrote: > Just got bitten by this one. Instead, just warn the user legacy syntax > is no longer supported. Hmm, honestly, I think we should make this work. I don't see why a split out password file should be any more/less secure than cryptt

Re: [systemd-devel] [ANNOUNCE] systemd 191

2012-09-24 Thread Lennart Poettering
On Fri, 21.09.12 19:24, Dave Reisner ([email protected]) wrote: > > On Sat, Sep 22, 2012 at 12:41:49AM +0200, Lennart Poettering wrote: > > Heya, > > > > http://www.freedesktop.org/software/systemd/systemd-191.tar.xz > > > > This is primarily a bugfix release. > > This does not build from gi

Re: [systemd-devel] src/journal/test-mmap-cache.c is missing

2012-09-24 Thread Lennart Poettering
On Sat, 22.09.12 11:04, Khem Raj ([email protected]) wrote: > Hi Lennert > > Commit f801968466fed39d50d410b30ac828c26722cc95 added mmap_cache test > to Makefile.am > but the C file is missing. Sorry, corrected. I do wonder how this slipped through both "make distcheck" and Koji, though... Len

Re: [systemd-devel] Can't get systemd-cryptsetup to automount my /home

2012-09-24 Thread Lennart Poettering
On Sun, 23.09.12 13:33, Dennis Ek ([email protected]) wrote: > First of all: I'm running the latest Arch Linux (complete with the latest > systemd and everything else) and I've encrypted both my / and /home. > > Now, the problem is that I can't get my /home to automount once I've > mounted my

Re: [systemd-devel] [opensuse-factory] [RFC] sysvinit: plan B

2012-09-24 Thread Frederic Crozat
Le dimanche 23 septembre 2012 à 06:23 +0200, Jan Engelhardt a écrit : > On Friday 2012-09-07 15:43, Michal Vyskocil wrote > [http://lists.opensuse.org/opensuse-factory/2012-09/msg00396.html]: > > > >Name: vsftpd-sysv > >Description: Sysvinit script for vsftpd > >Supplements: packagageand(sysvinit:v

Re: [systemd-devel] [opensuse-factory] [RFC] sysvinit: plan B

2012-09-24 Thread Michal Vyskocil
On Mon, Sep 24, 2012 at 09:01:00AM +0100, Frederic Crozat wrote: > Le dimanche 23 septembre 2012 à 06:23 +0200, Jan Engelhardt a écrit : > > On Friday 2012-09-07 15:43, Michal Vyskocil wrote > > [http://lists.opensuse.org/opensuse-factory/2012-09/msg00396.html]: > > > > > >Name: vsftpd-sysv > > >De