Re: [systemd-devel] Fedora 16 and upstart

2013-05-06 Thread David Strauss
On Sat, May 4, 2013 at 3:14 AM, Mirco Tischler mt...@gmx.de wrote: No this won't work. Systemd is not a shell. Simply write a bash script where you do all your stuff and then put that as the ExecStart line. Many shell built-ins have real execuables, too. Just run which on them. -- David

[systemd-devel] Fedora NFS systemd units

2013-05-06 Thread Colin Guthrie
Hi, Just trying to work out a few problems on our (Mageia's) NFS packages. As with a lot of things we often take the units from Fedora (we will soon have a nicer way to share units I hope - need to get release out the way before I can help and put my bit of the work into this tho'). However I'm

Re: [systemd-devel] [RFC PATCH] logs-show: print multiline messages

2013-05-06 Thread Lennart Poettering
On Fri, 03.05.13 19:55, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Fri, May 03, 2013 at 06:51:35PM +0200, Lennart Poettering wrote: On Wed, 24.04.13 10:30, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: [0.019862] fedora kernel: CPU0: Thermal monitoring

[systemd-devel] [PATCH] systemd-delta: add support for drop-in snippets

2013-05-06 Thread Lukas Nykryn
--- TODO | 3 - man/systemd-delta.xml | 7 +++ src/delta/delta.c | 170 ++ 3 files changed, 164 insertions(+), 16 deletions(-) diff --git a/TODO b/TODO index 84ede8c..eab5f87 100644 --- a/TODO +++ b/TODO @@ -74,9 +74,6 @@

Re: [systemd-devel] Fedora NFS systemd units

2013-05-06 Thread Jóhann B. Guðmundsson
On 05/06/2013 09:27 AM, Colin Guthrie wrote: Hi, Just trying to work out a few problems on our (Mageia's) NFS packages. As with a lot of things we often take the units from Fedora (we will soon have a nicer way to share units I hope - need to get release out the way before I can help and put

[systemd-devel] Masking systemd-journal-flush and setting journal storage to persistent

2013-05-06 Thread Umut Tezduyar
Hi, I have masked the systemd-journal-flush.service and set the Storage=persistent in journald.conf. Then I have removed the /var/log/journal folder. My expectation on next boot was to see the journal files in /var/log/journal but they have stayed in /run/log/journal. According to man journald,

[systemd-devel] Patch to show systemd generators

2013-05-06 Thread Umut Tezduyar
Hi, Would you be interested in a patch that shows Systemd + Generators or maybe only Generators? Sample is attached. Thanks[image: Inline image 1] image.png___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH 2/2 v2] systemd-sleep: add support for freeze and standby

2013-05-06 Thread Lennart Poettering
On Sat, 04.05.13 11:38, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: A new config file /etc/systemd/sleep.conf is added. It is parsed by systemd-sleep and logind. The strings written to /sys/power/disk and /sys/power/state can be configured. This allows people to use different modes

Re: [systemd-devel] [PATCH 1/1] RFC: Set the Default OOM Score from configuration file

2013-05-06 Thread Lennart Poettering
On Sun, 05.05.13 18:08, Umut Tezduyar (u...@tezduyar.com) wrote: On Fri, May 3, 2013 at 4:58 PM, Lennart Poettering lenn...@poettering.netwrote: On Sun, 28.04.13 20:37, Umut Tezduyar (u...@tezduyar.com) wrote: Hi, Should DefaultOOMScore= and DefaultLimit***= be really under

Re: [systemd-devel] Patch to show systemd generators

2013-05-06 Thread Lennart Poettering
On Mon, 06.05.13 14:00, Umut Tezduyar (u...@tezduyar.com) wrote: Hi, Would you be interested in a patch that shows Systemd + Generators or maybe only Generators? Well, I guess it makes sense to show how much time is spent in the generators and how much time is spent in systemd's own unit

Re: [systemd-devel] Patch to show systemd generators

2013-05-06 Thread Tom Gundersen
On Mon, May 6, 2013 at 2:51 PM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 06.05.13 14:00, Umut Tezduyar (u...@tezduyar.com) wrote: Would you be interested in a patch that shows Systemd + Generators or maybe only Generators? Well, I guess it makes sense to show how much time is

Re: [systemd-devel] [PATCH] kernel-install: add default 50-depmod.install script

2013-05-06 Thread Harald Hoyer
On 04/30/2013 06:04 PM, har...@redhat.com wrote: From: Harald Hoyer har...@redhat.com Do the depmod in the kernel-install hooks, so hooks can produce/install kernel modules and be part of the depmod. --- Makefile.am | 7 ---

[systemd-devel] [PATCH] man: fix typos in systemd.special

2013-05-06 Thread Ross Lagerwall
--- man/systemd.special.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/systemd.special.xml b/man/systemd.special.xml index 61d45ff..7164b1e 100644 --- a/man/systemd.special.xml +++ b/man/systemd.special.xml @@ -784,7 +784,7 @@

Re: [systemd-devel] [PATCH] configure.ac: check if AM_PATH_LIBGCRYPT is a defined macro

2013-05-06 Thread Michael Biebl
Say Lennart prepares a new upstream release and forgot to install libgcrypt-devel, then he silently produces a dist tarball which will be broken. I'm not sure I like that behaviour. Michael 2013/5/6 Elia Pinto gitter.spi...@gmail.com: To search the libgcrypt support the developer are advised

Re: [systemd-devel] [PATCH] configure.ac: check if AM_PATH_LIBGCRYPT is a defined macro

2013-05-06 Thread Zbigniew Jędrzejewski-Szmek
On Mon, May 06, 2013 at 07:35:18PM +0200, Michael Biebl wrote: Say Lennart prepares a new upstream release and forgot to install libgcrypt-devel, then he silently produces a dist tarball which will be broken. I'm not sure I like that behaviour. It would be better to fix gcrypt to support

[systemd-devel] Question regarding Also= in [Install]

2013-05-06 Thread Colin Guthrie
From the man page: Additional units to install when this unit is installed. If the user requests installation of a unit with this option configured, systemctl enable will automatically install units listed in this option as well. What also happens however is that it if systemctl disable is

Re: [systemd-devel] [PATCH] configure.ac: check if AM_PATH_LIBGCRYPT is a defined macro

2013-05-06 Thread Lennart Poettering
On Mon, 06.05.13 09:46, Elia Pinto (gitter.spi...@gmail.com) wrote: To search the libgcrypt support the developer are advised to use the automake macro AM_PATH_LIBGCRYPT. But if libgcrypt-devel is not installed the macro does not exist yet and so configure goes wrong. This patch test first

[systemd-devel] [PATCH] configure.ac: check if AM_PATH_LIBGCRYPT is a defined macro

2013-05-06 Thread Elia Pinto
To search the libgcrypt support the developer are advised to use the automake macro AM_PATH_LIBGCRYPT. But if libgcrypt-devel is not installed the macro does not exist yet and so configure goes wrong. This patch test first whether the macro is defined, and if not it set have_lgcrypt to false.

Re: [systemd-devel] Fedora NFS systemd units

2013-05-06 Thread Guillaume Rousse
Le 06/05/2013 11:27, Colin Guthrie a écrit : Also, It is my understanding (and feel free to correct me here) but nfs-idmap is often needed on client systems also? I'm sure I had to configure a client in the past to ensure idmap was running in order to avoid permissions problems and users getting

Re: [systemd-devel] Masking systemd-journal-flush and setting journal storage to persistent

2013-05-06 Thread Lennart Poettering
On Mon, 06.05.13 12:41, Umut Tezduyar (u...@tezduyar.com) wrote: Hi, I have masked the systemd-journal-flush.service and set the Storage=persistent in journald.conf. Then I have removed the /var/log/journal folder. My expectation on next boot was to see the journal files in

Re: [systemd-devel] Masking systemd-journal-flush and setting journal storage to persistent

2013-05-06 Thread Lennart Poettering
On Mon, 06.05.13 22:39, Lennart Poettering (lenn...@poettering.net) wrote: According to man journald, it shouldn't be necessary to send the SIGUSR1 as systemd-journal-flush.service does. It was my expectation that systemd would eventually carry journal to /var/. The man page is actually

Re: [systemd-devel] Question regarding Also= in [Install]

2013-05-06 Thread Lennart Poettering
On Mon, 06.05.13 19:29, Colin Guthrie (gm...@colin.guthr.ie) wrote: From the man page: Additional units to install when this unit is installed. If the user requests installation of a unit with this option configured, systemctl enable will automatically install units listed in this

Re: [systemd-devel] [PATCH] man: fix typos in systemd.special

2013-05-06 Thread Lennart Poettering
On Mon, 06.05.13 15:32, Ross Lagerwall (rosslagerw...@gmail.com) wrote: Applied! Thanks! --- man/systemd.special.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/systemd.special.xml b/man/systemd.special.xml index 61d45ff..7164b1e 100644 ---

Re: [systemd-devel] [PATCH] zsh_completion: complete only pids for systemd-coredumpctl

2013-05-06 Thread Lennart Poettering
On Sun, 05.05.13 18:09, Daniel Wallace (danielwall...@gtmanfred.com) wrote: Instead of completing the whole line, which doesn't work, only complete the pid, but still show the whole line so the user can see which command was which. Thanks! Applied! Lennart -- Lennart Poettering - Red Hat,

Re: [systemd-devel] [PATCH 2/2 v2] systemd-sleep: add support for freeze and standby

2013-05-06 Thread Lennart Poettering
On Mon, 06.05.13 14:26, Lennart Poettering (lenn...@poettering.net) wrote: On Sat, 04.05.13 11:38, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: A new config file /etc/systemd/sleep.conf is added. It is parsed by systemd-sleep and logind. The strings written to /sys/power/disk

Re: [systemd-devel] util-linux logger vs systemd-cat

2013-05-06 Thread Lennart Poettering
On Tue, 23.04.13 10:35, Colin Walters (walt...@verbum.org) wrote: I found myself in a situation recently where I wanted to log a message from a shell script that included MESSAGE_ID. As far as I can tell there's no utility binary for this. True. systemd ships systemd-cat which connects to

Re: [systemd-devel] [RFC][PATCH] Escape unit name from udev

2013-05-06 Thread Lennart Poettering
On Tue, 23.04.13 13:34, MUNEDA Takahiro (muneda.takah...@jp.fujitsu.com) wrote: This patch escapes a unit name which was derived from udev. Please imagine following udev rule. ACTION==online|offline, TAG+=systemd, ENV{SYSTEMD_WANTS}=muneda@%p.service ACTION==online|offline,

[systemd-devel] wake from sleep on systemd timer

2013-05-06 Thread Kai Krakow
Hey list, Are there any plans to enable waking the system from sleep upon some timer events defined in systemd units? By no means it should wake up on every timer. But it should be able to wake the system for specially labelled timer units and after finishing them put the system back to sleep

Re: [systemd-devel] [RFC][PATCH] Escape unit name from udev

2013-05-06 Thread Kay Sievers
On Mon, May 6, 2013 at 11:12 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 23.04.13 13:34, MUNEDA Takahiro (muneda.takah...@jp.fujitsu.com) wrote: This patch escapes a unit name which was derived from udev. Please imagine following udev rule. ACTION==online|offline,

[systemd-devel] systemd user instance

2013-05-06 Thread Kai Krakow
Hey list, I've built a server with systemd and it really worked out well. Fast booting (that means shorter maintenance times) and most important: Reliable service teardown and auto-restarts of crashed services. And yeah, I love the journal. I'm logging everything there. But now I want to (and

Re: [systemd-devel] systemd user instance

2013-05-06 Thread Jóhann B. Guðmundsson
On 05/06/2013 09:44 PM, Kai Krakow wrote: But now I want to (and need to) give some users cron-like abilities. I discovered that systemd supports user instances - perfect! Then install cronie... JBG ___ systemd-devel mailing list

Re: [systemd-devel] wake from sleep on systemd timer

2013-05-06 Thread Kai Krakow
Lennart Poettering lenn...@poettering.net schrieb: Are there any plans to enable waking the system from sleep upon some timer events defined in systemd units? By no means it should wake up on every timer. But it should be able to wake the system for specially labelled timer units and after

Re: [systemd-devel] systemd user instance

2013-05-06 Thread Kai Krakow
Jóhann B. Guðmundsson johan...@gmail.com schrieb: But now I want to (and need to) give some users cron-like abilities. I discovered that systemd supports user instances - perfect! Then install cronie... That's the obvious solution but a little bit counter-productive with respect to my

[systemd-devel] [ANNOUNCE] systemd 203

2013-05-06 Thread Lennart Poettering
Heya, http://www.freedesktop.org/software/systemd/systemd-203.tar.xz This is probably a good release to synchronize a distribution on. For example, it is our goal that this is the version we will include in Fedora 19, more or less. d systemd git otoh will probably receive more invasive changes

Re: [systemd-devel] journalctl v202, loop endlessly

2013-05-06 Thread Cristian Rodríguez
El 05/05/13 13:17, Sébastien Luttringer escribió: Hello, journcalctl --no-pager or journalctl | cat produce enless content by looping accross journal entries. The date in lines restart from the beginning when the end is reached. We have reports about this behaviour in openSUSE as well, the

Re: [systemd-devel] systemd user instance

2013-05-06 Thread David Strauss
I don't recommend spawning user instances of systemd just for their timer units to run. Each instance comes with a few MB of overhead, and you'll have no fun trying to spawn sessions in a way isolated from (but somehow integrated with) the PAM session initialization process. On Mon, May 6, 2013

Re: [systemd-devel] systemd user instance

2013-05-06 Thread Kok, Auke-jan H
On Mon, May 6, 2013 at 2:44 PM, Kai Krakow hurikha...@gmail.com wrote: Hey list, I've built a server with systemd and it really worked out well. Fast booting (that means shorter maintenance times) and most important: Reliable service teardown and auto-restarts of crashed services. And yeah, I