Re: [systemd-devel] Why does sysv generator translate Required-Start keyword into an After= ordering dep only ?

2016-03-07 Thread Lukáš Nykrýn
Francis Moreau píše v Po 07. 03. 2016 v 08:04 +0100: > Hello, > > Sorry for the long delay. > > On Fri, Feb 26, 2016 at 5:05 AM, Andrei Borzenkov < > arvidj...@gmail.com> wrote: > > 26.02.2016 00:55, Francis Moreau пишет: > > > > > > But now I'm wondering how the following case is handled: a >

Re: [systemd-devel] Proposal: Add biosdevname naming scheme to systemd

2016-02-05 Thread Lukáš Nykrýn
Jordan Hargrave píše v Čt 04. 02. 2016 v 13:24 -0600: > > > On Tue, Oct 20, 2015 at 10:04 PM, Jordan Hargrave > wrote: > > On Tue, Oct 20, 2015 at 3:02 PM, Andrei Borzenkov < > > arvidj...@gmail.com> wrote: > > > 20.10.2015 17:30, Jordan Hargrave пишет: > > > > > >> On Tue,

Re: [systemd-devel] [packaging] split of systemd package

2015-11-16 Thread Lukáš Nykrýn
Zbigniew Jędrzejewski-Szmek píše v So 14. 11. 2015 v 02:14 +: > Hi, > > implementing the split in Fedora deserves a Changes page, > because of the need to coordinate with other components of the > distribution (comps, some packages, anaconda): >

Re: [systemd-devel] [packaging] split of systemd package

2015-11-12 Thread Lukáš Nykrýn
Zbigniew Jędrzejewski-Szmek píše v Čt 12. 11. 2015 v 06:13 +: > I prepared a package for rawhide with [1,2] the following > subpackages: > systemd-journal-remote (remote, upload, gatewayd) > systemd-container (nspawn, machinectl, machined, importd, pull, var > -lib-machines.mount) >

Re: [systemd-devel] [packaging] split of systemd package

2015-11-12 Thread Lukáš Nykrýn
Zbigniew Jędrzejewski-Szmek píše v Čt 12. 11. 2015 v 05:42 +: > On Wed, Nov 11, 2015 at 02:33:52PM +0100, Lukáš Nykrýn wrote: > > > > systemd-firstboot (firstboot,sysusers?,factory stuff?) > > > > > > I'd really not bother with this stuff.

Re: [systemd-devel] [packaging] split of systemd package

2015-11-11 Thread Lukáš Nykrýn
> I thought the conscious was not recommending downstream to split > systemd > into subpackages? > I think the previous discussion was more about if we should split core components of systemd like systemd-logind, which still should stay in the main package. And most of distributions split

[systemd-devel] [packaging] split of systemd package

2015-11-11 Thread Lukáš Nykrýn
Hi, During systemd.conf we have discussed some recommendation for downstreams, how they could split systemd to subpackages, so lets continue that discussion here. Personally I don't think it makes sense to split the package to get a smaller core package. Most of our binaries are just few KBs.

Re: [systemd-devel] Backport git notes

2015-08-31 Thread Lukáš Nykrýn
Lennart Poettering píše v Čt 27. 08. 2015 v 18:02 +0200: > Heya, > > I used to add "Backport: bugfix" style "git notes" to systemd commits > I deemed backport-worthy. These headers have not been added to any > commits since we moved to github (primarily, because the notes > weren't > ported over

Re: [systemd-devel] SysVInit service migration to systemd

2015-06-26 Thread Lukáš Nykrýn
Lesley Kimmel píše v Pá 26. 06. 2015 v 08:15 -0500: Hi all; I've been working with RHEL5/6 for the past several years and have developed many init scripts/services which generally use lock files and PID files to allow for tracking of the service status. We are moving to RHEL7 (systemd) in

Re: [systemd-devel] remote-fs dependency/ordering on network

2015-06-23 Thread Lukáš Nykrýn
Jan Synacek píše v Út 23. 06. 2015 v 15:39 +0200: Lennart Poettering lenn...@poettering.net writes: On Mon, 22.06.15 14:49, Jan Synacek (jsyna...@redhat.com) wrote: Lukáš Nykrýn lnyk...@redhat.com writes: Jan Synáček píše v Čt 18. 06. 2015 v 15:41 +0200: Is remote-fs.target

Re: [systemd-devel] remote-fs dependency/ordering on network

2015-06-18 Thread Lukáš Nykrýn
Jan Synáček píše v Čt 18. 06. 2015 v 15:41 +0200: Is remote-fs.target somehow dependent/ordered on network.target or network-online.target? I can't find anything that would suggest it actually is. Cheers, If I am not mistaken remote-fs.target should be after all netdev mounts and netdev

Re: [systemd-devel] [PATCH v2 1/2] systemctl: drop hardcoded chkconfig invocation

2015-05-28 Thread Lukáš Nykrýn
Lennart Poettering píše v Čt 28. 05. 2015 v 13:05 +0200: On Wed, 27.05.15 18:08, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello again, as discussed previously this second variant of un-hardcoding chkconfig now uses the proposed /usr/lib/systemd/systemd-sysv-install abstraction.

Re: [systemd-devel] [PATCH 1/1] Ensure that /run/systemd/network exists

2015-05-27 Thread Lukáš Nykrýn
Lennart Poettering píše v St 27. 05. 2015 v 15:01 +0200: On Wed, 27.05.15 14:34, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey Peter, Peter Lemenkov [2015-05-27 15:30 +0300]: This directory is used for storing transient/generated network service files. Unfortunately it doesn't

Re: [systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Lukáš Nykrýn
Lennart Poettering píše v St 27. 05. 2015 v 15:22 +0200: On Wed, 27.05.15 15:17, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey Lennart, Lennart Poettering [2015-05-27 15:08 +0200]: /usr/lib/lsb/install_initd /etc/init.d/example.com-coffeed /usr/lib/lsb/remove_initd

Re: [systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Lukáš Nykrýn
Martin Pitt píše v St 27. 05. 2015 v 17:45 +0200: Hey Lukáš, Lukáš Nykrýn [2015-05-27 17:32 +0200]: We already have /usr/lib/lsb/install_initd in fedora and rhel, it is in redhat-lsb-core, but basically it is just a symlink to chkconfig. Ah, that's not technically correct, as /usr/lib

Re: [systemd-devel] [PATCH] mount: don't run quotaon only for network filesystems

2015-04-01 Thread Lukáš Nykrýn
Lennart Poettering píše v Út 31. 03. 2015 v 19:30 +0200: On Mon, 30.03.15 14:42, Lukas Nykryn (lnyk...@redhat.com) wrote: If you havei for example ext4 on iscsi devices it is possible to setup qoutas there. Unfortunatelly because such fstab entry contains _netdev, systemd will not add

Re: [systemd-devel] [PATCH] systemctl: list-units -r should not fail with older systemd in container

2015-04-01 Thread Lukáš Nykrýn
Lennart Poettering píše v Út 31. 03. 2015 v 19:28 +0200: On Tue, 31.03.15 16:10, Lukas Nykryn (lnyk...@redhat.com) wrote: Older version of systemd does not have d-bus method ListUnitsFiltered, so systemctl -r will fail just with: I think I'd really prefer if we'd simply fall back to

Re: [systemd-devel] experiments with 'minimal build'

2015-03-19 Thread Lukáš Nykrýn
Alison Chaiken píše v St 18. 03. 2015 v 00:07 -0700: After reading about the 'minimal build' on the systemd wiki, I decided to experiment. 0. WIth basically all options turned on, in a Fedora 21 Qemu, systemd used about 300 MB of memory according to 'sudo memstat -p 1'. 1. With

Re: [systemd-devel] [PATCH] console-getty.service: don't start when /dev/console is missing

2015-03-17 Thread Lukáš Nykrýn
Thanks for review. Applied. Lukas Zbigniew Jędrzejewski-Szmek píše v Po 16. 03. 2015 v 03:32 +0100: Looks reasonable. Zbyszek On Fri, Mar 13, 2015 at 12:57:18PM +0100, Lukas Nykryn wrote: From: Jan Pazdziora jpazdzi...@redhat.com Create minimal image which runs systemd FROM

Re: [systemd-devel] newer systemd for rhel7/centos7

2014-11-21 Thread Lukáš Nykrýn
Rahul Sundaram píše v Čt 20. 11. 2014 v 20:20 -0500: Hi On Thu, Nov 20, 2014 at 11:24 AM, Lukáš Nykrýn wrote: Hi, rhel7 / centos7 is shipped with heavily patched systemd 208, which does not contain new interesting features and for us

[systemd-devel] newer systemd for rhel7/centos7

2014-11-20 Thread Lukáš Nykrýn
Hi, rhel7 / centos7 is shipped with heavily patched systemd 208, which does not contain new interesting features and for us it is a backporting nightmare. I have prepared an experimental repo with newer version of systemd for epel7. Currently it is based on 217 from Fedora rawhide and final goal

Re: [systemd-devel] newer systemd for rhel7/centos7

2014-11-20 Thread Lukáš Nykrýn
Jóhann B. Guðmundsson píše v Čt 20. 11. 2014 v 18:10 +: On 11/20/2014 04:24 PM, Lukáš Nykrýn wrote: Hi, rhel7 / centos7 is shipped with heavily patched systemd 208, which does not contain new interesting features and for us it is a backporting nightmare. I have prepared

Re: [systemd-devel] newer systemd for rhel7/centos7

2014-11-20 Thread Lukáš Nykrýn
intrigeri píše v Čt 20. 11. 2014 v 21:40 +0100: Lukáš Nykrýn wrote (20 Nov 2014 20:35:05 GMT) : (is debian still using 208? :) ). Nope, we have v215 in Debian testing/sid :) Cheers! -- intrigeri ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] [PATCH] shell-completion/bash: add add-wants and add-requires

2014-10-20 Thread Lukáš Nykrýn
Zbigniew Jędrzejewski-Szmek píše v So 18. 10. 2014 v 16:42 +0200: On Thu, Oct 16, 2014 at 09:41:02AM +0200, Lukas Nykryn wrote: --- shell-completion/bash/systemctl.in | 12 1 file changed, 12 insertions(+) diff --git a/shell-completion/bash/systemctl.in

Re: [systemd-devel] [PATCH v2] environment: append unit_id to error messages regarding EnvironmentFile

2014-10-17 Thread Lukáš Nykrýn
Zbigniew Jędrzejewski-Szmek píše v Pá 17. 10. 2014 v 15:40 +0200: On Fri, Oct 17, 2014 at 11:46:01AM +0200, Lukas Nykryn wrote: --- I have swapped parameters in test-fileio in previous version src/core/execute.c | 6 +++--- src/core/execute.h | 2 +- src/shared/env-util.c |

Re: [systemd-devel] [PATCH v4] systemctl: add add-wants and add-requires verbs

2014-10-08 Thread Lukáš Nykrýn
Zbigniew Jędrzejewski-Szmek píše v Út 07. 10. 2014 v 23:11 +0200: On Tue, Oct 07, 2014 at 05:46:48PM +0200, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Oct 07, 2014 at 02:09:37PM +0200, Lukas Nykryn wrote: --- Changes in v4 - renamed install_dependency - dependency - removed the enum

Re: [systemd-devel] [PATCHi v2] systemctl: add add-wants and add-requires verbs

2014-09-25 Thread Lukáš Nykrýn
Zbigniew Jędrzejewski-Szmek píše v St 24. 09. 2014 v 18:15 +0200: I don't understand the name method_add_install_dependency_unit_files. Why not just method_add_dependencies? After all, this is not like install, and does not work on the level of unit files, but units. Similarly for the dbus

Re: [systemd-devel] Problem when using Cgroups with the Systemd command

2014-09-03 Thread Lukáš Nykrýn
Wei Yan píše v Út 02. 09. 2014 v 09:05 -0700: Hi, guys, I’m trying to get Cgroups working for RHEL7, and has a question on the Cgroups. When I started a process using “systemd-run --user command” under a user account, I always got an exception that “cannot get the dbus connection”. The

Re: [systemd-devel] [PATCH] systemctl: fix broken list-unit-files with --root

2014-08-27 Thread Lukáš Nykrýn
Lennart Poettering píše v Út 26. 08. 2014 v 20:26 +0200: On Tue, 26.08.14 13:36, Lukas Nykryn (lnyk...@redhat.com) wrote: Looks good! Please commit! --- src/shared/install.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/shared/install.c

Re: [systemd-devel] [PATCH] sysv: order initscripts which provide $network before network.target

2014-07-30 Thread Lukáš Nykrýn
Since there was no comment I have pushed it to the git, we need that patch in fedora. Lukas Lukas Nykryn píše v St 23. 07. 2014 v 13:04 +0200: Due to recent changes where $network maps to network-online.target it is not guaranteed that initscript which provides networking will be terminated

Re: [systemd-devel] Setting bridge parameters

2014-06-26 Thread Lukáš Nykrýn
poma píše v Pá 20. 06. 2014 v 13:36 +0200: On 20.06.2014 13:31, Tom Gundersen wrote: On Thu, Jun 19, 2014 at 1:37 PM, Vladimir Elisseev vo...@vovan.nl wrote: Simple question: is there a way to set bridge parameters (bridge forward delay, bridge hello time, etc) using systemd networking

Re: [systemd-devel] [PATCH 1/2] EnvironmentFile: don't drop backslashes inside single quotes

2014-04-10 Thread Lukáš Nykrýn
Čt 10. duben 2014, 15:52:56 CEST, Zbigniew Jędrzejewski-Szmek napsal: On Thu, Apr 10, 2014 at 03:17:20PM +0200, Lukas Nykryn wrote: --- src/shared/fileio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shared/fileio.c b/src/shared/fileio.c index f101269..0eb131d

Re: [systemd-devel] Netconsole NG

2014-04-07 Thread Lukáš Nykrýn
Dne 6.4.2014 17:59, poma napsal(a): /etc/sysconfig/netconsole: # This is the EnvironmentFile for the netconsole service. Starting this # service enables the capture of dmesg output on a destination machine. # Source port SRC_PORT=12345 # Source IP address SRC_IP=192.168.1.2 # Source network

Re: [systemd-devel] [PATCH] util: always consider glusterfs as a network filesystem

2014-03-24 Thread Lukáš Nykrýn
Po 24. březen 2014, 17:12:30 CET, Lennart Poettering napsal: On Mon, 24.03.14 15:55, Lukas Nykryn (lnyk...@redhat.com) wrote: Are you sure this does what you think it does? I mean, AFAIR glusterfs is a fuse FS, and hence will nevershow up like this in fstab nor /proc/self/mountinfo... Or am I

Re: [systemd-devel] [PATCH] util: always consider glusterfs as a network filesystem

2014-03-24 Thread Lukáš Nykrýn
Po 24. březen 2014, 17:48:53 CET, Lennart Poettering napsal: On Mon, 24.03.14 17:38, Lukáš Nykrýn (lnyk...@redhat.com) wrote: Po 24. březen 2014, 17:12:30 CET, Lennart Poettering napsal: On Mon, 24.03.14 15:55, Lukas Nykryn (lnyk...@redhat.com) wrote: Are you sure this does what you think

Re: [systemd-devel] [PATCH] util: always consider glusterfs as a network filesystem

2014-03-24 Thread Lukáš Nykrýn
Po 24. březen 2014, 18:49:34 CET, Lennart Poettering napsal: On Mon, 24.03.14 18:03, Lukáš Nykrýn (lnyk...@redhat.com) wrote: Well, but how exactly do those lines look in fstab? Are you sure they have glusterfs in the fstype field? And not fuse.glusterfs or so? From RH Knowledgebase (again

Re: [systemd-devel] [PATCH] service: don't create extra cgroup for control process when reloading SysV service

2014-03-13 Thread Lukáš Nykrýn
St 12. březen 2014, 18:34:11 CET, Uoti Urpala napsal: On Wed, 2014-03-12 at 16:51 +0100, Lennart Poettering wrote: On Mon, 10.03.14 15:25, Lukas Nykryn (lnyk...@redhat.com) wrote: Unfortunately common practice in initscripts is to have reload as an alias for restart

Re: [systemd-devel] [PATCH] s390/getty-generator: initialize essential system terminals/consoles

2014-01-31 Thread Lukáš Nykrýn
Dne 31.1.2014 17:08, Hendrik Brueckner napsal(a): Ensure to start getty programs on all essential system consoles on Linux on System z. Add these essential devices to the list of virtualization_consoles to always generate getty configurations. For the sake of completion, the list of essential

Re: [systemd-devel] [PATCH] core: get rid the start job when transitioning to deactivating

2013-07-19 Thread Lukáš Nykrýn
Dne 18.7.2013 20:02, Lennart Poettering napsal(a): On Thu, 18.07.13 17:04, Michal Sekletar (msekl...@redhat.com) wrote: When dependency unit is configured with StopWhenUnneeded=yes and activation of main unit fails, e.g. start timeout occurs, then dependencies are never stopped. This happens

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

2013-05-16 Thread Lukáš Nykrýn
Dne 16.5.2013 02:41, Zbigniew Jędrzejewski-Szmek napsal(a): On Tue, May 14, 2013 at 05:34:28PM +0200, Lukas Nykryn wrote: --- TODO | 3 - man/systemd-delta.xml | 7 ++ src/delta/delta.c | 182 -- 3 files changed, 170

Re: [systemd-devel] [PATCH] condition: add option ConditionArchitecture

2013-03-27 Thread Lukáš Nykrýn
St 27. březen 2013, 13:21:28 CET, Zbigniew Jędrzejewski-Szmek napsal: On Wed, Mar 27, 2013 at 08:22:14AM +0100, Tollef Fog Heen wrote: ]] Cristian Rodríguez El 26/03/13 15:17, Bill Nottingham escribió: Lukas Nykryn (lnyk...@redhat.com) said: --- TODO | 2

Re: [systemd-devel] [PATCH 2/2] log: fix error codes handling in catalog_list_items

2013-03-27 Thread Lukáš Nykrýn
So if we want to return first error there should be -if (r 0) +if (r == 0) r = k; Am I right? Lukas St 27. březen 2013, 17:06:27 CET, Zbigniew Jędrzejewski-Szmek napsal: On Wed, Mar 27, 2013 at 10:44:21AM +0100,

Re: [systemd-devel] [PATCH] systemctl: mangle unit name in is-enabled

2013-03-07 Thread Lukáš Nykrýn
Čt 7. březen 2013, 16:13:17 CET, Lennart Poettering napsal: On Thu, 07.03.13 16:09, Lukas Nykryn (lnyk...@redhat.com) wrote: Hmm, don't we need the same for the other unit file verbs such as enable/disable/mask/unmask, too? --- src/systemctl/systemctl.c | 19 +-- 1 file

[systemd-devel] coverity patches

2013-03-01 Thread Lukáš Nykrýn
0001-systemd-python-add-missing-check-for-return-of-PyDic.patch Description: Binary data 0002-systemctl-check-if-iterator-was-initialized-succesfu.patch Description: Binary data 0003-tpmfiles-add-missing-parenthesis.patch Description: Binary data

Re: [systemd-devel] [PATCH] do not ellipsize cgroup members in full status

2013-01-15 Thread Lukáš Nykrýn
Lennart Poettering píše v Út 25. 09. 2012 v 17:45 +0200: On Tue, 25.09.12 15:36, Lukáš Nykrýn (lnyk...@redhat.com) wrote: Heya, diff --git a/src/shared/logs-show.h b/src/shared/logs-show.h index 3e6b6e0..3b63a5d 100644 --- a/src/shared/logs-show.h +++ b/src/shared/logs-show.h

[systemd-devel] [PATCH] bootchart: make sure that every read buffer is null terminated

2013-01-10 Thread Lukáš Nykrýn
Hello, I am not sure about this one. There is a probability that bufgetline during first call in src/bootchart/log.c:265 can get string which is not null-terminated. Lukas From bb19a933eee9bad3f67d3069bfea6c4f476a840a Mon Sep 17 00:00:00 2001 From: Lukas Nykryn lnyk...@redhat.com Date: Thu, 10

Re: [systemd-devel] [Patch] build issues on ppc

2012-12-19 Thread Lukáš Nykrýn
Lennart Poettering píše v Út 18. 12. 2012 v 18:20 +0100: On Tue, 18.12.12 17:56, Lukáš Nykrýn (lnyk...@redhat.com) wrote: Hello, systemd-196 won't build on ppc https://bugzilla.redhat.com/show_bug.cgi?id=888255. I think that sufficient patch would be: diff --git a/Makefile.am b

[systemd-devel] [Patch] build issues on ppc

2012-12-18 Thread Lukáš Nykrýn
Hello, systemd-196 won't build on ppc https://bugzilla.redhat.com/show_bug.cgi?id=888255. I think that sufficient patch would be: diff --git a/Makefile.am b/Makefile.am index 804cc04..acbb12b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1068,7 +1068,8 @@ libsystemd_core_la_SOURCES = \

Re: [systemd-devel] PrivateTmp and systemd-tmpfiles

2012-10-18 Thread Lukáš Nykrýn
Kay Sievers píše v St 17. 10. 2012 v 18:28 +0200: On Wed, Oct 17, 2012 at 6:10 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 17.10.12 14:16, Lukáš Nykrýn (lnyk...@redhat.com) wrote: Hello, Today I have read this bug https://bugzilla.redhat.com/show_bug.cgi?id=866693

[systemd-devel] PrivateTmp and systemd-tmpfiles

2012-10-17 Thread Lukáš Nykrýn
Hello, Today I have read this bug https://bugzilla.redhat.com/show_bug.cgi?id=866693 and described systemd-tmpfiles behavior look pretty wrong to me, but I am not sure how to fix it. Some ideas cross my mind; moving systemd-namespace-* elsewhere, adding some option to exclude dirs in tmpfiles conf

Re: [systemd-devel] [PATCH] do not ellipsize cgroup members in full status

2012-09-25 Thread Lukáš Nykrýn
Lennart Poettering píše v Pá 21. 09. 2012 v 12:22 +0200: On Thu, 20.09.12 16:30, Lukáš Nykrýn (lnyk...@redhat.com) wrote: Hello, From bug report: https://bugzilla.redhat.com/show_bug.cgi?id=858693 There is no easy way how to force systemctl status not to crop long lines with ellipsis

[systemd-devel] [PATCH] missing va_end

2012-09-21 Thread Lukáš Nykrýn
Hello, coverity scan 189-190 only complained about three missing va_ends. See attached patches. Regards Lukas From 8b5667702257bc561ba7a67301080f0092538333 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn lnyk...@redhat.com Date: Fri, 21 Sep 2012 10:22:46 +0200 Subject: [PATCH 1/2] shared: call va_end

[systemd-devel] [PATCH] do not ellipsize cgroup members in full status

2012-09-20 Thread Lukáš Nykrýn
Hello, From bug report: https://bugzilla.redhat.com/show_bug.cgi?id=858693 There is no easy way how to force systemctl status not to crop long lines with ellipsis in a virtual terminal. -a or --full options doesn't help (and they even shouldn't help, according to the man page) I am not sure if

[systemd-devel] [PATCH] don't check ratelimit on manual start

2012-08-29 Thread Lukáš Nykrýn
Hello, I have here a request that systemd should not refuse to start service because of start request repeated too quickly when service is started manually. I have prepared a patch, but I am not sure about my approach. Regards Lukas From b8e14cc91aea183aa21dc9173a44618b70dca190 Mon Sep 17

[systemd-devel] systemd coverity

2012-08-23 Thread Lukáš Nykrýn
Hello, Coverity found some new small issues between releases 185-188. See attached patches. Regards Lukas From b258ab8b5fec97e924ba5d3784be9b72d7966118 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn lnyk...@redhat.com Date: Mon, 20 Aug 2012 14:33:21 +0200 Subject: [PATCH 1/4] load-fragment:

Re: [systemd-devel] [PATCH] service: allow service to inhibit respawn with special return code

2012-08-13 Thread Lukáš Nykrýn
Lennart Poettering píše v St 08. 08. 2012 v 19:26 +0200: On Mon, 06.08.12 17:16, Lukáš Nykrýn (lnyk...@redhat.com) wrote: Again thanks for review. Here is modified patch. If you think that it would be better to add signal stuff before accepting this patch I will not disagree

Re: [systemd-devel] [PATCH] service: allow service to inhibit respawn with special return code

2012-08-06 Thread Lukáš Nykrýn
Lennart Poettering píše v Pá 03. 08. 2012 v 20:46 +0200: On Tue, 24.07.12 16:43, Lukas Nykryn (lnyk...@redhat.com) wrote: In some cases, like wrong configuration, restarting after error exit code does not help, so administrator can specify RestartIgnoreCodes which will not cause restart

Re: [systemd-devel] [PATCH] service: allow service to inhibit respawn with special return code

2012-08-06 Thread Lukáš Nykrýn
Lukáš Nykrýn píše v Po 06. 08. 2012 v 15:26 +0200: Lennart Poettering píše v Pá 03. 08. 2012 v 20:46 +0200: On Tue, 24.07.12 16:43, Lukas Nykryn (lnyk...@redhat.com) wrote: In some cases, like wrong configuration, restarting after error exit code does not help, so administrator can

Re: [systemd-devel] [PATCH] service: allow service to inhibit respawn with special return code

2012-08-06 Thread Lukáš Nykrýn
Lennart Poettering píše v Po 06. 08. 2012 v 16:52 +0200: On Mon, 06.08.12 16:45, Lukáš Nykrýn (lnyk...@redhat.com) wrote: +if (!*set) { +set_free(*set); +*set = NULL; +} You probably mean if (*set) here, not (!*set). But honestly I

Re: [systemd-devel] [PATCH] service: allow service to inhibit respawn with special return code

2012-07-25 Thread Lukáš Nykrýn
Zbigniew Jędrzejewski-Szmek píše v St 25. 07. 2012 v 01:19 +0200: On 07/24/2012 04:43 PM, Lukas Nykryn wrote: In some cases, like wrong configuration, restarting after error exit code does not help, so administrator can specify RestartIgnoreCodes which will not cause restart of a service.

[systemd-devel] ctrl-s + shutdown

2012-06-01 Thread Lukáš Nykrýn
Hello, A customer had complained about this behavior: 1) login to system 2) press ctrl+s 3) log to this computer from another machine using ssh 4) type shutdown -h now through ssh 5) ? Their problem is that in RHEL5(sysvinit) 5) is nothing until user press ctrl+q, than shutdown but in