[systemd-devel] [PATCHv3] use systemd.debug on the kernel command line, not "debug"

2014-04-02 Thread Hannes Reinecke
From: Greg KH If the kernel is started with "debug", that's for the kernel to switch into debug mode. We should rely on a namespace for our options, like everything else (with the exception of "quiet"). Some people want to only debug the kernel, not systemd, and the opposite as well so make eve

Re: [systemd-devel] [PATCH v2] use systemd.debug on the kernel command line, not "debug"

2014-04-02 Thread Hannes Reinecke
On 04/03/2014 03:02 AM, Greg KH wrote: > If the kernel is started with "debug", that's for the kernel to switch > into debug mode. We should rely on a namespace for our options, like > everything else (with the exception of "quiet"). Some people want to > only debug the kernel, not systemd, and t

[systemd-devel] [PATCH v2] use systemd.debug on the kernel command line, not "debug"

2014-04-02 Thread Greg KH
If the kernel is started with "debug", that's for the kernel to switch into debug mode. We should rely on a namespace for our options, like everything else (with the exception of "quiet"). Some people want to only debug the kernel, not systemd, and the opposite as well so make everyone happy. di

Re: [systemd-devel] [PATCH] use systemd.debug on the kernel command line, not "debug"

2014-04-02 Thread Greg KH
On Wed, Apr 02, 2014 at 07:43:14PM -0400, Dave Reisner wrote: > On Wed, Apr 02, 2014 at 03:27:52PM -0700, Greg KH wrote: > > If the kernel is started with "debug", that's for the kernel to switch > > into debug mode. We should rely on a namespace for our options, like > > everything else (with the

Re: [systemd-devel] [PATCH] use systemd.debug on the kernel command line, not "debug"

2014-04-02 Thread Dave Reisner
On Wed, Apr 02, 2014 at 03:27:52PM -0700, Greg KH wrote: > If the kernel is started with "debug", that's for the kernel to switch > into debug mode. We should rely on a namespace for our options, like > everything else (with the exception of "quiet"). Some people want to > only debug the kernel,

[systemd-devel] [PATCH] use systemd.debug on the kernel command line, not "debug"

2014-04-02 Thread Greg KH
If the kernel is started with "debug", that's for the kernel to switch into debug mode. We should rely on a namespace for our options, like everything else (with the exception of "quiet"). Some people want to only debug the kernel, not systemd, and the opposite as well so make everyone happy. d

Re: [systemd-devel] Systemd 212 RemoveIPC=yes breaks postgresql

2014-04-02 Thread David Timothy Strauss
Oh dear. Perhaps there's a way to use cgroups data to more selectively do cleanup when there's overlap between regular users and service users? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinf

[systemd-devel] Systemd 212 RemoveIPC=yes breaks postgresql

2014-04-02 Thread Alex Hunsaker
Systemd 212 defaults to remove all IPC (including SYSV memory) when a user "fully" logs out. Because the postgresql service does not count as a login, if you ssh in as postgres (I'm rsycing wal files) and then logout. Systemd removes the postgres SYSV memory bringing down postgres with fun errors

[systemd-devel] [PATCH] networkd: smooth transition from ipv4ll to dhcp address

2014-04-02 Thread Umut Tezduyar Lindskog
Currently when both ipv4ll and dhcp are enabled, ipv4ll address (if one has been claimed) is removed when dhcp address is aquired. This is not the best thing to do since there might be clients unaware of the removal trying to communicate. This patch provides a smooth transition between ipv4ll and

Re: [systemd-devel] [PATCH] backlight: do nothing if max_brightness is 0

2014-04-02 Thread Thomas Bächler
Am 27.03.2014 23:41, schrieb Thomas Bächler: > On virtually any newer Asus mainboard, the eeepc-wmi driver is loaded. > It exposes a backlight device despite the lack of any physical backlight > devices. This fake backlight device has max_brightness set to 0. Since > the introduction of the clamp_b

[systemd-devel] [PATCH] core: Make sure a stamp file exists for all Persistent=true timers

2014-04-02 Thread Thomas Bächler
If a persistent timer has no stamp file yet, it behaves just like a normal timer until it runs for the first time. If the system is always shut down while the timer is supposed to run, a stamp file is never created and Peristent=true has no effect. This patch fixes this by creating a stamp file wi

Re: [systemd-devel] How to handle errors in systemd

2014-04-02 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Apr 02, 2014 at 07:12:57PM +0530, shubham sharma wrote: > Hi, > > I have recently switched to RHEL7. I had earlier written a sample service > script "test_service.sh" in the /etc/init.d folder and i used the usual > method > $>/etc/init.d/test_service.sh start > to start the script and > $

[systemd-devel] How to handle errors in systemd

2014-04-02 Thread shubham sharma
Hi, I have recently switched to RHEL7. I had earlier written a sample service script "test_service.sh" in the /etc/init.d folder and i used the usual method $>/etc/init.d/test_service.sh start to start the script and $>/etc/init.d/test_service.sh stop to stop the script. the service script test_s

Re: [systemd-devel] systemd-networkd and After=network.target

2014-04-02 Thread Andrey Borzenkov
On Wed, Apr 2, 2014 at 3:22 PM, Matthew Monaco wrote: > On 04/02/2014 03:41 AM, Ivan Shapovalov wrote: >> Hello all, >> >> I've noticed that systemd-networkd.service (ordered Before=network.target) >> finishes its startup before the connection is established/failed. Because of >> this, some networ

Re: [systemd-devel] systemd-networkd and After=network.target

2014-04-02 Thread Matthew Monaco
On 04/02/2014 03:41 AM, Ivan Shapovalov wrote: > Hello all, > > I've noticed that systemd-networkd.service (ordered Before=network.target) > finishes its startup before the connection is established/failed. Because of > this, some networking daemons ordered After=network.target (like openvpn) ar

Re: [systemd-devel] systemd-networkd and After=network.target

2014-04-02 Thread Umut Tezduyar Lindskog
Hi Ivan, On Wed, Apr 2, 2014 at 11:41 AM, Ivan Shapovalov wrote: > Hello all, > > I've noticed that systemd-networkd.service (ordered Before=network.target) > finishes its startup before the connection is established/failed. Because of > this, some networking daemons ordered After=network.targe

[systemd-devel] systemd-networkd and After=network.target

2014-04-02 Thread Ivan Shapovalov
Hello all, I've noticed that systemd-networkd.service (ordered Before=network.target) finishes its startup before the connection is established/failed. Because of this, some networking daemons ordered After=network.target (like openvpn) are prone to failures when they attempt to connect at star