Re: [systemd-devel] Offline systemd unit file installer

2014-08-08 Thread Andrey Borzenkov
В Fri, 8 Aug 2014 19:57:12 + Paassen, Hiram van hiram.van.paas...@mastervolt.com пишет: Hey, Is there a off-line variant for systemctl enable/disable? We use buildroot to generate/cross-compile a file-system and make extensive use of systemd. Right now we use installer scripts to

Re: [systemd-devel] Mount unit using device symlink

2014-08-04 Thread Andrey Borzenkov
В Mon, 04 Aug 2014 15:43:46 -0400 Patrick Hemmer syst...@stormcloud9.net пишет: I'm trying to mount a device using one of its symlinks, but systemd errors with Timed out waiting for device dev-block-ec2-ephemeral0.device The unit looks like: [Unit] After=ephemeral0-format.service

Re: [systemd-devel] [PATCH] ldconfig: dont run it if ldconfig is not installed

2014-07-30 Thread Andrey Borzenkov
On Wed, Jul 30, 2014 at 11:02 AM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: --- units/ldconfig.service |1 + 1 file changed, 1 insertion(+) diff --git a/units/ldconfig.service b/units/ldconfig.service index 43c145b..09a2b74 100644 --- a/units/ldconfig.service +++

Re: [systemd-devel] [PATCH] always check asprintf return code

2014-07-25 Thread Andrey Borzenkov
В Fri, 25 Jul 2014 15:38:31 +0200 Karel Zak k...@redhat.com пишет: There is a small number of the places in sources where we don't check asprintf() return code and assume that after error the function returns NULL pointer via the first argument. That's wrong, after error the content of

Re: [systemd-devel] [PATCH v2] readahead: use BTRFS_IOC_DEFRAG_RANGE

2014-07-21 Thread Andrey Borzenkov
В Mon, 21 Jul 2014 18:15:37 +0300 Timofey Titovets nefelim...@gmail.com пишет: Zbyszek, i research problem and i found what in btrfs.h struct btrfs_ioctl_defrag_range_args not defined This acceptable if i add it in missing.h like: /* btrfs_ioctl_defrag_range_args now 21.07.2014 * not

Re: [systemd-devel] [PATCH v2] readahead: use BTRFS_IOC_DEFRAG_RANGE

2014-07-21 Thread Andrey Borzenkov
В Mon, 21 Jul 2014 16:51:22 +0300 Timofey Titovets nefelim...@gmail.com пишет: Zbyszek, thanks for comment, i will work on fixing what you say and resend patch. Just completed TODO: * readahead: use BTRFS_IOC_DEFRAG_RANGE instead of BTRFS_IOC_DEFRAG This is still not an explanation.

Re: [systemd-devel] [PATCH 1/2] core: do not add default dependencies to /usr mount unit

2014-07-21 Thread Andrey Borzenkov
В Tue, 22 Jul 2014 00:39:13 +0200 Jon Severinsson j...@severinsson.net пишет: This makes no difference if /usr was mounted in the initrd, and brings the behaviour of legacy systems closer to those with a propper initrd. This should be documented in systemd.special(7) then. But what exact

Re: [systemd-devel] [PATCH] readahead: use BTRFS_IOC_DEFRAG_RANGE

2014-07-20 Thread Andrey Borzenkov
В Sun, 20 Jul 2014 22:27:20 +0300 Timofey Titovets nefelim...@gmail.com пишет: Just completed TODO: * readahead: use BTRFS_IOC_DEFRAG_RANGE instead of BTRFS_IOC_DEFRAG It would be helpful to give explanation why for future reference. +/* TODO: Fix: wan't compile it it struct in ifndef

Re: [systemd-devel] need help implementing a special behaviour

2014-07-08 Thread Andrey Borzenkov
В Tue, 08 Jul 2014 14:37:19 +0200 Steffen Sledz sl...@dresearch-fe.de пишет: On 08.07.2014 14:22, Lennart Poettering wrote: On Tue, 08.07.14 14:11, Steffen Sledz (sl...@dresearch-fe.de) wrote: There is one more open question. We did not found a *clear* definition (e.g. a state diagram) of

Re: [systemd-devel] need help implementing a special behaviour

2014-07-08 Thread Andrey Borzenkov
В Tue, 8 Jul 2014 14:22:01 +0200 Lennart Poettering lenn...@poettering.net пишет: There is one more open question. We did not found a *clear* definition (e.g. a state diagram) of all the states a unit can have. Yeah, I tried to avoid documenting this in too much detail, since we wanted

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

2014-07-03 Thread Andrey Borzenkov
В Thu, 3 Jul 2014 22:59:57 +0200 Lennart Poettering lenn...@poettering.net пишет: * A new command systemctl is-system-running has been added that allows checking the overall state of the system, for example whether it is fully up and running. Is it more

Re: [systemd-devel] systemd-fsck-root semantics

2014-07-02 Thread Andrey Borzenkov
В Wed, 2 Jul 2014 12:33:01 -0600 Chris Murphy li...@colorremedies.com пишет: On Jul 2, 2014, at 5:39 AM, Daniel Drake dr...@endlessm.com wrote: Hi, I'm trying to understand dracut/systemd fsck behaviour, in the context of an ext4 filesystem root mounted read-only from dracut,

Re: [systemd-devel] [PATCH] fstab-generator: do not check btrfs and xfs

2014-06-29 Thread Andrey Borzenkov
В Sat, 28 Jun 2014 19:49:07 +0200 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl пишет: fsck.btrfs and fsck.xfs are documented to return immediately, so there is little sense in running them. Avoids some user confusion and a few lines in the logs.

Re: [systemd-devel] Restart of Target should restart all services that are wanted by that target and have StopWhenUnneeded=true

2014-06-27 Thread Andrey Borzenkov
On Fri, Jun 27, 2014 at 9:56 AM, Michael Seiwald michael.seiw...@ith-icoserve.com wrote: Hi, I have a target unit that acts as a collection unit for several service units. The service units all have a WantedBy directive pointing to the target unit as well as StopWhenUnneeded set to true.

Re: [systemd-devel] no fsck at boot

2014-06-24 Thread Andrey Borzenkov
В Tue, 24 Jun 2014 11:03:06 -0600 Chris Murphy li...@colorremedies.com пишет: On Jun 24, 2014, at 2:12 AM, Colin Guthrie gm...@colin.guthr.ie wrote: Well, the initramfs should mount the rootfs readonly, and then it can read it's /etc/fstab (and the /forcefsck file) and determine if any

Re: [systemd-devel] localization of console

2014-06-19 Thread Andrey Borzenkov
On Thu, Jun 19, 2014 at 1:49 PM, Alexey Shabalin a.shaba...@gmail.com wrote: Oh, sorry. I have not problems with encryption passphrase. I can not see my font after getty@.service, after login. Are you using graphical plymouth (or may be another boot splash screen)? Yes, plymouth. It

Re: [systemd-devel] localization of console

2014-06-18 Thread Andrey Borzenkov
В Thu, 19 Jun 2014 02:04:53 +0400 Alexey Shabalin a.shaba...@gmail.com пишет: 2014-06-19 0:06 GMT+04:00 Jason St. John jstj...@purdue.edu: On Wed, Jun 18, 2014 at 12:19 PM, Alexey Shabalin a.shaba...@gmail.com wrote: Hello. I do not understand how the should work localization of

Re: [systemd-devel] systemd not initializing

2014-06-16 Thread Andrey Borzenkov
On Mon, Jun 16, 2014 at 3:27 PM, Mantas Mikulėnas graw...@gmail.com wrote: On Jun 16, 2014 2:12 PM, Jay D Bhatt jay.bh...@igate.com wrote: Hi Andrey, I also think getty is missing. There was no sbin/getty, it was agetty, so I created soft link to make sbin/getty. Hmm, I thought

Re: [systemd-devel] systemd not initializing

2014-06-16 Thread Andrey Borzenkov
On Mon, Jun 16, 2014 at 3:12 PM, Jay D Bhatt jay.bh...@igate.com wrote: Hi Andrey, I also think getty is missing. There was no sbin/getty, it was agetty, so I created soft link to make sbin/getty. systemd already calls agetty, it si just that service is named getty@tty.service. Secondly,

Re: [systemd-devel] Slow startup of systemd-journal on BTRFS

2014-06-16 Thread Andrey Borzenkov
On Mon, Jun 16, 2014 at 2:14 PM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 16.06.14 10:17, Russell Coker (russ...@coker.com.au) wrote: I am not really following though why this trips up btrfs though. I am not sure I understand why this breaks btrfs COW behaviour. I mean,

Re: [systemd-devel] [PATCH 09/11] Avoid conflict between su shell and agetty on the same console

2014-06-16 Thread Andrey Borzenkov
В Fri, 13 Jun 2014 16:41:08 +0200 Werner Fink wer...@suse.de пишет: Otherwise this leads to a poweroff at boot time. I'm not sure what conflict you mean here. Could you provide bug reference? --- units/console-shell.service.m4.in |3 --- 1 file changed, 3 deletions(-) diff --git

Re: [systemd-devel] [PATCH 05/11] After emergency service had been started any incoming traffic on syslog.socket

2014-06-16 Thread Andrey Borzenkov
В Fri, 13 Jun 2014 16:41:04 +0200 Werner Fink wer...@suse.de пишет: From: arvidj...@gmail.com will terminate emergency.service due to implicit dependencies on basic.target and therefore sysinit.target which in turn conflict with emergency.target. I always considered it as a stopgap not

Re: [systemd-devel] systemd not initializing

2014-06-14 Thread Andrey Borzenkov
В Fri, 13 Jun 2014 09:18:57 + Jay D Bhatt jay.bh...@igate.com пишет: Sorry, Forgot to send log. I got the previous log by command use `journalctl --boot -1` Please find the log attached. This time the system stopped prior to previous run. This time it stopped at : [ OK ]

Re: [systemd-devel] [PATCH 2/4] core: fix invalid free() in killall()

2014-06-14 Thread Andrey Borzenkov
В Fri, 13 Jun 2014 18:48:19 +0200 Andreas Henriksson andr...@fatal.se пишет: static int killall() in ./src/core/killall.c tries to get s initialized by calling get_process_comm(...) which calls read_one_line_file(...) which if it fails will mean it is left uninitialized. It is then used

Re: [systemd-devel] [PATCH] Add a network-pre.target to avoid firewall leaks

2014-06-07 Thread Andrey Borzenkov
В Sun, 8 Jun 2014 01:42:18 +0200 Michael Biebl mbi...@gmail.com пишет: 2014-06-08 1:07 GMT+02:00 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl: On Sun, Jun 08, 2014 at 12:55:55AM +0200, Michael Biebl wrote: Could you elaborate why Before=network.target is too late? Because then network

Re: [systemd-devel] [PATCH] Add a network-pre.target to avoid firewall leaks

2014-06-06 Thread Andrey Borzenkov
В Fri, 06 Jun 2014 12:53:01 + Rusty Bird rustyb...@openmailbox.org пишет: https://bugs.freedesktop.org/show_bug.cgi?id=79600 --- Makefile.am | 1 + man/systemd.special.xml | 1 + units/network-pre.target | 11 +++ units/network.target

Re: [systemd-devel] [PATCH] [RFC] Move handling of sysv initscripts to a generator

2014-05-31 Thread Andrey Borzenkov
В Thu, 29 May 2014 16:11:25 +0200 Thomas H.P. Andersen pho...@gmail.com пишет: What about the SysVStartPriority= option set in native .service's? Is there any non-trivial use case for it? The only usage I have seen was in rc.local emulation and right now none of services installed here defines

Re: [systemd-devel] [PATCH] [RFC] Move handling of sysv initscripts to a generator

2014-05-29 Thread Andrey Borzenkov
В Thu, 29 May 2014 16:11:25 +0200 Thomas H.P. Andersen pho...@gmail.com пишет: On Wed, May 28, 2014 at 3:38 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, May 28, 2014 at 01:12:23AM +0200, Thomas H.P. Andersen wrote: From: Thomas Hindoe Paaboel Andersen pho...@gmail.com

Re: [systemd-devel] Unable to override systemd-udevd.service

2014-05-18 Thread Andrey Borzenkov
, at 19:26, Andrey Borzenkov (by way of Andrey Borzenkov arvidj...@gmail.com) arvidj...@gmail.com wrote: В Wed, 23 Apr 2014 06:43:04 +0200 Lennart Poettering lenn...@poettering.net пишет: On Sun, 30.03.14 19:23, Andrey Borzenkov (arvidj...@gmail.com) wrote: linux-qbc6:~ # systemctl

Re: [systemd-devel] Persistent timers delay Type=idle units

2014-04-23 Thread Andrey Borzenkov
В Wed, 23 Apr 2014 05:57:39 +0200 Lennart Poettering lenn...@poettering.net пишет: Ah, OK, I think I got it now: You have services that are to be started by timers that take a long time to complete. THe timers have been configured to be persistent. If the system comes up and the timestamp

Re: [systemd-devel] Unable to override systemd-udevd.service

2014-04-23 Thread Andrey Borzenkov
В Wed, 23 Apr 2014 06:43:04 +0200 Lennart Poettering lenn...@poettering.net пишет: On Sun, 30.03.14 19:23, Andrey Borzenkov (arvidj...@gmail.com) wrote: linux-qbc6:~ # systemctl show systemd-udevd.service -p FragmentPath FragmentPath=/usr/lib/systemd/system/systemd-udevd.service linux

Re: [systemd-devel] Persistent timers delay Type=idle units

2014-04-23 Thread Andrey Borzenkov
В Wed, 23 Apr 2014 20:30:35 +0200 Lennart Poettering lenn...@poettering.net пишет: On Wed, 23.04.14 13:15, Leonid Isaev (lis...@umail.iu.edu) wrote: Hmm, this sounds nasty. I wodner what we can do about it... Maybe we should add a new setting PersistentExtraSec= to timer units or

Re: [systemd-devel] gummiboot can't be installed on ESP which is soft RAID1 metadata=0.9 partition

2014-04-14 Thread Andrey Borzenkov
В Mon, 14 Apr 2014 18:22:50 +0200 Francis Moreau francis.m...@gmail.com пишет: On 04/14/2014 06:16 PM, Lennart Poettering wrote: On Mon, 14.04.14 18:01, Francis Moreau (francis.m...@gmail.com) wrote: Hello, gummiboot install fails when ESP is MD RAID1 device using metadata 0.9 or

Re: [systemd-devel] [PATCH] fstab-generator: local-fs.target waits for nofail mounts

2014-04-10 Thread Andrey Borzenkov
В Thu, 10 Apr 2014 09:46:56 -0400 Vivek Goyal vgo...@redhat.com пишет: On Thu, Apr 10, 2014 at 06:38:59AM +0400, Andrey Borzenkov wrote: [..] So with nofail opion for rootfs we should have following situation. - sysroot.mount Before=initrd-root-fs.target - initrd-root

Re: [systemd-devel] [PATCH] fstab-generator: local-fs.target waits for nofail mounts

2014-04-09 Thread Andrey Borzenkov
В Wed, 9 Apr 2014 13:49:47 -0400 Vivek Goyal vgo...@redhat.com пишет: On Wed, Apr 09, 2014 at 05:36:13PM +0800, WANG Chao wrote: On 04/08/14 at 06:02pm, Vivek Goyal wrote: On Tue, Apr 08, 2014 at 02:14:33AM +0200, Zbigniew Jędrzejewski-Szmek wrote: [..] Defining a new

Re: [systemd-devel] [PATCH] fstab-generator: local-fs.target waits for nofail mounts

2014-04-07 Thread Andrey Borzenkov
В Mon, 7 Apr 2014 13:40:17 -0400 Vivek Goyal vgo...@redhat.com пишет: Defining a new target which by default waits for all the local fs target sounds interesting. Again, I have the question, what will happen to local-fs-all.target if some device does not show up and say one of the mounts

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 m...@0x01b.net 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

Re: [systemd-devel] Requiring hardware device and escaping device names

2014-04-01 Thread Andrey Borzenkov
On Tue, Apr 1, 2014 at 6:45 AM, Kai Hendry hen...@webconverger.com wrote: On 31 March 2014 09:54, Kai Hendry hen...@webconverger.com wrote: Not sure what to try next? If I start it manually `sudo systemctl start shkd@-dev-input-event0.service`, it starts working again. Is

[systemd-devel] Unable to override systemd-udevd.service

2014-03-30 Thread Andrey Borzenkov
linux-qbc6:~ # systemctl show systemd-udevd.service -p FragmentPath FragmentPath=/usr/lib/systemd/system/systemd-udevd.service linux-qbc6:~ # cp /usr/lib/systemd/system/systemd-udevd.service /etc/systemd/system linux-qbc6:~ # systemctl daemon-reload linux-qbc6:~ # cp

Re: [systemd-devel] Requiring hardware device and escaping device names

2014-03-30 Thread Andrey Borzenkov
В Sun, 30 Mar 2014 23:48:11 +0800 Kai Hendry hen...@webconverger.com пишет: On 26 March 2014 22:55, Jóhann B. Guðmundsson johan...@gmail.com wrote: SUBSYSTEM==input, ENV{ID_INPUT_KEYBOARD}==?*, ENV{.INPUT_CLASS}=kbd, TAG+=systemd, ENV{SYSTEMD_WANTS}+=shkd@%p.service ... Trying to teach

Re: [systemd-devel] writing a systemd unit for nbd devices

2014-03-21 Thread Andrey Borzenkov
On Fri, Mar 21, 2014 at 4:05 PM, Wouter Verhelst wou...@debian.org wrote: First, let me explain how NBD works. The client side of the NBD protocol is implemented partially in user space, and partially in kernel space. The user space part handles connecting and the initial protocol

Re: [systemd-devel] [PATCH] timedated: add --timezone option to set the default timezone

2014-03-19 Thread Andrey Borzenkov
В Wed, 19 Mar 2014 19:55:35 +0100 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl пишет: On Thu, Mar 20, 2014 at 12:39:12AM +0900, juho son wrote: Hi, I omitted explain about. /etc have many system's configuration files. localtime is one of them. Normally /etc is on readable and writable

Re: [systemd-devel] Passing variables from udev to unit

2014-03-13 Thread Andrey Borzenkov
В Fri, 14 Mar 2014 08:53:45 +1000 Peter Hutterer peter.hutte...@who-t.net пишет: Hey, I have a service file wacom-inputattach@.service that is started from a udev rule: SUBSYSTEM==tty|pnp, KERNEL==ttyS[0-9]*, ATTRS{id}==WACf*, TAG+=systemd,

Re: [systemd-devel] Help regarding service dependency

2014-03-13 Thread Andrey Borzenkov
В Thu, 13 Mar 2014 21:25:34 -0400 (EDT) Amit Saha as...@redhat.com пишет: Hello, We have service1 which starts in default.target, and we want it to start After service2 (systemd-readahead-done) which starts after the default.target is reached. So, I think what would happen in this case

Re: [systemd-devel] [PATCH] man: improve wording of systemctl's --after/--before

2014-03-12 Thread Andrey Borzenkov
option does, and add information about how these lists are generated. Reported-by: Andrey Borzenkov arvidj...@gmail.com Reported-by: Lennart Poettering lenn...@poettering.net --- Patch that resulted in commit 4a77ca7 was posted here: http://lists.freedesktop.org/archives/systemd-devel/2014

Re: [systemd-devel] [HEADS-UP] Discoverable Partitions Spec

2014-03-07 Thread Andrey Borzenkov
В Fri, 7 Mar 2014 20:37:12 +0100 Lennart Poettering lenn...@poettering.net пишет: On Fri, 07.03.14 20:47, Mantas Mikulėnas (graw...@gmail.com) wrote: On Fri, Mar 7, 2014 at 8:26 PM, Lennart Poettering lenn...@poettering.net wrote: Heya! Since yesterday systemd in git can now

[systemd-devel] [PATCH] systemctl: fix description of --after/--before

2014-02-21 Thread Andrey Borzenkov
It was backward - --after fetches After property, so units shown really come *before* unit given as argument. Same for --before. --- man/systemctl.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/systemctl.xml b/man/systemctl.xml index 355cd11..fef9578 100644 ---

Re: [systemd-devel] /run needs to be mounted? ugh.

2014-02-11 Thread Andrey Borzenkov
В Tue, 11 Feb 2014 17:20:15 +0100 Jason A. Donenfeld ja...@zx2c4.com пишет: On Tue, Feb 11, 2014 at 5:15 PM, Dave Reisner d...@falconindy.com wrote: I don't think there's any change needed here. The interface states: The initrd should mount /run as a tmpfs. And sure enough, this

Re: [systemd-devel] /run needs to be mounted? ugh.

2014-02-11 Thread Andrey Borzenkov
В Tue, 11 Feb 2014 17:25:29 +0100 Lennart Poettering lenn...@poettering.net пишет: An initrd without /run is mostly pointless, no? Either you have storage daemons and hence need /run around, or you don't have storage daemons, in which case you can just boot without involving any initrd?

Re: [systemd-devel] How to prevent sleep during running oneshot units

2014-02-11 Thread Andrey Borzenkov
В Wed, 12 Feb 2014 02:12:15 +0100 Kai Krakow hurikha...@gmail.com пишет: See systemd-inhibit(1). Yeah, I've read that of course. Maybe I didn't get the complete picture but from the man page it's supposed to work by running systemd-inhibit on the command line. This in turn means, I'd

Re: [systemd-devel] [PATCH] pager: remove --no-init setting from LESS options

2014-02-10 Thread Andrey Borzenkov
On Tue, Feb 11, 2014 at 9:15 AM, Mantas Mikulėnas graw...@gmail.com wrote: On Feb 11, 2014 7:02 AM, Jason A. Donenfeld ja...@zx2c4.com wrote: I use konsole. It has a nice feature that when the scrollbars have been disabled -- like in the case of a full-console app like vim or less -- it makes

Re: [systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Andrey Borzenkov
В Tue, 4 Feb 2014 15:31:58 + Barry Scott barry.sc...@onelan.co.uk пишет: Change the messages output and also all internal function names and variables to match. As a non-native English speaker I must admit ellipsize was more understandable. I am not sure I would understand elide if it was

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-02-04 Thread Andrey Borzenkov
В Wed, 5 Feb 2014 00:10:51 +0100 Lennart Poettering lenn...@poettering.net пишет: On Wed, 29.01.14 19:29, Andrey Borzenkov (arvidj...@gmail.com) wrote: Thanks for tracking this done, this really sounds like you nailed the problem. Now, how to fix it? Hmm, so, I would claim

Re: [systemd-devel] reboot splash screen

2014-01-31 Thread Andrey Borzenkov
В Fri, 31 Jan 2014 18:11:10 -0500 Cliff Brake cliff.br...@gmail.com пишет: Hi, I'm trying to get systemd to display a splash screen on powerdown. I've tried using something similar to these recipes: http://cgit.freedesktop.org/plymouth/tree/systemd-units But, for some reason my service

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-01-29 Thread Andrey Borzenkov
В Mon, 27 Jan 2014 15:48:50 +0100 Lennart Poettering lenn...@poettering.net пишет: On Sun, 26.01.14 12:09, Andrey Borzenkov (arvidj...@gmail.com) wrote: Any advices on how to do that? I have both the issue (reproducible on each shutdown) and will to debug. Well, enable the debug

Re: [systemd-devel] [PATCH] Drop Before=paths/sockets/timers.target from DefaultDependencies.

2014-01-29 Thread Andrey Borzenkov
В Wed, 29 Jan 2014 10:16:06 +0100 Thomas Bächler tho...@archlinux.org пишет: Am 29.01.2014 03:49, schrieb Andrey Borzenkov: Zbyszek's argument for the patch, however, is that following the recommended WantedBy= behavior already applies the same Before= dependency, Where

Re: [systemd-devel] [PATCH] Drop Before=paths/sockets/timers.target from DefaultDependencies.

2014-01-28 Thread Andrey Borzenkov
В Tue, 28 Jan 2014 13:15:38 -0800 David Timothy Strauss da...@davidstrauss.net пишет: Alternatively, we should update the man pages to reflect what the DefaultDependencies= option affects. Zbyszek's argument for the patch, however, is that following the recommended WantedBy= behavior

Re: [systemd-devel] Add unit to arbitrary target.

2014-01-28 Thread Andrey Borzenkov
On Wed, Jan 29, 2014 at 9:23 AM, dE de.tec...@gmail.com wrote: On enabling a unit, by default systemd will put it in a target which has been specified in by the unit itself. Is there any way by which I can make the unit start in any custom target? Manual linking or using systemctl? Just use

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-01-27 Thread Andrey Borzenkov
В Mon, 27 Jan 2014 07:43:55 +0100 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl пишет: Looks like we need a setting like SendKillSignalTo=main-pid|all|control-pid. Quoting from this thread I don't think we want any processes to survive the exit of user@.service, So why would we need

Re: [systemd-devel] udev failing to assign consistent biosdevnames to my ethernet interfaces

2014-01-27 Thread Andrey Borzenkov
В Mon, 27 Jan 2014 05:39:58 + David Anderson d...@natulte.net пишет: On Mon, Jan 27, 2014 at 5:18 AM, Andrey Borzenkov arvidj...@gmail.comwrote: В Mon, 27 Jan 2014 04:18:20 + David Anderson d...@natulte.net пишет: This is a continuation of a discussion I had on #systemd. I

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-01-27 Thread Andrey Borzenkov
В Mon, 27 Jan 2014 12:15:54 + Colin Guthrie gm...@colin.guthr.ie пишет: [Mailing list CC'ed again] 'Twas brillig, and Andrey Borzenkov at 27/01/14 11:58 did gyre and gimble: В Mon, 27 Jan 2014 11:27:31 + Colin Guthrie gm...@colin.guthr.ie пишет: 'Twas brillig, and Andrey

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-01-27 Thread Andrey Borzenkov
В Mon, 27 Jan 2014 13:15:55 +0100 Tom Gundersen t...@jklm.no пишет: On Mon, Jan 27, 2014 at 7:43 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Sun, Jan 26, 2014 at 09:16:13PM +0400, Andrey Borzenkov wrote: В Sun, 26 Jan 2014 17:23:54 +0100 Tom Gundersen t...@jklm.no пишет

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-01-27 Thread Andrey Borzenkov
В Mon, 27 Jan 2014 15:29:15 +0100 Lennart Poettering lenn...@poettering.net пишет: On Mon, 27.01.14 13:42, Tom Gundersen (t...@jklm.no) wrote: So maybe something like this: In addition to the boolean values for systemd.show_status= on the kernel cmdline (or ShowStatus= in

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-01-26 Thread Andrey Borzenkov
В Fri, 24 Jan 2014 18:46:06 +0100 Lennart Poettering lenn...@poettering.net пишет: On Fri, 24.01.14 21:10, Ivan Shapovalov (intelfx...@gmail.com) wrote: However, something like that can never be the default, we need to give services the chance to shut down cleanly and in the right

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-01-26 Thread Andrey Borzenkov
В Sun, 26 Jan 2014 12:09:23 +0400 Andrey Borzenkov arvidj...@gmail.com пишет: В Fri, 24 Jan 2014 18:46:06 +0100 Lennart Poettering lenn...@poettering.net пишет: On Fri, 24.01.14 21:10, Ivan Shapovalov (intelfx...@gmail.com) wrote: However, something like that can never

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-01-26 Thread Andrey Borzenkov
В Sun, 26 Jan 2014 17:18:28 +0400 Andrey Borzenkov arvidj...@gmail.com пишет: В Sun, 26 Jan 2014 12:09:23 +0400 Andrey Borzenkov arvidj...@gmail.com пишет: В Fri, 24 Jan 2014 18:46:06 +0100 Lennart Poettering lenn...@poettering.net пишет: On Fri, 24.01.14 21:10, Ivan Shapovalov

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-01-26 Thread Andrey Borzenkov
В Sun, 26 Jan 2014 17:23:54 +0100 Tom Gundersen t...@jklm.no пишет: Unfortunately, setting KillMode=process is not allowed: Jan 26 17:12:30 linux-1a7f systemd[1]: user@0.service has PAM enabled. Kill mode must be set to 'control-group'. Refusing. Probably user@.service should be

Re: [systemd-devel] Malicious tests?

2014-01-26 Thread Andrey Borzenkov
В Sun, 26 Jan 2014 19:44:13 -0500 Tom Horsley horsley1...@gmail.com пишет: Does systemd have any tests for malicious behavior? People sending bazillions of dbus requests? People sending random nonsense dbus requests? I'm just asking because you gotta know someone is gonna do it if you

Re: [systemd-devel] udev failing to assign consistent biosdevnames to my ethernet interfaces

2014-01-26 Thread Andrey Borzenkov
В Mon, 27 Jan 2014 04:18:20 + David Anderson d...@natulte.net пишет: This is a continuation of a discussion I had on #systemd. I have a server that has two onboard ethernet chipsets, and a fresh Arch linux install (systemd/udevd v208). On this system, consistent interface naming fails,

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-01-24 Thread Andrey Borzenkov
В Fri, 24 Jan 2014 18:46:06 +0100 Lennart Poettering lenn...@poettering.net пишет: On Fri, 24.01.14 21:10, Ivan Shapovalov (intelfx...@gmail.com) wrote: However, something like that can never be the default, we need to give services the chance to shut down cleanly and in the right

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-01-24 Thread Andrey Borzenkov
В Fri, 24 Jan 2014 19:44:08 +0100 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl пишет: On Fri, Jan 24, 2014 at 07:26:48PM +0100, Michael Biebl wrote: 2014/1/24 Lennart Poettering lenn...@poettering.net: On Fri, 24.01.14 18:18, Michael Biebl (mbi...@gmail.com) wrote: Making the

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-01-24 Thread Andrey Borzenkov
On Fri, Jan 24, 2014 at 11:09 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 24.01.2014 20:01, schrieb Andrey Borzenkov: В Fri, 24 Jan 2014 19:44:08 +0100 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl пишет: On Fri, Jan 24, 2014 at 07:26:48PM +0100, Michael Biebl wrote: 2014/1/24 Lennart

Re: [systemd-devel] Is masking an error?

2014-01-21 Thread Andrey Borzenkov
On Tue, Jan 21, 2014 at 1:01 PM, Thomas Bächler tho...@archlinux.org wrote: Am 21.01.2014 09:33, schrieb Holger Schurig: on my systemd v208 + many patches from the Fedora 21 source RPM i get TWO error messages in my journal when I login as root: 09:27:58 systemd-logind[118]: Failed to start

Re: [systemd-devel] understanding list-unit-files ...

2014-01-15 Thread Andrey Borzenkov
В Wed, 15 Jan 2014 16:20:44 +0100 Holger Schurig holgerschu...@gmail.com пишет: There is one strange thing here: root@desktop:/etc# systemctl list-unit-files | grep multi multi-user.targetdisabled root@desktop:/etc# systemctl status multi-user.target multi-user.target -

Re: [systemd-devel] systemctl reboot/shutdown freezes client

2014-01-14 Thread Andrey Borzenkov
В Wed, 15 Jan 2014 02:54:16 +0100 Reindl Harald h.rei...@thelounge.net пишет: can someone please have a look why starting with Fedora 20/RHEL7 and systemd-208 after typing systemctl reboot no longer waits until sshd is closing the client connection resulting in a completly frozen VT ignoring

Re: [systemd-devel] Is there any way to stop services in cgroup?

2014-01-02 Thread Andrey Borzenkov
В Чт, 02/01/2014 в 17:43 +0200, Mantas Mikulėnas пишет: On Thu, Jan 2, 2014 at 4:02 PM, Tony Seo tonys...@gmail.com wrote: Hello. I wonder that systemd has a method to stop all services in specific cgroup. Actually, I have looked for a method to stop all services as the same time. I have

[systemd-devel] network-online.target and manual mounts

2014-01-01 Thread Andrey Borzenkov
systemd.special(7) suggests that network-online.target should be pulled in by consumer. Unfortunately, that means that when booting without active consumer (let's say no NFS mounts in fstab) network-online.target is not started at all. If NFS is mounted manually later, no synchronization point

Re: [systemd-devel] network-online.target and manual mounts

2014-01-01 Thread Andrey Borzenkov
В Ср, 01/01/2014 в 15:00 -0500, Dave Reisner пишет: On Wed, Jan 01, 2014 at 11:43:15PM +0400, Andrey Borzenkov wrote: systemd.special(7) suggests that network-online.target should be pulled in by consumer. Unfortunately, that means that when booting without active consumer (let's say no NFS

Re: [systemd-devel] [PATCHv2] install: Assume *.wants symlinks have the same name as their target for scalability.

2013-12-31 Thread Andrey Borzenkov
В Вс, 29/12/2013 в 18:57 +0100, Zbigniew Jędrzejewski-Szmek пишет: Hi, I'd like to reopen this thread. I have been looking at our bugs [1-10, there are others too] related to enabling/disabling of units and following of symlinks. Currently this is an unintuitive mess and some changes will

Re: [systemd-devel] [PATCHv2] login: Don't stop a running user manager from garbage-collecting the user.

2013-12-24 Thread Andrey Borzenkov
On Tue, Dec 24, 2013 at 1:14 PM, Ivan Shapovalov intelfx...@gmail.com wrote: It seems that this patch has been applied to Arch's systemd-208-3, but it did not fix the issue for me. I'm still getting the timeout: Dec 23 17:26:42 intelfx-laptop systemd[1]: user@1000.service stopping timed

Re: [systemd-devel] udev rules environment variable

2013-12-18 Thread Andrey Borzenkov
В Wed, 18 Dec 2013 13:36:52 +0100 Robert Milasan rmila...@suse.com пишет: So basically it doesn't really work ?! It does not always work for net device as it looks like. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] udev rules environment variable

2013-12-18 Thread Andrey Borzenkov
В Wed, 18 Dec 2013 02:52:01 +0100 Kay Sievers k...@vrfy.org пишет: On Tue, Dec 17, 2013 at 8:14 PM, Andrey Borzenkov arvidj...@gmail.com wrote: В Tue, 17 Dec 2013 19:59:47 +0100 Kay Sievers k...@vrfy.org пишет: # modprobe dummy dummy is not renamed. UDEV [80256.274447] move

Re: [systemd-devel] udev rules environment variable

2013-12-17 Thread Andrey Borzenkov
В Tue, 17 Dec 2013 14:05:56 +0100 Robert Milasan rmila...@suse.com пишет: On Tue, 17 Dec 2013 13:54:34 +0100 Martin Pitt martin.p...@ubuntu.com wrote: Robert Milasan [2013-12-17 12:44 +0100]: I have this rule as a test, but doesn't do squat (meaning it doesnt work) :)

Re: [systemd-devel] udev rules environment variable

2013-12-17 Thread Andrey Borzenkov
В Tue, 17 Dec 2013 19:59:47 +0100 Kay Sievers k...@vrfy.org пишет: Works just fine here as expected, it's probably something in your setup. No, it *your* default interface renaming :) Kay # head -2 /etc/udev/rules.d/10-local.rules ACTION==add, SUBSYSTEM==net, ENV{test_device}=1

Re: [systemd-devel] Is it possible to start other service units by a service unit which was killed?

2013-12-16 Thread Andrey Borzenkov
В Tue, 17 Dec 2013 04:13:33 +0900 Tony Seo tonys...@gmail.com пишет: But I'm curious about fail from your answer, now. What is the fail signal in systemd? When process terminated unexpectedly with any exit status that does not mean normal exit. See SuccessExitStatus in man systemd.service.

Re: [systemd-devel] Is it possible to start other service units by a service unit which was killed

2013-12-15 Thread Andrey Borzenkov
В Mon, 16 Dec 2013 02:26:02 +0900 Tony Seo tonys...@gmail.com пишет: Hello. I send this mail to know whether systemd have options to solve this problem without socket activation. what I have experienced situation is like: If I have A.service, B.service and C.service, I'd like to set

Re: [systemd-devel] Fwd: [Pkg-systemd-maintainers] Bug#732157: Want SIGSTOP-style daemon/service readiness notification

2013-12-15 Thread Andrey Borzenkov
В Sun, 15 Dec 2013 23:23:54 +0100 Lennart Poettering lenn...@poettering.net пишет: This is really not how we should do it: the admin must be capable of tracing and pausing the boot process, and an init system should not make that impossible. What happens currently when service gets

Re: [systemd-devel] Why doe I not see the logging with -u

2013-12-14 Thread Andrey Borzenkov
В Sat, 14 Dec 2013 09:22:46 +0100 Cecil Westerhof cecil.wester...@snow.nl пишет: I made a first setup to make a service for the H2 database. I made the folowing service file: [Unit] Description=H2 Database [Service] Type=simple ExecStart=/usr/bin/java -cp

Re: [systemd-devel] Why doe I not see the logging with -u

2013-12-14 Thread Andrey Borzenkov
В Sat, 14 Dec 2013 10:19:45 +0100 Cecil Westerhof cecil.wester...@snow.nl пишет: On 12/14/2013 09:56 AM, Andrey Borzenkov wrote: I made a first setup to make a service for the H2 database. I made the folowing service file: [Unit] Description=H2 Database [Service

Re: [systemd-devel] [RFC] Initial libsystemd-asyncns commit

2013-12-12 Thread Andrey Borzenkov
В Thu, 12 Dec 2013 14:09:42 +0100 Marcel Holtmann mar...@holtmann.org пишет: Hi Lennart, why do we have to spawn threads or do forks for DNS. This looks all pretty expensive. In ConnMan for example we just wrote our own async DNS using a mainloop. Works perfectly fine and is dirt cheap.

Re: [systemd-devel] [PATCH] install: Assume *.wants symlinks have the same name as their target for scalability.

2013-12-11 Thread Andrey Borzenkov
В Wed, 11 Dec 2013 15:54:39 -0800 da...@davidstrauss.net пишет: From: David Strauss da...@davidstrauss.net --- src/shared/install.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/shared/install.c b/src/shared/install.c index 17e8a75..14c0f4b 100644 ---

Re: [systemd-devel] syslog makes impossible to enter emergency mode

2013-12-10 Thread Andrey Borzenkov
В Wed, 11 Dec 2013 01:04:00 +0100 Lennart Poettering lenn...@poettering.net пишет: So, there has been a long standing TODO item regarding this: use RequisiteOverride=basic.target instead of Requires=basic.target for services by default. This would have the result that services can be

Re: [systemd-devel] udevadm settle takes too long to finish

2013-12-09 Thread Andrey Borzenkov
В Mon, 9 Dec 2013 12:42:21 -0700 Chris Murphy li...@colorremedies.com пишет: On Dec 9, 2013, at 3:33 AM, Thomas Bächler tho...@archlinux.org wrote: Am 07.12.2013 22:29, schrieb Robert Milasan: From systemd-analyze dump: Wants: systemd-udevd.service WantedBy:

Re: [systemd-devel] How to use systemctl preset ?

2013-12-08 Thread Andrey Borzenkov
В Mon, 9 Dec 2013 01:58:38 +0900 Tony Seo tonys...@gmail.com пишет: Hello. I have tried to use systemctl preset command. As you know that systemd.org already explained preset in manual page, So I read those things about preset and some example to use systemctl preset.

Re: [systemd-devel] Question about a udev rule

2013-12-08 Thread Andrey Borzenkov
В Sun, 8 Dec 2013 19:14:17 +0100 Robert Milasan rmila...@suse.com пишет: I've got this small rule which seems to not work at all: ACTION!=add|change, GOTO=end_root_symlink SUBSYSTEM!=block, GOTO=end_root_symlink ENV{DEVTYPE}!=partition, GOTO=end_root_symlink

Re: [systemd-devel] script assigned via Unit's ExecStartPre= only partially executes, fails to complete ?

2013-12-01 Thread Andrey Borzenkov
В Sun, 01 Dec 2013 00:10:36 -0800 jen...@promessage.com пишет: I cannot answer why iptables do not work, but general comment with the ExecStartPre= script, cat /usr/local/etc/openvpn/up.script #!/bin/sh /usr/local/sbin/openvpn --rmtun --dev tun1

Re: [systemd-devel] syslog makes impossible to enter emergency mode

2013-11-29 Thread Andrey Borzenkov
В Tue, 26 Nov 2013 02:27:00 +0100 Lennart Poettering lenn...@poettering.net пишет: On Tue, 26.11.13 01:00, Lennart Poettering (lenn...@poettering.net) wrote: On Sun, 24.11.13 22:36, Andrey Borzenkov (arvidj...@gmail.com) wrote: Interesting case (https://bugzilla.novell.com

[systemd-devel] syslog makes impossible to enter emergency mode

2013-11-24 Thread Andrey Borzenkov
Interesting case (https://bugzilla.novell.com/show_bug.cgi?id=852021). Systemd enters emergency due to failed mount. At the same time syslog socket triggers syslog.service. Due to implicit Requires on basic.target which Requires sysinit.target which conflicts with emergency.{service,target}

Re: [systemd-devel] [systemd-bugs] Russian translation for systemd

2013-11-14 Thread Andrey Borzenkov
В Thu, 14 Nov 2013 21:10:26 +0600 Alexander E. Patrakov patra...@gmail.com пишет: +#: ../src/hostname/org.freedesktop.hostname1.policy.in.h:4 +msgid +Authentication is required to set the statically configured local host name, +as well as the pretty host name. +msgstr +Для

Re: [systemd-devel] Need help with a systemd/mdadm interaction.

2013-11-12 Thread Andrey Borzenkov
В Tue, 12 Nov 2013 21:17:19 +1100 NeilBrown ne...@suse.de пишет: On Tue, 12 Nov 2013 18:16:24 +0900 Greg KH gre...@linuxfoundation.org wrote: On Tue, Nov 12, 2013 at 07:54:42PM +1100, NeilBrown wrote: On Tue, 12 Nov 2013 00:10:28 -0800 Greg KH gre...@linuxfoundation.org wrote:

  1   2   3   >