Re: [systemd-devel] race conditions after SIGTERM

2014-08-14 Thread Andrei Borzenkov
В Thu, 14 Aug 2014 14:24:49 +0200 Lennart Poettering lenn...@poettering.net пишет: On Sun, 27.07.14 20:04, Reindl Harald (h.rei...@thelounge.net) wrote: but that still don't explain why ExecStopPost=/sur/bin/true or whatever ExecStopPost solves that and if it is not supported why

Re: [systemd-devel] race conditions after SIGTERM

2014-08-14 Thread Andrei Borzenkov
В Thu, 14 Aug 2014 19:24:54 +0200 Lennart Poettering lenn...@poettering.net пишет: On Thu, 14.08.14 21:16, Andrei Borzenkov (arvidj...@gmail.com) wrote: В Thu, 14 Aug 2014 14:24:49 +0200 Lennart Poettering lenn...@poettering.net пишет: On Sun, 27.07.14 20:04, Reindl Harald (h.rei

Re: [systemd-devel] [PATCH] core: collapse JOB_RELOAD on an inactive unit into JOB_NOP

2014-08-15 Thread Andrei Borzenkov
В Fri, 15 Aug 2014 20:25:57 +0300 Uoti Urpala uoti.urp...@pp1.inet.fi пишет: What is your desired state for reload then? *operating* with the new configuration loaded. The problem with this is that it's common for things updating configuration to be separate from things using

Re: [systemd-devel] Make journalctl start at the end of the journal by default

2014-08-18 Thread Andrei Borzenkov
В Mon, 18 Aug 2014 16:42:52 +0200 Lennart Poettering lenn...@poettering.net пишет: I am pretty sure doing the auto-paging thing (the same way as git, and others do it) improves end-user experience for most people. I mean, I think having arrow keys is the common case. Not having them is the

[systemd-devel] Impossible to enable instantiated symlink (foo@bar)

2014-08-18 Thread Andrei Borzenkov
If foo@bar.service symlink is present, it is impossible to enable it: bor@opensuse:~ ll /run/systemd/system итого 8 lrwxrwxrwx 1 root root 32 авг 18 21:06 foo@bar.service - /run/systemd/system/foo@.service -rwxr-xr-x 1 root root 1032 авг 18 21:06 foo@.service bor@opensuse:~ sudo systemctl

Re: [systemd-devel] Impossible to enable instantiated symlink (foo@bar)

2014-08-18 Thread Andrei Borzenkov
В Mon, 18 Aug 2014 19:22:01 +0200 Lennart Poettering lenn...@poettering.net пишет: On Mon, 18.08.14 21:10, Andrei Borzenkov (arvidj...@gmail.com) wrote: If foo@bar.service symlink is present, it is impossible to enable it: bor@opensuse:~ ll /run/systemd/system итого 8 lrwxrwxrwx 1

Re: [systemd-devel] Using path name in instantiated units

2014-08-19 Thread Andrei Borzenkov
В Tue, 19 Aug 2014 19:34:46 +0200 Florian Lindner mailingli...@xgm.de пишет: It seems that using %i or %I to set the working directory does not work. bor@opensuse:~ sudo systemctl start foo@/home/bor.service bor@opensuse:~ cat /tmp/foo /home/bor %i=-home-bor %I=/home/bor bor@opensuse:~ cat

Re: [systemd-devel] Using path name in instantiated units

2014-08-19 Thread Andrei Borzenkov
В Tue, 19 Aug 2014 20:59:55 +0200 Florian Lindner mailingli...@xgm.de пишет: I also try to set up a matching timer: systemctl --user start git-commit@/home/florian/timer.test.timer works fine, but: systemctl --user enable git-commit@/home/florian/timer.test.timer Failed to execute

Re: [systemd-devel] Using path name in instantiated units

2014-08-19 Thread Andrei Borzenkov
В Tue, 19 Aug 2014 22:54:04 +0200 Lennart Poettering lenn...@poettering.net пишет: On Tue, 19.08.14 19:34, Florian Lindner (mailingli...@xgm.de) wrote: Hello, I have a systemd unit that should do a commit on a specific path. Since there are more then one path / repos, I want to use an

Re: [systemd-devel] Using path name in instantiated units

2014-08-19 Thread Andrei Borzenkov
В Tue, 19 Aug 2014 22:08:26 +0200 Florian Lindner mailingli...@xgm.de пишет: Andrei Borzenkov wrote: В Tue, 19 Aug 2014 20:59:55 +0200 Florian Lindner mailingli...@xgm.de пишет: I also try to set up a matching timer: systemctl --user start git-commit@/home/florian

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

2014-08-19 Thread Andrei Borzenkov
В Wed, 20 Aug 2014 02:59:52 +0200 Lennart Poettering lenn...@poettering.net пишет: Heya! This is a major new release. Among many other changes systemd-resolved is now a pretty complete caching DNS and LLMNR stub resolver. http://www.freedesktop.org/software/systemd/systemd-216.tar.xz

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

2014-08-20 Thread Andrei Borzenkov
В Wed, 20 Aug 2014 13:57:36 +0200 Lennart Poettering lenn...@poettering.net пишет: I do not know how often Android users need to exchange data with Windows via USB stick, but I have to do it pretty often and it sounds like now my timestamps will be wrong. Could you please name commit

Re: [systemd-devel] [RFC] [PATCH 2/3] resume: add a tool to write a device node's major:minor to /sys/power/resume.

2014-08-23 Thread Andrei Borzenkov
В Sat, 23 Aug 2014 16:47:53 +0400 Ivan Shapovalov intelfx...@gmail.com пишет: diff --git a/units/systemd-res...@.service.in b/units/systemd-res...@.service.in new file mode 100644 index 000..f760f16 --- /dev/null +++ b/units/systemd-res...@.service.in @@ -0,0 +1,23 @@ +# This file

Re: [systemd-devel] [RFC] [PATCH 0/3] resume: implement support for resuming from hibernation

2014-08-23 Thread Andrei Borzenkov
В Sat, 23 Aug 2014 16:47:51 +0400 Ivan Shapovalov intelfx...@gmail.com пишет: This patchset allows systemd to parse resume= kernel command line parameter and initiate resume from the specified device. It adds: - a 'systemd-resume' tool which takes path to a device node and writes its

Re: [systemd-devel] loginctl - multi-seats

2014-08-23 Thread Andrei Borzenkov
В Sat, 23 Aug 2014 16:26:33 +0200 arnaud gaboury arnaud.gabo...@gmail.com пишет: I understand from loginctl(1) I have to first create 1 new seat with loginctl using 1 existing graphic device: $ attach seat1 /sys/bus/pci/device/:00:01.0@ (my graphic card as listed by $lspci). Not a

Re: [systemd-devel] loginctl - multi-seats

2014-08-23 Thread Andrei Borzenkov
В Sat, 23 Aug 2014 16:50:31 +0200 arnaud gaboury arnaud.gabo...@gmail.com пишет: You probably want graphic device under it, something like /sys/devices/pci:00/:00:01.0/:01:00.0/drm/card0 # loginctl attach seat1 /sys/bus/pci/devices/:01:00.0/drm/card0 No error

Re: [systemd-devel] loginctl - multi-seats

2014-08-23 Thread Andrei Borzenkov
В Sat, 23 Aug 2014 17:28:27 +0200 arnaud gaboury arnaud.gabo...@gmail.com пишет: E: TAGS=:seat:uaccess: Ok, I see. I do not have this tag for my card. I see you use xf86-video-nouveau. Am I correct? No, I use nVidia binary drivers. Shall I

Re: [systemd-devel] Match section of .link file not working

2014-08-23 Thread Andrei Borzenkov
В Sun, 24 Aug 2014 03:04:03 +0200 Simon Peeters peeters.si...@gmail.com пишет: Hej all, I have a system on wich i wish to randomise the mac address of one specific interface. This is important because it is a wireless vif, and having multiple vif's with the same mac doesn't work. I

Re: [systemd-devel] Match section of .link file not working

2014-08-23 Thread Andrei Borzenkov
В Sun, 24 Aug 2014 06:49:39 +0200 Simon Peeters peeters.si...@gmail.com пишет: 2014-08-24 6:45 GMT+02:00 Simon Peeters peeters.si...@gmail.com: 2014-08-24 6:23 GMT+02:00 Andrei Borzenkov arvidj...@gmail.com: В Sun, 24 Aug 2014 03:04:03 +0200 Simon Peeters peeters.si...@gmail.com пишет

[systemd-devel] [PATCH] Document ...|... udev match syntax

2014-08-24 Thread Andrei Borzenkov
--- man/udev.xml | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/man/udev.xml b/man/udev.xml index db72937..2948b9c 100644 --- a/man/udev.xml +++ b/man/udev.xml @@ -272,8 +272,8 @@ /varlistentry /variablelist - paraMost of the fields

Re: [systemd-devel] Match section of .link file not working

2014-08-24 Thread Andrei Borzenkov
В Sun, 24 Aug 2014 09:19:13 +0200 Simon Peeters peeters.si...@gmail.com пишет: Ok, so there is only one problem now: ID_PATH is the same for all my vif interfaces, and i need to select only one of them. Please show udevadm info -q all for each interface. P:

Re: [systemd-devel] Match section of .link file not working

2014-08-25 Thread Andrei Borzenkov
В Sun, 24 Aug 2014 21:28:51 +0200 Simon Peeters peeters.si...@gmail.com пишет: 2014-08-24 20:29 GMT+02:00 Andrei Borzenkov arvidj...@gmail.com: В Sun, 24 Aug 2014 09:19:13 +0200 Simon Peeters peeters.si...@gmail.com пишет: Ok, so there is only one problem now: ID_PATH is the same

Re: [systemd-devel] systemctl preset and chkconfig

2014-08-26 Thread Andrei Borzenkov
On Tue, Aug 26, 2014 at 3:56 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 26.08.14 08:59, Colin Guthrie (gm...@colin.guthr.ie) wrote: I have to say tho', I'm surprised this is something implemented in PID1. I hadn't looked at the code, but I thought (well assumed) systemctl

Re: [systemd-devel] [PATCH] timedated: add configure option to set name of controlled NTP service

2014-08-26 Thread Andrei Borzenkov
On Tue, Aug 26, 2014 at 4:21 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 26.08.14 11:41, Miroslav Lichvar (mlich...@redhat.com) wrote: This is useful for installations where some other service than systemd-timesyncd is used to synchronize the system clock. What's the

Re: [systemd-devel] systemctl preset and chkconfig

2014-08-26 Thread Andrei Borzenkov
On Tue, Aug 26, 2014 at 4:34 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 26.08.14 16:29, Andrei Borzenkov (arvidj...@gmail.com) wrote: I have to say tho', I'm surprised this is something implemented in PID1. I hadn't looked at the code, but I thought (well assumed) systemctl

Re: [systemd-devel] [PATCH] timedated: add configure option to set name of controlled NTP service

2014-08-26 Thread Andrei Borzenkov
В Tue, 26 Aug 2014 19:19:01 +0200 Lennart Poettering lenn...@poettering.net пишет: On Tue, 26.08.14 17:45, Miroslav Lichvar (mlich...@redhat.com) wrote: On Tue, Aug 26, 2014 at 07:50:23AM -0700, Marcel Holtmann wrote: and writing a good DHCP client was supposedly also really hard.

Re: [systemd-devel] systemctl preset and chkconfig

2014-08-26 Thread Andrei Borzenkov
В Tue, 26 Aug 2014 14:38:52 +0200 Lennart Poettering lenn...@poettering.net пишет: On Tue, 26.08.14 16:37, Andrei Borzenkov (arvidj...@gmail.com) wrote: On Tue, Aug 26, 2014 at 4:34 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 26.08.14 16:29, Andrei Borzenkov (arvidj

Re: [systemd-devel] [PATCHv6 2/3] hibernate-resume: add a tool to write a device node's major:minor to /sys/power/resume.

2014-08-27 Thread Andrei Borzenkov
On Wed, Aug 27, 2014 at 10:18 AM, Thomas Bächler tho...@archlinux.org wrote: +[Unit] +Description=Resume from hibernation using device %f +Documentation=man:systemd-hibernate-resume@.service(8) +DefaultDependencies=no +BindsTo=%i.device What's the purpose of BindsTo= as opposed to Requires=

Re: [systemd-devel] Suppressing automounting

2014-08-27 Thread Andrei Borzenkov
В Thu, 28 Aug 2014 00:31:49 +0300 Mantas Mikulėnas graw...@gmail.com пишет: On Aug 27, 2014 10:03 PM, Dale R. Worley wor...@alum.mit.edu wrote: From: Thomas Suckow thomas.suc...@pnnl.gov From: Lennart Poettering lenn...@poettering.net Note that a concept of mount at boot if

Re: [systemd-devel] [PATCHv6 0/3] hibernate-resume: implement support for resuming from hibernation

2014-08-28 Thread Andrei Borzenkov
В Thu, 28 Aug 2014 19:36:53 +0200 Jan Janssen medhe...@web.de пишет: On Thursday 28 August 2014 11:33:44 Ivan Shapovalov wrote: On Thursday 28 August 2014 at 06:25:51, Jan Janssen wrote: Ivan Shapovalov intelfx100 at gmail.com writes: On Wednesday 27 August 2014 at 03:16:10, Zbigniew

Re: [systemd-devel] Suppressing automounting

2014-08-29 Thread Andrei Borzenkov
В Fri, 29 Aug 2014 14:59:05 -0400 wor...@alum.mit.edu (Dale R. Worley) пишет: From: wor...@alum.mit.edu (Dale R. Worley) When reading /etc/fstab a few special mount options are understood by systemd which influence how dependencies are created for mount points from

Re: [systemd-devel] help with systemd socket file for programs in the quagga suite

2014-09-13 Thread Andrei Borzenkov
В Fri, 12 Sep 2014 19:10:01 +0100 lux-integ lux-in...@btconnect.com пишет: On Friday 12 September 2014 18:28:30 Dave Reisner wrote: I'll stop you here. You can't simply synthesize a socket unit for any arbitrary program that uses a socket (regardless of the address family). Socket units

Re: [systemd-devel] User systemd unit files

2014-09-14 Thread Andrei Borzenkov
В Thu, 11 Sep 2014 07:07:16 -0400 Chris Morgan chmor...@gmail.com пишет: On Thu, Sep 11, 2014 at 5:03 AM, Colin Guthrie gm...@colin.guthr.ie wrote: Chris Morgan wrote on 11/09/14 02:32: On Sep 10, 2014 5:46 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl mailto:zbys...@in.waw.pl wrote:

Re: [systemd-devel] Suppressing automounting

2014-09-14 Thread Andrei Borzenkov
В Thu, 4 Sep 2014 18:32:20 -0400 wor...@alum.mit.edu (Dale R. Worley) пишет: From: Andrei Borzenkov arvidj...@gmail.com bor@opensuse:~/src/systemd systemctl show boot.mount -p WantedBy --no-pager WantedBy=dev-sda1.device Which has the effect that if device was not present at boot

Re: [systemd-devel] Suppressing automounting

2014-09-14 Thread Andrei Borzenkov
В Thu, 11 Sep 2014 13:41:25 -0400 wor...@alum.mit.edu (Dale R. Worley) пишет: From: Colin Guthrie gm...@colin.guthr.ie I'm maybe missing something, but in the case of mount units, isn't that framework program mount(8)? It has a mechanism for parsing default options that apply to all

Re: [systemd-devel] Suppressing automounting

2014-09-14 Thread Andrei Borzenkov
В Thu, 11 Sep 2014 21:53:27 +0200 Tobias Geerinckx-Rice tobias.geerinckx.r...@gmail.com пишет: Step back, and define exactly what it is you actually need^Wwant to do. It was described clear enough already. From my reading of the thread, this is to emulate as closely ye olde initscripts'

Re: [systemd-devel] systemd service for kinit

2014-09-17 Thread Andrei Borzenkov
On Wed, Sep 17, 2014 at 2:44 PM, Günther J. g...@gjn.priv.at wrote: Hello, I have a problem with kinit (krb5) before on my old system this works with a cron file @reboot root /usr/bin/sleep 120 /usr/bin/kinit -k host/. now with systemd I can't say why, the extra characters

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Andrei Borzenkov
В Wed, 17 Sep 2014 13:40:11 +0200 Pavel Raiskup prais...@redhat.com пишет: On Wednesday 17 of September 2014 11:50:08 Zbigniew Jędrzejewski-Szmek wrote: On Wed, Sep 17, 2014 at 08:52:00AM +0200, Pavel Raiskup wrote: Thanks, I agree, and yet another rule on top of that -- the /usr/lib

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Andrei Borzenkov
В Wed, 17 Sep 2014 18:29:35 +0200 Pavel Raiskup prais...@redhat.com пишет: On Wednesday 17 of September 2014 20:06:50 Andrei Borzenkov wrote: В Wed, 17 Sep 2014 13:40:11 +0200 Pavel Raiskup prais...@redhat.com пишет: On Wednesday 17 of September 2014 11:50:08 Zbigniew Jędrzejewski

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Andrei Borzenkov
В Wed, 17 Sep 2014 18:46:21 +0200 Pavel Raiskup prais...@redhat.com пишет: On Wednesday 17 of September 2014 20:44:38 Andrei Borzenkov wrote: В Wed, 17 Sep 2014 18:29:35 +0200 Pavel Raiskup prais...@redhat.com пишет: On Wednesday 17 of September 2014 20:06:50 Andrei Borzenkov wrote

Re: [systemd-devel] systemd service for kinit

2014-09-17 Thread Andrei Borzenkov
В Wed, 17 Sep 2014 18:46:45 +0200 Günther J. Niederwimmer g...@gjn.priv.at пишет: Hello, Am Mittwoch, 17. September 2014, 15:35:44 schrieb Andrei Borzenkov: On Wed, Sep 17, 2014 at 2:44 PM, Günther J. g...@gjn.priv.at wrote: Hello, I have a problem with kinit (krb5) before

Re: [systemd-devel] Cannot get Shutdown Script to Run (Libvirt Virtual Machine Shutdown)

2014-09-21 Thread Andrei Borzenkov
On Mon, Sep 22, 2014 at 7:40 AM, Alexander Groleau awg...@xbetanet.com wrote: Hello systemd users, I have been trying desperately for weeks to get my simple shutdown script for a Libvirt guest to run before libvirtd is shut down, without success. Essentially, I need the libvirt-windows.sh

Re: [systemd-devel] [PATCH] swap: introduce Discard property

2014-09-29 Thread Andrei Borzenkov
В Mon, 29 Sep 2014 17:16:25 +0200 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl пишет: The problem with reading but back discards settings remains. Seems like the most natural solution is to extend /proc/swaps. The only place where these flags are printed right now is in dmesg during

Re: [systemd-devel] Why working this on reboot but not on start up

2014-09-30 Thread Andrei Borzenkov
В Tue, 30 Sep 2014 13:24:13 +0200 Günther J. Niederwimmer g...@gjn.priv.at пишет: Hello, I have a problem to run this correct, it is working on a reboot but not on start up. What does not work means exactly? Can any help me for this Problem, Thanks. Without clear explanation what

Re: [systemd-devel] [uml-devel] Timed out waiting for device dev-disk-by...

2014-09-30 Thread Andrei Borzenkov
В Tue, 30 Sep 2014 22:18:04 +0200 Thomas Meyer tho...@m3y3r.de пишет: Am Dienstag, den 30.09.2014, 21:44 +0200 schrieb Tomasz Torcz: On Tue, Sep 30, 2014 at 08:27:36PM +0200, Thomas Meyer wrote: Am Montag, den 29.09.2014, 22:20 +0200 schrieb Richard Weinberger: On Mon, Sep 29, 2014 at

Re: [systemd-devel] Why working this on reboot but not on start up

2014-10-01 Thread Andrei Borzenkov
On Tue, Sep 30, 2014 at 9:24 PM, Günther J. g...@gjn.priv.at wrote: Hello, Am Dienstag, 30. September 2014, 20:38:10 schrieb Andrei Borzenkov: В Tue, 30 Sep 2014 13:24:13 +0200 Günther J. Niederwimmer g...@gjn.priv.at пишет: Hello, I have a problem to run this correct, it is working

Re: [systemd-devel] Why working this on reboot but not on start up

2014-10-02 Thread Andrei Borzenkov
В Thu, 2 Oct 2014 13:55:19 +0300 Mantas Mikulėnas graw...@gmail.com пишет: On Tue, Sep 30, 2014 at 8:24 PM, Günther J. g...@gjn.priv.at wrote: Hello, Am Dienstag, 30. September 2014, 20:38:10 schrieb Andrei Borzenkov: В Tue, 30 Sep 2014 13:24:13 +0200 Günther J. Niederwimmer g

Re: [systemd-devel] Why working this on reboot but not on start up

2014-10-02 Thread Andrei Borzenkov
В Thu, 02 Oct 2014 12:53:45 +0200 Günther J. Niederwimmer g...@gjn.priv.at пишет: Hello, Am Donnerstag, 2. Oktober 2014, 12:38:42 schrieb Lennart Poettering: On Thu, 02.10.14 12:34, Günther J. Niederwimmer (g...@gjn.priv.at) wrote: this is my construct is any wrong in this files?

Re: [systemd-devel] [uml-devel] Timed out waiting for device dev-disk-by...

2014-10-03 Thread Andrei Borzenkov
В Fri, 03 Oct 2014 13:32:09 +0200 Thomas Meyer tho...@m3y3r.de пишет: Zitat von Lennart Poettering lenn...@poettering.net: On Tue, 30.09.14 21:44, Tomasz Torcz (to...@pipebreaker.pl) wrote: Check the udev database at this moment. In my understanding, to have device deemed ready

Re: [systemd-devel] [uml-devel] Timed out waiting for device dev-disk-by...

2014-10-03 Thread Andrei Borzenkov
В Wed, 01 Oct 2014 00:47:08 +0600 Alexander E. Patrakov patra...@gmail.com пишет: 01.10.2014 00:27, Thomas Meyer wrote: Am Montag, den 29.09.2014, 22:20 +0200 schrieb Richard Weinberger: On Mon, Sep 29, 2014 at 8:29 PM, Thomas Meyer tho...@m3y3r.de wrote: Hi, I get a timeout in the

Re: [systemd-devel] A way to better integrate rsyslog into systemd?

2014-10-05 Thread Andrei Borzenkov
В Fri, 3 Oct 2014 22:55:13 -0700 Aleksei Besogonov alex.besogo...@gmail.com пишет: With all the recent noise about systemd abusing its position with the way it takes over logging I’ve been thinking about a way to solve it. As far as I understand the following holds: - Systemd takes over

Re: [systemd-devel] Request for clarification of use implementation of new (systemd = v214) network-pre.target

2014-10-10 Thread Andrei Borzenkov
В Fri, 10 Oct 2014 10:14:47 -0700 PGNd d...@pgnd.us пишет: systemd v214 introduced the new network-related target, network-pre.target. It cleanly provides a convenient and timley pre-network state trigger for Before= use in unit ordering. As originally conceived, and currently

Re: [systemd-devel] Unicode support in console after boot

2014-10-13 Thread Andrei Borzenkov
On Mon, Oct 13, 2014 at 12:48 PM, Jan Synacek jsyna...@redhat.com wrote: Mantas Mikulėnas graw...@gmail.com writes: On Mon, Oct 13, 2014 at 10:36 AM, Jan Synacek jsyna...@redhat.com wrote: Hello, currently, unicode characters are not correctly displayed in the console. After login, when I

Re: [systemd-devel] Unicode support in console after boot

2014-10-13 Thread Andrei Borzenkov
On Mon, Oct 13, 2014 at 4:33 PM, Jan Synacek jsyna...@redhat.com wrote: Andrei Borzenkov arvidj...@gmail.com writes: On Mon, Oct 13, 2014 at 12:48 PM, Jan Synacek jsyna...@redhat.com wrote: Mantas Mikulėnas graw...@gmail.com writes: On Mon, Oct 13, 2014 at 10:36 AM, Jan Synacek jsyna

Re: [systemd-devel] How soon after login can I rely on systemd --user having reached sockets.target?

2014-10-20 Thread Andrei Borzenkov
On Mon, Oct 20, 2014 at 1:02 PM, David Herrmann dh.herrm...@gmail.com wrote: Btw., manager_check_finished() doesn't explicitly wait for default.target, but instead waits for all jobs to be done. Not sure why.. Because default.target can be reached long before all jobs that are part of

Re: [systemd-devel] How soon after login can I rely on systemd --user having reached sockets.target?

2014-10-20 Thread Andrei Borzenkov
On Mon, Oct 20, 2014 at 4:47 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Oct 20, 2014 at 02:16:30PM +0400, Andrei Borzenkov wrote: On Mon, Oct 20, 2014 at 1:02 PM, David Herrmann dh.herrm...@gmail.com wrote: Btw., manager_check_finished() doesn't explicitly wait

[systemd-devel] .d directories order

2014-10-20 Thread Andrei Borzenkov
В Mon, 20 Oct 2014 20:48:01 +0200 Lennart Poettering lenn...@poettering.net пишет: Well, as for units the main file should be read first (taking the /usr+/etc override logic into account), and only then we should read the .d/ drop-ins (individually following the /usr+/etc override logic).

Re: [systemd-devel] rpcbind static, want enabled

2014-10-21 Thread Andrei Borzenkov
On Tue, Oct 21, 2014 at 11:58 AM, Felix Miata mrma...@earthlink.net wrote: Andrei Borzenkov composed on 2014-10-21 11:29 (UTC+0400): Felix Miata wrote: I have 27 Fedora 21 22 installations to real hardware, all originating via HTTP process. Half work as expected. Those that do have

Re: [systemd-devel] Stop Job for User Manager

2014-10-24 Thread Andrei Borzenkov
В Wed, 22 Oct 2014 16:54:45 +0200 Reindl Harald h.rei...@thelounge.net пишет: Am 22.10.2014 um 16:49 schrieb Chris Bell: I'm running into an annoying issue. I use systemd 216 on an Arch box, and systemd 208 on a Fedora box; the issue exists on both. Logins are handled through getty;

Re: [systemd-devel] starting Oracle with systemd

2014-10-28 Thread Andrei Borzenkov
В Tue, 28 Oct 2014 15:08:45 -0400 Fisher, Charles J. (Top Echelon) charles.fis...@alcoa.com пишет: Is this the best way to start Oracle? [root@localhost system]# cat oracle-foo.service [Unit] Description=oracle db - foo After=syslog.target [Service] Environment=ORACLE_SID=foo

Re: [systemd-devel] starting Oracle with systemd

2014-10-30 Thread Andrei Borzenkov
В Thu, 30 Oct 2014 13:29:10 -0400 Fisher, Charles J. (Top Echelon) charles.fis...@alcoa.com пишет: On Tue, 28.10.14 15:08, Fisher, Charles J. (Top Echelon) (charles.fis...@alcoa.com) wrote: Is this the best way to start Oracle? [Service] Environment=ORACLE_SID=foo

Re: [systemd-devel] starting Oracle with systemd

2014-10-30 Thread Andrei Borzenkov
В Thu, 30 Oct 2014 20:06:55 +0100 Lennart Poettering lenn...@poettering.net пишет: I have no idea how Oracle works, and the above it too cryptic to fully understand what point you are trying to make. Can you eloborate on this for somebody who doesn't know a thing about Oracle? Oracle

Re: [systemd-devel] starting Oracle with systemd

2014-10-30 Thread Andrei Borzenkov
В Fri, 31 Oct 2014 08:11:54 +1100 Andrew Barnes barnes...@gmail.com пишет: On 31 Oct, 2014 6:35 AM, Andrei Borzenkov arvidj...@gmail.com wrote: В Thu, 30 Oct 2014 20:06:55 +0100 Lennart Poettering lenn...@poettering.net пишет: I have no idea how Oracle works, and the above it too

Re: [systemd-devel] remote-fs ordering, iSCSI and _netdev

2014-10-30 Thread Andrei Borzenkov
В Fri, 31 Oct 2014 01:53:26 +0100 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl пишет: On Thu, Oct 30, 2014 at 03:09:25PM -0700, Chris Leech wrote: On Tue, Oct 28, 2014 at 01:57:06AM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Oct 27, 2014 at 02:10:47PM -0700, Chris Leech wrote:

Re: [systemd-devel] remote-fs ordering, iSCSI and _netdev

2014-10-30 Thread Andrei Borzenkov
В Thu, 30 Oct 2014 15:15:03 -0700 Chris Leech cle...@redhat.com пишет: On Tue, Oct 28, 2014 at 06:41:32AM +0300, Andrei Borzenkov wrote: В Mon, 27 Oct 2014 14:10:47 -0700 Chris Leech cle...@redhat.com пишет: But there are two cases that are problematic, adding entries to fstab

Re: [systemd-devel] starting Oracle with systemd

2014-10-31 Thread Andrei Borzenkov
В Fri, 31 Oct 2014 11:20:02 -0400 Fisher, Charles J. (Top Echelon) charles.fis...@alcoa.com пишет: -Original Message- How about: http://www.freedesktop.org/software/systemd/man/systemd.kill.html Would setting KillMode=process for the listener service have the required

[systemd-devel] unit A is WantedBy unit B but unit B does not Want unit A?

2014-11-01 Thread Andrei Borzenkov
Sometimes device gets Wants on mount point; sometimes not. I do not really understand why. Also different mount units apparently behave differently - e.g. mnt.mount forgets its history. It almost looks like mnt.mount is destroyed after it is unmounted and t.mount not ... cat /etc/fstab

Re: [systemd-devel] Unexpecte behavior for timer with OnActiveSec

2014-11-08 Thread Andrei Borzenkov
В Fri, 7 Nov 2014 08:56:49 + Paassen, Hiram van hiram.van.paas...@mastervolt.com пишет: Hi, We need to switch to a different target after 30 min of starting that target. Switching happens with isolate. So we have a timer with OnActiveSec=30min witch starts a service that calls

Re: [systemd-devel] [RFC 4/4] add remote-fs dependencies if needed after change

2014-11-08 Thread Andrei Borzenkov
В Thu, 6 Nov 2014 21:11:03 -0800 Chris Leech cle...@redhat.com пишет: This is an attempt to add it the remote-fs dependencies to a mount unit if the options change, like when the utab options are picked up after mountinfo has already been processed. It just adds the remote-fs dependencies,

Re: [systemd-devel] remote-fs ordering, iSCSI and _netdev

2014-11-09 Thread Andrei Borzenkov
В Sun, 09 Nov 2014 20:15:56 +0300 Ivan Shapovalov intelfx...@gmail.com пишет: On Tuesday 28 October 2014 at 06:41:32, Andrei Borzenkov wrote: В Mon, 27 Oct 2014 14:10:47 -0700 Chris Leech cle...@redhat.com пишет: At boot fstab-generator is picking up on the _netdev option

Re: [systemd-devel] user environment variables

2014-11-15 Thread Andrei Borzenkov
В Mon, 10 Nov 2014 20:55:12 +0100 arnaud gaboury arnaud.gabo...@gmail.com пишет: As for the variable, two more wishes (not a big deal yet): - in units, why not add a specifier reflecting $XDG_CONFIG_HOME Hmm, when we start with that, then I figure people want the other XDG dirs as well,

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-19 Thread Andrei Borzenkov
В Tue, 18 Nov 2014 06:25:43 + Cao, XinX xinx@intel.com пишет: Hi, Umut David, My project needs the Graphical desktop to display on monitor as fast as possible, but I found lots of unrelated services( such as sound, network, ... ) are competing CPU even they are

Re: [systemd-devel] /usr vs /etc for default distro units enablement

2014-11-19 Thread Andrei Borzenkov
В Tue, 18 Nov 2014 16:22:18 + Colin Guthrie gm...@colin.guthr.ie пишет: Michael Biebl wrote on 18/11/14 15:55: 2014-11-18 16:30 GMT+01:00 Colin Guthrie gm...@colin.guthr.ie: Michael Biebl wrote on 18/11/14 15:09: 2014-11-18 15:59 GMT+01:00 Colin Guthrie gm...@colin.guthr.ie: Didier

Re: [systemd-devel] [BUG] too many rfkill services

2014-11-19 Thread Andrei Borzenkov
В Tue, 18 Nov 2014 18:37:03 +0100 Łukasz Stelmach stl...@poczta.fm пишет: After several suspend/resumes systemctl shows more than three dozens of rfkill devices even though I've got only one BT and one WLAN. --8---cut here---start-8---

Re: [systemd-devel] [BUG] too many rfkill services

2014-11-20 Thread Andrei Borzenkov
On Thu, Nov 20, 2014 at 11:53 AM, Mantas Mikulėnas graw...@gmail.com wrote: On Thu, Nov 20, 2014 at 5:40 AM, Andrei Borzenkov arvidj...@gmail.com wrote: The problem is, there no easy way to build device name from rfkillN for BindsTo. May be additional format specifier that would query udev

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

2014-11-21 Thread Andrei Borzenkov
On Thu, Nov 20, 2014 at 9:10 PM, Jóhann B. Guðmundsson johan...@gmail.com wrote: 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

Re: [systemd-devel] [BUG] too many rfkill services

2014-11-21 Thread Andrei Borzenkov
В Fri, 21 Nov 2014 01:26:36 +0100 Lennart Poettering lenn...@poettering.net пишет: On Thu, 20.11.14 19:56, Lukasz Stelmach (stl...@poczta.fm) wrote: I talked to the kernel guys at my office and they told me that it is quite usual (at least for USB devices, and my wlan and bt are USB)

Re: [systemd-devel] [BUG] too many rfkill services

2014-11-23 Thread Andrei Borzenkov
В Fri, 21 Nov 2014 01:26:36 +0100 Lennart Poettering lenn...@poettering.net пишет: On Thu, 20.11.14 19:56, Lukasz Stelmach (stl...@poczta.fm) wrote: I talked to the kernel guys at my office and they told me that it is quite usual (at least for USB devices, and my wlan and bt are USB)

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-27 Thread Andrei Borzenkov
В Thu, 27 Nov 2014 12:44:50 + Cao, XinX xinx@intel.com пишет: But it’s very strange, for I can’t find “sd_notify” or “sd_notifyf” in my program, but seems that notify type can still work. So are there any other functions able to do this ? Sorry, I do not understand

Re: [systemd-devel] How to start unit before everything else on shutdown

2014-11-27 Thread Andrei Borzenkov
В Thu, 27 Nov 2014 14:17:49 +0200 Mantas Mikulėnas graw...@gmail.com пишет: On Wed, Nov 26, 2014 at 11:06 PM, Nikolaus Rath nikol...@rath.org wrote: Hello, I'd like to start a unit on system shutdown and reboot, but do so immediately after the systemctl reboot command is executed,

Re: [systemd-devel] systemctl isolate foo.service expands to foo.service.target

2014-11-27 Thread Andrei Borzenkov
В Fri, 28 Nov 2014 15:11:29 +0800 WANG Chao chaow...@redhat.com пишет: Hi, All I happen to notice systemctl isolate will expands foo.service to foo.service.target, which unfortunately breaks my boot in some way. I find the following commit: commit 0807312 Author: Lennart Poettering

Re: [systemd-devel] [PATCH] 60-persistent-storage.rules: ignore partitions with ID_FS_TYPE of parent

2014-12-04 Thread Andrei Borzenkov
В Thu, 04 Dec 2014 15:14:00 +0100 Harald Hoyer har...@redhat.com пишет: On 04.12.2014 15:10, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Dec 04, 2014 at 12:57:36PM +0100, har...@redhat.com wrote: From: Harald Hoyer har...@redhat.com If ID_FS_TYPE of a parent is already set, then it's

Re: [systemd-devel] /usr vs /etc for default distro units enablement

2014-12-04 Thread Andrei Borzenkov
В Fri, 5 Dec 2014 02:39:09 +0100 Lennart Poettering lenn...@poettering.net пишет: On Tue, 02.12.14 20:02, Uoti Urpala (uoti.urp...@pp1.inet.fi) wrote: On Tue, 2014-12-02 at 01:51 +0100, Lennart Poettering wrote: On Tue, 18.11.14 16:09, Michael Biebl (mbi...@gmail.com) wrote:

Re: [systemd-devel] /usr vs /etc for default distro units enablement

2014-12-07 Thread Andrei Borzenkov
В Sun, 7 Dec 2014 09:39:50 +0200 Martin Pitt martin.p...@ubuntu.com пишет: Hello all, sorry for the late response. Andrei Borzenkov [2014-12-05 10:58 +0300]: That's not how I actually understood it. enable/disable still applies only to units with [Install] section as it is now. Just

Re: [systemd-devel] /usr vs /etc for default distro units enablement

2014-12-07 Thread Andrei Borzenkov
On Sun, Dec 7, 2014 at 11:27 PM, Martin Pitt martin.p...@ubuntu.com wrote: Hello, Andrei Borzenkov [2014-12-07 14:39 +0300]: Indeed the part after the OR is the only change that I propose. I. e. - systemctl enable: If /usr/.../wants/foo.service exists, remove the /dev/null symlink

[systemd-devel] Cycle between logind and NetworkManager in case of remote user database

2014-12-12 Thread Andrei Borzenkov
NetworkManager sets logind inhibitor lock to monitor for suspend events. So it implicitly requires logind to be present when NM starts. logind is ordered after nss-user-lookup.target. If we have remote user database, it means that logind depends on network to be up and running. If network is

Re: [systemd-devel] Cycle between logind and NetworkManager in case of remote user database

2014-12-15 Thread Andrei Borzenkov
В Mon, 15 Dec 2014 11:34:17 -0600 Dan Williams d...@redhat.com пишет: On Mon, 2014-12-15 at 16:11 +0100, Lennart Poettering wrote: On Sat, 13.12.14 10:09, Andrei Borzenkov (arvidj...@gmail.com) wrote: NetworkManager sets logind inhibitor lock to monitor for suspend events. So

[systemd-devel] logind, su - sessions and initscripts compatibility

2014-12-18 Thread Andrei Borzenkov
As far as I know, systemd still officially retains compatibility with initscripts. Unfortunately, session management now at least partially broke it. Any initscript that is using su - would create logind session; this session will persist until processes started by initscript are runing. On

Re: [systemd-devel] [PATCH] systemctl: print unit package in status

2014-12-18 Thread Andrei Borzenkov
On Thu, Dec 18, 2014 at 7:00 AM, Spencer Baugh sba...@catern.com wrote: When printing the status of a unit, open a connection to the session bus and query PackageKit for the package that the unit file belongs to. Print it if PackageKit knows. Searching packages database may be quite time

Re: [systemd-devel] Cycle between logind and NetworkManager in case of remote user database

2014-12-18 Thread Andrei Borzenkov
В Mon, 15 Dec 2014 14:20:45 -0600 Dan Williams d...@redhat.com пишет: On Mon, 2014-12-15 at 20:40 +0300, Andrei Borzenkov wrote: В Mon, 15 Dec 2014 11:34:17 -0600 Dan Williams d...@redhat.com пишет: On Mon, 2014-12-15 at 16:11 +0100, Lennart Poettering wrote: On Sat, 13.12.14

Re: [systemd-devel] logind, su - sessions and initscripts compatibility

2014-12-19 Thread Andrei Borzenkov
В Fri, 19 Dec 2014 11:16:58 -0500 wor...@alum.mit.edu (Dale R. Worley) пишет: Simon McVittie simon.mcvit...@collabora.co.uk writes: On 18/12/14 14:10, Dale R. Worley wrote: Simon McVittie simon.mcvit...@collabora.co.uk writes: On 18/12/14 08:05, Andrei Borzenkov wrote: Any initscript

Re: [systemd-devel] Restarting service does not work

2014-12-21 Thread Andrei Borzenkov
В Sun, 21 Dec 2014 13:24:16 +0100 Cecil Westerhof cldwester...@gmail.com пишет: I have a service in which I log vmstat info in a H2 database. Of-course this is only useful when H2 is actually running. So I have the following service file: [Unit] Description=Logging vmstat to H2

Re: [systemd-devel] java crashes only on boot

2014-12-21 Thread Andrei Borzenkov
В Sun, 21 Dec 2014 21:24:22 +0100 Florian Lindner mailingli...@xgm.de пишет: Hello, on my up to date Arch system I use Crashplan which is a java app for offsite backups. It used to work fine, until recently... When booting java dumps core: # systemctl status crashplan.service ●

Re: [systemd-devel] multi-user.target only wants network.service if I'm doing 'systemct show runlevel3.target'

2014-12-24 Thread Andrei Borzenkov
В Wed, 10 Dec 2014 09:23:16 +0300 Ivan Shapovalov intelfx...@gmail.com пишет: On Tuesday 09 December 2014 at 17:25:48, Francis Moreau wrote: Hello Lennart, Thanks for answering ! On 12/09/2014 02:10 PM, Lennart Poettering wrote: On Tue, 09.12.14 11:19, Francis Moreau

Re: [systemd-devel] systemd networking : problems with bridges

2015-01-03 Thread Andrei Borzenkov
В Sat, 3 Jan 2015 01:24:48 -0500 Charles Devereaux syst...@guylhem.net пишет: Hello I'm trying to configure systemd networking for a bridge, using v217-stable from anongit.freedesktop.org/systemd/systemd-stable I mostly have 3 problems: 1- 3 - I do not understand how to properly use

Re: [systemd-devel] Target updating status for dependencies

2015-01-17 Thread Andrei Borzenkov
В Wed, 14 Jan 2015 09:47:20 +0100 Martin Pitt martin.p...@ubuntu.com пишет: Hello all, I have some trouble to understand how unit dependencies work when they change status. Suppose I have an ifup-all-auto.target (which will of course be created by a generator, but for experimentation I

Re: [systemd-devel] failing boot start jobs delay reboot

2015-01-19 Thread Andrei Borzenkov
В Mon, 19 Jan 2015 17:59:41 -0500 Felix Miata mrma...@earthlink.net пишет: Has anything been done in more recent releases about this? I do a lot of cloning, and sometimes produce typos on grub cmdlines and fstab lines. This produces long delays in init followed by emergency mode when the

Re: [systemd-devel] failing boot start jobs delay reboot

2015-01-20 Thread Andrei Borzenkov
On Tue, Jan 20, 2015 at 7:03 AM, Felix Miata mrma...@earthlink.net wrote: Andrei Borzenkov composed on 2015-01-20 06:35 (UTC+0300): Mon, 19 Jan 2015 17:59:41 -0500 Felix Miata composed: Has anything been done in more recent releases about this? I do a lot of cloning, and sometimes produce

Re: [systemd-devel] Docker vs PrivateTmp

2015-01-19 Thread Andrei Borzenkov
В Mon, 19 Jan 2015 11:33:42 -0500 Lars Kellogg-Stedman l...@redhat.com пишет: On Sat, Jan 17, 2015 at 11:02:01PM -0500, Lars Kellogg-Stedman wrote: The TL;DR is that restarting a service with PrivateTmp=true appears to preserve references to any mounts in the parent mount namespace that

Re: [systemd-devel] cdrom_id and 60-cdrom_id.rules behavior

2015-01-15 Thread Andrei Borzenkov
On Thu, Jan 15, 2015 at 11:03 AM, Martin Pitt martin.p...@ubuntu.com wrote: Hello all, Robert Milasan [2015-01-12 9:39 +0100]: 1. add a CD/DVD into the driver 2. mount the driver: mount /dev/sr0 /mnt/my_cd (ensure you don't use the Gnome/KDE auto-mounting or reproduce this in a server

  1   2   3   4   5   6   7   8   9   >