Re: [systemd-devel] How to get systemd to leave a USB serial console session alone when hadware is pulled?

2013-05-21 Thread Andrey Borzenkov
On Wed, May 22, 2013 at 8:12 AM, Kaz Kylheku wrote: > > On Wed, 22 May 2013 06:55:56 +0400, Andrey Borzenkov > wrote: >> В Tue, 21 May 2013 15:17:23 -0700 Kaz Kylheku пишет: >>> The workaround is, at that point, to unplug the device >>> and plug it back in. This will trigger a udev event (with >

Re: [systemd-devel] [PATCH] [RFCv7] Optionally save core dumps as plain files

2013-05-21 Thread Tollef Fog Heen
]] Oleksii Shevchuk > > > For security reasons. It will be better if user will not have access to > > > own cores by default (situation is the same with journal backend in > > > upstream now). > > > Why? > > When apps like gpg/lastpass/whatelse-with-passwords crashes, then user > probably > wi

Re: [systemd-devel] RFC: Predictable Network Interface Names

2013-05-21 Thread Ian Pilcher
On 01/08/2013 12:27 PM, Lennart Poettering wrote: > On Tue, 08.01.13 12:19, Ian Pilcher (arequip...@gmail.com) wrote: >> Will there still be a way to turn this off from the kernel command line? >> (I don't see anything on the wiki page.) > > biosdevname had this, and we have been thinking of addin

Re: [systemd-devel] How to get systemd to leave a USB serial console session alone when hadware is pulled?

2013-05-21 Thread Kaz Kylheku
On Wed, 22 May 2013 06:55:56 +0400, Andrey Borzenkov wrote: > В Tue, 21 May 2013 15:17:23 -0700 Kaz Kylheku пишет: >> The workaround is, at that point, to unplug the device >> and plug it back in. This will trigger a udev event (with >> the "reinserted" attribute equal to "0": since no TTY sess

Re: [systemd-devel] How to get systemd to leave a USB serial console session alone when hadware is pulled?

2013-05-21 Thread Andrey Borzenkov
В Tue, 21 May 2013 15:17:23 -0700 Kaz Kylheku пишет: > > On Thu, 16 May 2013 19:58:35 +0400, Andrey Borzenkov > wrote: > > В Wed, 15 May 2013 21:19:38 -0700 > > Kaz Kylheku пишет: > > > >> > >> Can you at least tell me how to get agetty to start on a system > >> that does not have my patch, w

Re: [systemd-devel] How to get systemd to leave a USB serial console session alone when hadware is pulled?

2013-05-21 Thread Kaz Kylheku
On Thu, 16 May 2013 19:58:35 +0400, Andrey Borzenkov wrote: > В Wed, 15 May 2013 21:19:38 -0700 > Kaz Kylheku пишет: > >> >> Can you at least tell me how to get agetty to start on a system >> that does not have my patch, when a USB-Serial converter is >> inserted which is marked as a console? >

Re: [systemd-devel] System units packaging and rpmlint

2013-05-21 Thread Michael Scherer
Le lundi 20 mai 2013 à 19:58 -0700, T.C. Hollingsworth a écrit : > On Sat, May 18, 2013 at 2:44 PM, Michael Scherer wrote: > > So I planned to warn if the unit are directly in /lib, but I know there > > is some distribution that didn't choose this path yet. So when /usr is > > not merged, what is

[systemd-devel] Identical mount resulting in different options

2013-05-21 Thread Florian Lindner
Hello! I am on an Arch Linux machine. Kernel is 3.9.3 x86_64, systemd 204. I have two identical hard drives. Both have a gparted created GPT table and a CLI created ext4 filesystem with no options other than -L (label). Archiv_1 was created like two weeks before Archiv_2 (which was created right

Re: [systemd-devel] [PATCH] [RFCv7] Optionally save core dumps as plain files

2013-05-21 Thread Oleksii Shevchuk
> > For security reasons. It will be better if user will not have access to > > own cores by default (situation is the same with journal backend in > > upstream now). > Why? When apps like gpg/lastpass/whatelse-with-passwords crashes, then user probably will not be very happy to have all that dat

Re: [systemd-devel] [PATCH] [RFCv7] Optionally save core dumps as plain files

2013-05-21 Thread Colin Walters
On Tue, 2013-05-21 at 17:05 +0300, Oleksii Shevchuk wrote: > For security reasons. It will be better if user will not have access to > own cores by default (situation is the same with journal backend in > upstream now). Why? > Yeah, I'll add some, if idea with temporary files will be accepted in

Re: [systemd-devel] [PATCH] systemctl: add command default-target

2013-05-21 Thread Zbigniew Jędrzejewski-Szmek
On Fri, May 17, 2013 at 03:14:15PM +0200, Vaclav Pavlin wrote: > From: Václav Pavlín > > systemctl default-target NAME will set the default target. > If the NAME is not specified, the default target is printed out. Hi, this departs from current command structure in systemctl, where there are alwa

Re: [systemd-devel] [PATCH] [RFCv7] Optionally save core dumps as plain files

2013-05-21 Thread Oleksii Shevchuk
> Ideally for this case it'd be a pipe; that way we avoid writing a > potentially large file to disk only to write a smaller version again. I thought about that. With cores there is no way to do transparent piping with postproc. All tools mmap cores, so in real world they will be dumped anyway..

Re: [systemd-devel] Make systemctl is-enabled work for templated units

2013-05-21 Thread Michael Tremer
On Tue, 2013-05-21 at 15:30 +0200, Zbigniew Jędrzejewski-Szmek wrote: > On Sun, May 19, 2013 at 03:45:48PM +0200, Michael Tremer wrote: > > Hello guys, > > > > in this mail, you will find a patch which resolves the problem, that > > 'systemctl is-enabled' does not work for templated units. > Appli

Re: [systemd-devel] [PATCH 2/2] man: Document missing options

2013-05-21 Thread Zbigniew Jędrzejewski-Szmek
On Fri, May 17, 2013 at 03:38:13PM +0200, Jan Janssen wrote: > --- > man/hostnamectl.xml| 8 > man/journalctl.xml | 10 ++ > man/localectl.xml | 8 > man/timedatectl.xml| 8 > src/hostname/hostnamectl.c | 1 + > src/journal/co

Re: [systemd-devel] Make systemctl is-enabled work for templated units

2013-05-21 Thread Zbigniew Jędrzejewski-Szmek
On Sun, May 19, 2013 at 03:45:48PM +0200, Michael Tremer wrote: > Hello guys, > > in this mail, you will find a patch which resolves the problem, that > 'systemctl is-enabled' does not work for templated units. Applied! > See also https://bugs.freedesktop.org/show_bug.cgi?id=55318 for > reference

Re: [systemd-devel] [PATCH] service: kill processes with SIGKILL on watchdog failure

2013-05-21 Thread Zbigniew Jędrzejewski-Szmek
On Sun, May 19, 2013 at 12:10:55PM +0200, Michael Olbrich wrote: > Just calling service_enter_dead() does not kill any processes. > As a result, the old process may still be running when the new one is > started. > After a watchdog failure the service is in an undefined state. > Using the normal sh

Re: [systemd-devel] [PATCH] systemctl: honor "--no-legend" in 'list-sockets'

2013-05-21 Thread Zbigniew Jędrzejewski-Szmek
On Mon, May 20, 2013 at 11:20:15AM +0300, Mantas Mikulėnas wrote: > --- > src/systemctl/systemctl.c | 22 +- > 1 file changed, 13 insertions(+), 9 deletions(-) Applied! Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freed

Re: [systemd-devel] [PATCH] [RFCv7] Optionally save core dumps as plain files

2013-05-21 Thread Colin Walters
On Tue, 2013-05-14 at 19:09 +0300, Oleksii Shevchuk wrote: > Introduce configuration file: /etc/systemd/coredump.conf with > configurable core dumps backend storages (journal/file/both/none), > per storage size limits and preprocessing. Who would want "both" and why? Oh, though maybe you answer t

Re: [systemd-devel] shell / systemd config files

2013-05-21 Thread Colin Guthrie
'Twas brillig, and Andrey Borzenkov at 21/05/13 11:26 did gyre and gimble: > On Tue, May 21, 2013 at 1:11 PM, Colin Guthrie wrote: >> 'Twas brillig, and James Buren at 20/05/13 18:28 did gyre and gimble: >>> Files such as /etc/machine-info have an incompatibility with systemd in >>> regards to ho

Re: [systemd-devel] shell / systemd config files

2013-05-21 Thread Andrey Borzenkov
On Tue, May 21, 2013 at 1:11 PM, Colin Guthrie wrote: > 'Twas brillig, and James Buren at 20/05/13 18:28 did gyre and gimble: >> Files such as /etc/machine-info have an incompatibility with systemd in >> regards to how >> it writes and/or parses them. Take the following sample: >> >> PRETTY_HOSTN

Re: [systemd-devel] shell / systemd config files

2013-05-21 Thread Colin Guthrie
'Twas brillig, and James Buren at 20/05/13 18:28 did gyre and gimble: > Files such as /etc/machine-info have an incompatibility with systemd in > regards to how > it writes and/or parses them. Take the following sample: > > PRETTY_HOSTNAME="\'\"\$\`\\" > > Systemd will translate this to: '"$`\ >

Re: [systemd-devel] System units packaging and rpmlint

2013-05-21 Thread Frederic Crozat
Le lundi 20 mai 2013 à 19:58 -0700, T.C. Hollingsworth a écrit : > On Sat, May 18, 2013 at 2:44 PM, Michael Scherer wrote: > > So I planned to warn if the unit are directly in /lib, but I know there > > is some distribution that didn't choose this path yet. So when /usr is > > not merged, what is