Re: [systemd-devel] networkd failure with ipv6.disable=1

2015-05-11 Thread Andrei Borzenkov
On Mon, May 11, 2015 at 1:26 PM, Jóhann B. Guðmundsson johan...@gmail.com wrote: On 05/10/2015 10:07 PM, Mark Oteiza wrote: Hi, In 219, systemd.networkd fails to configure and set up links with ipv6 disabled. Propably better to use ipv6.disable_ipv6=1 which will will keep the IPv6

Re: [systemd-devel] [PATCH 3/3] Use a stamp file to avoid running systemd-fsck-root.service twice

2015-05-03 Thread Andrei Borzenkov
В Sun, 3 May 2015 15:33:56 + Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl пишет: On Sun, May 03, 2015 at 06:06:58PM +0300, Andrei Borzenkov wrote: В Sun, 3 May 2015 16:17:15 +0200 Lennart Poettering lenn...@poettering.net пишет: On Sat, 02.05.15 13:16, Zbigniew Jędrzejewski-Szmek

Re: [systemd-devel] [PATCH] Generate a fake systemd-fsck-root.service in the initramfs

2015-05-10 Thread Andrei Borzenkov
В Sun, 10 May 2015 17:23:12 + Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl пишет: On Wed, May 06, 2015 at 07:12:07PM +0200, Lennart Poettering wrote: On Wed, 06.05.15 15:50, Harald Hoyer (harald.ho...@gmail.com) wrote: Works for me... booted with ro on the kernel cmdline: $

Re: [systemd-devel] [PATCH] fstab-generator: add x-systemd.{after, requires-mounts-for}=

2015-05-12 Thread Andrei Borzenkov
В Tue, 12 May 2015 18:04:50 +0200 Karel Zak k...@redhat.com пишет: Currently we have no way how to specify dependencies between fstab entries (or another units) in the /etc/fstab. It means that users are forced to bypass fstab and write .mount units manually. Actually we have. mkdir -p

Re: [systemd-devel] dev-root.device is not active, results in an umount spree

2015-05-14 Thread Andrei Borzenkov
В Thu, 14 May 2015 12:51:37 +0200 Martin Pitt martin.p...@ubuntu.com пишет: Hello all, Dimitri John Ledkov [2015-05-13 12:48 +0100]: I am booting without initramfs, using a plan9 filesystem as rootfs in a kvm. Thus my /proc/cmdline has: root=/dev/root

Re: [systemd-devel] systemd-218 - Requisite implies TriggeredByRestartOf

2015-05-14 Thread Andrei Borzenkov
В Thu, 14 May 2015 21:23:38 +0200 Evert evert.gen...@planet.nl пишет: Hi, According to the systemd documentation, Requisite disallows starting a unit unless the specified unit has been started. This seems to work fine, however, if the specified unit has been restarted, this unit will be

Re: [systemd-devel] clarification on daemon-reload

2015-05-17 Thread Andrei Borzenkov
В Sun, 17 May 2015 10:06:28 +0200 Igor Bukanov i...@mir2.org пишет: Hello, suppose a unit B runs just because another unit A contains Requires=B and What exactly do you mean? It has RefuseManualStart set? After=B. When B runs, it changes A like adding new dependencies, altering Exec

Re: [systemd-devel] clarification on daemon-reload

2015-05-18 Thread Andrei Borzenkov
On Mon, May 18, 2015 at 8:51 AM, Igor Bukanov i...@mir2.org wrote: On 18 May 2015 at 05:35, Andrei Borzenkov arvidj...@gmail.com wrote: What exactly do you mean? It has RefuseManualStart set? I meant that, for example, A is enabled and contains Requires=B and this is the only dependency

Re: [systemd-devel] [RFC] exec: introduce StandardOutputFile/StandardErrorFile option

2015-05-18 Thread Andrei Borzenkov
В Tue, 19 May 2015 11:49:45 +0900 WaLyong Cho walyong@samsung.com пишет: On 2015년 05월 19일 11:44, WaLyong Cho wrote: To redirect stdout/stderr to file add 'file' option to StandardOutput/StandardError. And to specify the file path, add StandardOutputFile/StandardErrorFile option. If

Re: [systemd-devel] systemd-218 - Requisite implies TriggeredByRestartOf

2015-05-19 Thread Andrei Borzenkov
On Tue, May 19, 2015 at 2:15 PM, Uoti Urpala uoti.urp...@pp1.inet.fi wrote: As for Evert's original problem, I think it's that RESTART is propagated to all RequiredBy units unconditionally - even if those are currently stopped! This affects both Requires= and Requisite= in exactly the same

Re: [systemd-devel] [PATCH] fstab-generator: add x-systemd.{after, requires-mounts-for}=

2015-05-12 Thread Andrei Borzenkov
В Tue, 12 May 2015 20:37:15 +0200 Karel Zak k...@redhat.com пишет: On Tue, May 12, 2015 at 07:29:33PM +0300, Andrei Borzenkov wrote: В Tue, 12 May 2015 18:04:50 +0200 Karel Zak k...@redhat.com пишет: Currently we have no way how to specify dependencies between fstab entries

Re: [systemd-devel] CAD often useless

2015-04-15 Thread Andrei Borzenkov
В Wed, 15 Apr 2015 18:29:51 -0400 Felix Miata mrma...@earthlink.net пишет: Felix Miata composed on 2015-04-15 14:48 (UTC-0400): Zbigniew Jędrzejewski-Szmek composed on 2015-04-15 18:11 (UTC): On Wed, Apr 15, 2015 at 13:31:38 -0400, Felix Miata wrote: This isn't the first time or

Re: [systemd-devel] sshd.service fails on boot when primary listener is a bridge (br0) instead of real interface (eth0). What dependency is needed?

2015-04-12 Thread Andrei Borzenkov
В Sun, 12 Apr 2015 12:12:45 -0700 lynd...@your-mail.com пишет: Hi Lennart On Sun, Apr 12, 2015, at 11:06 AM, Lennart Poettering wrote: This looks like Fedora/Red Hat initscripts networking? Close; same style. But it's opensuse networking. If so, please file a bug against the

Re: [systemd-devel] 'is-enabled' supported for legacy sysvinit scripts?

2015-04-12 Thread Andrei Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Sun, 12 Apr 2015 21:00:38 + Nusenu nus...@openmailbox.org пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, I'm trying to find out whether I'm looking at an ansible or systemctl bug. Does systemctl aim to support the

Re: [systemd-devel] [PATCH] udev: settle should return immediately when timeout is 0

2015-04-12 Thread Andrei Borzenkov
В Sat, 11 Apr 2015 23:31:05 +0300 Nir Soffer nir...@gmail.com пишет: udevadm manual says: A value of 0 will check if the queue is empty and always return immediately. However, currently we ignore the deadline if the value is 0, and wait without any limit. Zero timeout behaved

Re: [systemd-devel] [RFC 0/6] A network proxy management daemon, systemd-proxy-discoveryd

2015-04-12 Thread Andrei Borzenkov
В Sat, 11 Apr 2015 19:41:15 + Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl пишет: On Fri, Apr 10, 2015 at 03:17:37PM +0300, Tomasz Bursztyka wrote: Hi, As it has been discussed in the systemd hackfest during the Linux Conference Europe, one daemon could centralize the management of

Re: [systemd-devel] Problem with intermediate target

2015-04-18 Thread Andrei Borzenkov
В Thu, 16 Apr 2015 17:10:57 +0200 Christoph Pleger christoph.ple...@cs.tu-dortmund.de пишет: Hello, I wrote: Sounds like you want to create intermediate.target, change default.target to point at it, boot all the way up to intermediate.target, and at that point isolate or start

Re: [systemd-devel] Minimal systemd configuration

2015-04-05 Thread Andrei Borzenkov
В Sun, 5 Apr 2015 16:04:19 -0700 Alison Chaiken ali...@she-devel.com пишет: 3. Is it possible to reconfigure systemd to run some script at the end of initialisation? Yes, you can add a new service by creating a new unit file in multi-user.target (more or less old runlevel 3) or

Re: [systemd-devel] How to debug blocking service start?

2015-04-07 Thread Andrei Borzenkov
В Wed, 08 Apr 2015 10:31:18 +0800 Kai Hendry hen...@webconverger.com пишет: On Tue, 7 Apr 2015, at 11:13 PM, Lennart Poettering wrote: What does networkctl status say when this happens? And networkctl status -a? Oooh, I love those commands. Here is the output which says I'm routable:

Re: [systemd-devel] systemd and smartd daemon

2015-04-03 Thread Andrei Borzenkov
В Fri, 3 Apr 2015 19:16:59 +0200 Lennart Poettering lenn...@poettering.net пишет: On Fri, 03.04.15 19:38, Andrei Borzenkov (arvidj...@gmail.com) wrote: В Fri, 3 Apr 2015 13:17:05 +0200 Lennart Poettering lenn...@poettering.net пишет: On Thu, 02.04.15 11:49, Al Lau (laua...@gmail.com

Re: [systemd-devel] auto-unmount via BindsTo= is annoying

2015-04-03 Thread Andrei Borzenkov
В Fri, 3 Apr 2015 21:19:24 +0300 Mantas Mikulėnas graw...@gmail.com пишет: Previously udev used to undo mounts when a device *disappeared;* when systemd took over the task, it started unmounting things as soon as it noticed that the device *doesn't exist right now.* While similar, the new

Re: [systemd-devel] nspawn and Qemu compatibility?

2015-04-03 Thread Andrei Borzenkov
В Fri, 3 Apr 2015 14:14:18 -0700 Alison Chaiken ali...@she-devel.com пишет: I've been using Qemu to cross-compile packages and root filesystems for a while and thought I'd try nspawn instead.While I sometimes want a full GUI desktop in the walled-off environment, mostly console is enough,

Re: [systemd-devel] auto-unmount via BindsTo= is annoying

2015-04-04 Thread Andrei Borzenkov
В Sat, 4 Apr 2015 12:55:34 +0300 Mantas Mikulėnas graw...@gmail.com пишет: On Sat, Apr 4, 2015 at 7:37 AM, Andrei Borzenkov arvidj...@gmail.com wrote: В Fri, 3 Apr 2015 21:19:24 +0300 Mantas Mikulėnas graw...@gmail.com пишет: Previously udev used to undo mounts when a device

Re: [systemd-devel] auto-unmount via BindsTo= is annoying

2015-04-04 Thread Andrei Borzenkov
В Sat, 4 Apr 2015 13:44:50 +0300 Andrei Borzenkov arvidj...@gmail.com пишет: В Sat, 4 Apr 2015 12:55:34 +0300 Mantas Mikulėnas graw...@gmail.com пишет: On Sat, Apr 4, 2015 at 7:37 AM, Andrei Borzenkov arvidj...@gmail.com wrote: В Fri, 3 Apr 2015 21:19:24 +0300 Mantas Mikulėnas

Re: [systemd-devel] auto-unmount via BindsTo= is annoying

2015-04-04 Thread Andrei Borzenkov
В Sat, 4 Apr 2015 12:55:34 +0300 Mantas Mikulėnas graw...@gmail.com пишет: On Sat, Apr 4, 2015 at 7:37 AM, Andrei Borzenkov arvidj...@gmail.com wrote: В Fri, 3 Apr 2015 21:19:24 +0300 Mantas Mikulėnas graw...@gmail.com пишет: Previously udev used to undo mounts when a device

Re: [systemd-devel] Starting a unit on resume from suspend/hibernate

2015-04-02 Thread Andrei Borzenkov
В Thu, 2 Apr 2015 18:43:40 +0200 (CEST) Dimitrios Apostolou ji...@gmx.net пишет: Conflicts=sleep.target WantedBy=multi-user.target sleep.target These are mutually conflicting. One one hand Conflicts says to stop your unit when sleep.target gets started, on the other hand WantedBy says to start

Re: [systemd-devel] Starting a unit on resume from suspend/hibernate

2015-04-02 Thread Andrei Borzenkov
В Thu, 2 Apr 2015 19:34:55 +0200 (CEST) Dimitrios Apostolou ji...@gmx.net пишет: On Thu, 2 Apr 2015, Dimitrios Apostolou wrote: On Thu, 2 Apr 2015, Andrei Borzenkov wrote: В Thu, 2 Apr 2015 18:43:40 +0200 (CEST) Dimitrios Apostolou ji...@gmx.net пишет: Conflicts=sleep.target

Re: [systemd-devel] systemd and smartd daemon

2015-04-02 Thread Andrei Borzenkov
В Thu, 2 Apr 2015 10:43:00 -0700 Al Lau laua...@gmail.com пишет: Hi, I am seeking help and advise on troubleshooting the starting of the smartd daemon. The /usr/sbin/smartd comes from the smartmontools version 6.3. The /usr/lib/systemd/system/smartd.service file looks like this # cat

Re: [systemd-devel] Boot ordering

2015-04-09 Thread Andrei Borzenkov
On Thu, Apr 9, 2015 at 12:18 PM, Lennart Poettering lenn...@poettering.net wrote: order it after the precise units you need from early boot, This is fragile because it will break every time precise units change. This is exact reason why we have systemd.special man page at all - to provide high

Re: [systemd-devel] systemd-218 - Requisite implies TriggeredByRestartOf

2015-05-19 Thread Andrei Borzenkov
В Tue, 19 May 2015 14:07:21 +0200 Lennart Poettering lenn...@poettering.net пишет: On Tue, 19.05.15 14:26, Andrei Borzenkov (arvidj...@gmail.com) wrote: On Tue, May 19, 2015 at 2:15 PM, Uoti Urpala uoti.urp...@pp1.inet.fi wrote: As for Evert's original problem, I think it's

Re: [systemd-devel] [ANNOUNCE] Git development moved to github

2015-06-10 Thread Andrei Borzenkov
On Wed, Jun 10, 2015 at 3:35 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 10.06.15 14:04, Martin Jansa (martin.ja...@gmail.com) wrote: WHat really surprises me about the whole discussion is that we cannot be the first ones running into this. Given the success of github this

Re: [systemd-devel] How to get all PIDs in a service

2015-06-04 Thread Andrei Borzenkov
В Thu, 04 Jun 2015 10:08:52 +0200 Sébastien Luttringer se...@seblu.net пишет: Hello, In order to restart updated daemons on filesystems, I created a script[1] which lists all PID by service and look for updated files in /proc/$pid/maps. To get all PIDs of a service, I use systemctl show

Re: [systemd-devel] Bogus issue/50 branch on systemd git at GitHub

2015-06-03 Thread Andrei Borzenkov
В Wed, 3 Jun 2015 18:43:31 -0700 Filipe Brandenburger filbran...@google.com пишет: I don't think it should be there... https://github.com/systemd/systemd/branches Otherwise everyone doing git fetch will get a copy of this branch... I think the main git should only expose a single master

Re: [systemd-devel] [RFC] load-fragment: use unquote_first_word in config_parse_exec

2015-06-03 Thread Andrei Borzenkov
В Wed, 3 Jun 2015 20:34:53 -0700 Filipe Brandenburger filbran...@google.com пишет: - We do something different for empty string (clear the command list) than we do for just whitespace. This is pre-existing. Maybe we need to fix that? I put a comment on that case, that branch is

Re: [systemd-devel] howto handle one time shutdown programs

2015-06-26 Thread Andrei Borzenkov
В Thu, 25 Jun 2015 11:09:22 -0700 Johannes Ernst johannes.er...@gmail.com пишет: Hallo Andreas, On Jun 25, 2015, at 7:57, Andreas Buschmann busch...@tech.net.de wrote: Hello, I am writing a systemd .service file to handle NVDIMMs. - start - stop - reload all work

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

2015-06-19 Thread Andrei Borzenkov
В Fri, 19 Jun 2015 16:15:03 +0200 Reindl Harald h.rei...@thelounge.net пишет: Am 19.06.2015 um 16:06 schrieb Lennart Poettering: * If there's a systemd unit and a SysV init script for the same service name, and the user executes systemctl enable for it

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

2015-06-26 Thread Andrei Borzenkov
В Fri, 26 Jun 2015 10:02:41 -0500 Lesley Kimmel ljkimme...@hotmail.com пишет: Thanks for the information. I've seen that blog before. Unfortunately, it only describes a starting a service that already has a good level of integration with some of the underlying infrastructure of systemd (e.g.

Re: [systemd-devel] Help needed for optimizing my boot time

2015-06-11 Thread Andrei Borzenkov
On Thu, Jun 11, 2015 at 2:26 PM, Francis Moreau francis.m...@gmail.com wrote: $ systemd-analyze critical-chain graphical.target @7.921s multi-user.target @7.921s autofs.service @7.787s +132ms network-online.target @7.786s network.target @7.786s

Re: [systemd-devel] Help needed for optimizing my boot time

2015-06-11 Thread Andrei Borzenkov
On Thu, Jun 11, 2015 at 1:08 PM, Francis Moreau francis.m...@gmail.com wrote: Hello, I'm interested in optimizing my boot time on my laptop. So I looked at the big picture first: $ systemd-analyze Startup finished in 3.994s (firmware) + 7.866s (loader) + 8.226s (kernel) + 7.921s

Re: [systemd-devel] Help needed for optimizing my boot time

2015-06-11 Thread Andrei Borzenkov
On Thu, Jun 11, 2015 at 3:10 PM, Francis Moreau francis.m...@gmail.com wrote: On 06/11/2015 01:40 PM, Andrei Borzenkov wrote: On Thu, Jun 11, 2015 at 2:26 PM, Francis Moreau francis.m...@gmail.com wrote: $ systemd-analyze critical-chain graphical.target @7.921s multi

Re: [systemd-devel] is-enabled and generated units

2015-06-14 Thread Andrei Borzenkov
В Sun, 14 Jun 2015 12:36:39 +0200 Igor Bukanov i...@mir2.org пишет: On 14 June 2015 at 12:22, Andrei Borzenkov arvidj...@gmail.com wrote: So it can be discussed what should be returned in this case, but in any case systemctl is-enabled is not expected to return enabled-runtime here

Re: [systemd-devel] is-enabled and generated units

2015-06-14 Thread Andrei Borzenkov
В Sun, 14 Jun 2015 11:17:03 +0200 Igor Bukanov i...@mir2.org пишет: Hello, I noticed that running `systemctl is-enabled foo.service` against a service written by a generator fails with a puzzling error message: Failed to get unit file state for foo.service: No such file or directory

Re: [systemd-devel] is-enabled and generated units

2015-06-14 Thread Andrei Borzenkov
В Sun, 14 Jun 2015 12:16:09 +0200 Igor Bukanov i...@mir2.org пишет: On 14 June 2015 at 12:10, Andrei Borzenkov arvidj...@gmail.com wrote: Not really. systemctl enable|disable|is-enabled explicitly work on links defined by [Install] section only. This is not true. According to systemctl

Re: [systemd-devel] [survey] BTRFS_IOC_DEVICES_READY return status

2015-06-13 Thread Andrei Borzenkov
В Sat, 13 Jun 2015 17:35:53 +0800 Anand Jain anand.j...@oracle.com пишет: Thanks for your reply Andrei and Goffredo. more below... On 06/13/2015 04:08 AM, Goffredo Baroncelli wrote: On 2015-06-12 20:04, Andrei Borzenkov wrote: В Fri, 12 Jun 2015 21:16:30 +0800 Anand Jain anand.j

Re: [systemd-devel] [survey] BTRFS_IOC_DEVICES_READY return status

2015-06-17 Thread Andrei Borzenkov
В Wed, 17 Jun 2015 23:02:02 +0200 Lennart Poettering lenn...@poettering.net пишет: On Wed, 17.06.15 21:10, Goffredo Baroncelli (kreij...@libero.it) wrote: Well, /bin/mount is not a daemon, and it should not be one. My helper is not a deamon; you was correct the first time: it blocks

Re: [systemd-devel] Help needed for optimizing my boot time

2015-06-12 Thread Andrei Borzenkov
В Fri, 12 Jun 2015 16:56:08 +0200 Francis Moreau francis.m...@gmail.com пишет: On 06/11/2015 06:23 PM, Dan Williams wrote: On Thu, 2015-06-11 at 15:15 +0200, Francis Moreau wrote: [...] Does ntpd service really need 'After=network.target', not sure. The 'network online' targets are

Re: [systemd-devel] [survey] BTRFS_IOC_DEVICES_READY return status

2015-06-12 Thread Andrei Borzenkov
В Fri, 12 Jun 2015 21:16:30 +0800 Anand Jain anand.j...@oracle.com пишет: BTRFS_IOC_DEVICES_READY is to check if all the required devices are known by the btrfs kernel, so that admin/system-application could mount the FS. It is checked against a device in the argument. However the

Re: [systemd-devel] Starting units when a port is available for connections

2015-05-27 Thread Andrei Borzenkov
В Wed, 27 May 2015 19:09:57 +1000 Adam Zegelin a...@instaclustr.com пишет: Hi list, I’m running Cassandra (C*, a clustered database) as a systemd service. Currently this is just a “Type=simple” service, as such, dependant units will start as soon as the C* process starts rather than when

Re: [systemd-devel] systemctl as non-root

2015-05-29 Thread Andrei Borzenkov
On Fri, May 29, 2015 at 11:05 AM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: On May 28, 2015 2:28 PM, aaron_wri...@selinc.com wrote: I'm working on an embedded system, and I ran into a situation where a non-root user needs to runs systemctl, but when I try I get: ~ $ systemctl status

Re: [systemd-devel] fsck, /home, btrfs, multiple partitions/drives, boot failure [Ubuntu 15.04]

2015-05-28 Thread Andrei Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Thu, 28 May 2015 11:41:27 -0700 Roger Binns rog...@rogerbinns.com пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/28/2015 02:37 AM, Andrei Borzenkov wrote: I was wrong here, device is opened by btrfs driver so there should

Re: [systemd-devel] systemctl as non-root

2015-05-28 Thread Andrei Borzenkov
В Thu, 28 May 2015 17:21:14 -0700 aaron_wri...@selinc.com пишет: Brandon Philips bran...@ifup.co wrote on 05/28/2015 05:10:33 PM: Access to the system dbus is controlled by dbus policies. You will need to write a policy for giving this user access to the systemd1 object. I compiled

Re: [systemd-devel] udev --daemon is broken again

2015-05-31 Thread Andrei Borzenkov
В Sun, 31 May 2015 15:47:25 +0200 Abdó Roig-Maranges abdo.r...@gmail.com пишет: Hi, Since the move of udev to sd-event, udevd --daemon is broken again, and breaks the initramfs on arch linux, for example. It turns out that sd_event_add_signal (in manager_listen) complains because the

Re: [systemd-devel] Questions about socket activated services

2015-05-30 Thread Andrei Borzenkov
В Sat, 30 May 2015 21:36:02 +0800 cee1 fykc...@gmail.com пишет: Hi all, Which service type should a socket activated service be? 1. For systemd-udevd.service and systemd-journald.service, they are notify type 2. For dbus.service, it is simple type It can be any type. notify is always

Re: [systemd-devel] What does udevd do

2015-05-30 Thread Andrei Borzenkov
В Sun, 31 May 2015 10:26:46 +0800 cee1 fykc...@gmail.com пишет: 2015-05-31 5:52 GMT+08:00 Lennart Poettering lenn...@poettering.net: Then udevd is only responsible for 1) Making nodes, and doing other device initialization stuffs. udev does not create device nodes. That's the job of

Re: [systemd-devel] [RFC] load-fragment: use unquote_first_word in config_parse_exec

2015-05-31 Thread Andrei Borzenkov
В Sat, 30 May 2015 23:29:29 -0700 Filipe Brandenburger filbran...@google.com пишет: - Handling a \; is ugly, it looks like a hack... unquote_first_word is not equipped to recognize that sequence, so I had to move it outside unquote_first_word looking for those two characters followed by

Re: [systemd-devel] fsck, /home, btrfs, multiple partitions/drives, boot failure [Ubuntu 15.04]

2015-05-27 Thread Andrei Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Thu, 28 May 2015 08:27:30 +0300 Andrei Borzenkov arvidj...@gmail.com пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Wed, 27 May 2015 14:03:10 -0700 Roger Binns rog...@rogerbinns.com пишет: -BEGIN PGP SIGNED MESSAGE- Hash

Re: [systemd-devel] fsck, /home, btrfs, multiple partitions/drives, boot failure [Ubuntu 15.04]

2015-05-27 Thread Andrei Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Thu, 28 May 2015 08:34:07 +0300 Andrei Borzenkov arvidj...@gmail.com пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Thu, 28 May 2015 08:27:30 +0300 Andrei Borzenkov arvidj...@gmail.com пишет: -BEGIN PGP SIGNED MESSAGE

Re: [systemd-devel] fsck, /home, btrfs, multiple partitions/drives, boot failure [Ubuntu 15.04]

2015-05-27 Thread Andrei Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Wed, 27 May 2015 14:03:10 -0700 Roger Binns rog...@rogerbinns.com пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 My immediate problem is a boot failure with systemd on Ubuntu 15.04 because of fsck issues (systemd timing out fscking

Re: [systemd-devel] fsck, /home, btrfs, multiple partitions/drives, boot failure [Ubuntu 15.04]

2015-05-28 Thread Andrei Borzenkov
On Thu, May 28, 2015 at 8:46 AM, Andrei Borzenkov arvidj...@gmail.com wrote: Apr 24 14:18:41 workstation systemd[1]: Job dev-disk-by\x2duuid-3ff68715\x2d0daa\x2d4e44\x2d8de2\x2d0997f36d8ab6.device/start timed out. systemd times out waiting for UUID alias. Neither sda1 nor sdb1

Re: [systemd-devel] Starting up service after my openvpn connection turns up

2015-06-02 Thread Andrei Borzenkov
. If you show actual script and unit definition, it may help to understand. On Mon, Jun 1, 2015 at 11:37 PM, Andrei Borzenkov arvidj...@gmail.com wrote: В Mon, 1 Jun 2015 16:36:38 -0400 Matthew Karas mkarasc...@gmail.com пишет: I am trying to start a dropbear service after my openvpn service

Re: [systemd-devel] Starting up service after my openvpn connection turns up

2015-06-01 Thread Andrei Borzenkov
В Mon, 1 Jun 2015 16:36:38 -0400 Matthew Karas mkarasc...@gmail.com пишет: I am trying to start a dropbear service after my openvpn service starts up. --- [Unit] Description=SSH Per-Connection Server Wants=dropbearkey.service After=syslog.target

Re: [systemd-devel] [solved] howto handle one time shutdown programs

2015-07-01 Thread Andrei Borzenkov
On Wed, Jul 1, 2015 at 2:30 PM, Andreas Buschmann busch...@tech.net.de wrote: Hello Andrei, On Tue 30-Jun-2015 15:45 CEST Andrei Borzenkov writes: On Tue, Jun 30, 2015 at 2:35 PM, Andreas Buschmann busch...@tech.net.de wrote: Hello Johannes, On Thu 25-Jun-2015 20:09 CEST Johannes Ernst

Re: [systemd-devel] How to keep certain services or mounts active during shutdown?

2015-07-03 Thread Andrei Borzenkov
On Fri, Jul 3, 2015 at 5:03 PM, Frank Steiner fsteiner-ma...@bio.ifi.lmu.de wrote: Lennart Poettering wrote Normally the network mounts should be ordered after network.target, and wicked before that. Since in systemd the shutdown order is always the inverse of the startup order this would

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

2015-06-29 Thread Andrei Borzenkov
В Mon, 29 Jun 2015 08:58:11 -0500 Lesley Kimmel ljkimme...@hotmail.com пишет: Jonathan; Thanks for the background and information. Since you clearly seem to have a grasp of systemd please humour me with a few more questions (some of them slightly ignorant): a) Why are PID bad? PID

Re: [systemd-devel] Stricter handling of failing mounts during boot under systemd - crap idea !

2015-06-29 Thread Andrei Borzenkov
В Mon, 29 Jun 2015 14:21:44 + Jóhann B. Guðmundsson johan...@gmail.com пишет: On 06/29/2015 02:08 PM, jon wrote: https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#systemd-upgrade-default-init-system I just installed debian 8.1, on the whole my

Re: [systemd-devel] [HEADSUP] systemd-222 around the corner

2015-07-07 Thread Andrei Borzenkov
On Tue, Jul 7, 2015 at 9:02 AM, Dominick Grift dac.overr...@gmail.com wrote: Would be nice if anyone could at least confirm or deny this issue that I've identified in systemd-nspawn since v220: https://bugzilla.redhat.com/show_bug.cgi?id=1232371 Containers that rely on that functionality

Re: [systemd-devel] Question about ExecStartPost= and startup process

2015-06-28 Thread Andrei Borzenkov
В Sun, 28 Jun 2015 19:02:57 +0200 Francis Moreau francis.m...@gmail.com пишет: On 06/28/2015 01:01 PM, Reindl Harald wrote: Am 28.06.2015 um 12:00 schrieb Francis Moreau: Hello, For services with Type=Forking, I'm wondering if systemd proceeds starting follow-up units when the

Re: [systemd-devel] howto handle one time shutdown programs

2015-06-30 Thread Andrei Borzenkov
On Tue, Jun 30, 2015 at 2:35 PM, Andreas Buschmann busch...@tech.net.de wrote: Hello Johannes, On Thu 25-Jun-2015 20:09 CEST Johannes Ernst writes: On Jun 25, 2015, at 7:57, Andreas Buschmann busch...@tech.net.de wrote: I am writing a systemd .service file to handle NVDIMMs. - start -

Re: [systemd-devel] oneshot service

2015-07-07 Thread Andrei Borzenkov
В Tue, 7 Jul 2015 13:04:11 -0400 Ernast Sevo ers...@gmail.com пишет: Apologies that was mistakenly sent. The example service is below. [Unit] Before=local-fs.target After=some service DefaultDependencies=false [Service] Type=oneshot ExecStart=/usr/bin/xxx RemainAfterExit=yes

Re: [systemd-devel] Question about ExecStartPost= and startup process

2015-06-29 Thread Andrei Borzenkov
On Mon, Jun 29, 2015 at 11:01 AM, Francis Moreau francis.m...@gmail.com wrote: On 06/28/2015 07:21 PM, Reindl Harald wrote: Am 28.06.2015 um 19:02 schrieb Francis Moreau: On 06/28/2015 01:01 PM, Reindl Harald wrote: Am 28.06.2015 um 12:00 schrieb Francis Moreau: Hello, For services with

Re: [systemd-devel] behavior of stop in case of multiple processes

2015-07-29 Thread Andrei Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Wed, 29 Jul 2015 21:17:18 +0200 Michał Zegan webczat_...@poczta.onet.pl пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. I am trying to use systemd to run wildfly application server. It is being run by a shell script that runs a

Re: [systemd-devel] starting processes for other users

2015-07-30 Thread Andrei Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Fri, 31 Jul 2015 00:19:06 +0200 Michał Zegan webczat_...@poczta.onet.pl пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. What is the recommended easy way to start processes that stay longer like screen in case I want to do it by

Re: [systemd-devel] Complicated SysVInit Migration

2015-07-30 Thread Andrei Borzenkov
В Thu, 30 Jul 2015 16:53:43 -0500 Lesley Kimmel ljkimme...@hotmail.com пишет: I can't really change anything about the way that the Node Manager does it's job. That all takes place outside of systemd. If I used the PIDFile option in the original systemd service (executing the WLST process),

Re: [systemd-devel] starting processes for other users

2015-08-03 Thread Andrei Borzenkov
On Sat, Aug 1, 2015 at 5:26 PM, Colin Guthrie gm...@colin.guthr.ie wrote: Michał Zegan wrote on 31/07/15 12:37: The thing is, if the user does it, then after he leaves, the process is running under the user's session. If I log in to my own account, su to the other user and start the process

Re: [systemd-devel] behavior of stop in case of multiple processes

2015-07-30 Thread Andrei Borzenkov
o 05:36, Andrei Borzenkov pisze: В Wed, 29 Jul 2015 21:17:18 +0200 Michał Zegan webczat_...@poczta.onet.pl пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. I am trying to use systemd to run wildfly application server. It is being run by a shell script that runs a java

Re: [systemd-devel] behavior of stop in case of multiple processes

2015-07-30 Thread Andrei Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Thu, 30 Jul 2015 20:07:03 +0200 Michał Zegan webczat_...@poczta.onet.pl пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Here is a log from appserver.service: appserver.service: Trying to enqueue job appserver.service/stop/replace

Re: [systemd-devel] behavior of stop in case of multiple processes

2015-07-30 Thread Andrei Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Thu, 30 Jul 2015 19:57:42 +0200 Michał Zegan webczat_...@poczta.onet.pl пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First, it seems that sighup is NOT sent by default. Yes, sorry, my mistake. Second, setting SendSIGKILL to no fixes

[systemd-devel] How to remove *~ journal files?

2015-08-09 Thread Andrei Borzenkov
More than half of all files here are *~ files: bor@opensuse:~/src/systemd ls -1 /var/log/journal/40527be2480f8cf60f4e8d4b06b0/*~ | wc -l 85 bor@opensuse:~/src/systemd ls -1 /var/log/journal/40527be2480f8cf60f4e8d4b06b0/* | wc -l 127 If I understand it correctly they are corrupted

Re: [systemd-devel] Centos 7 TigerVNC server crashing after unfriendly shutdowns

2015-08-06 Thread Andrei Borzenkov
В Thu, 6 Aug 2015 20:08:55 + Prof. Dr. Michael Schefczyk mich...@schefczyk.net пишет: Dear All, I like to implement virtualization via the KVM hypervisor on Centos 7 and - knowing that some people find that funny - use a server with GUI as the basis. To access the GUI within the LAN,

Re: [systemd-devel] Method to Wait for service to complete

2015-08-13 Thread Andrei Borzenkov
On 12.08.2015 21:34, Harry Goldschmitt wrote: I have a service that has to complete before boot can continue. Is there an approved method for doing this? Boot can continue is a bit vague. It is not possible to insert arbitrary synchronization point at arbitrary place in startup sequence,

Re: [systemd-devel] udev-buildin-net_id.c hotplug slot with SRIOV

2015-08-13 Thread Andrei Borzenkov
On 14.08.2015 02:39, Keller, Jacob E wrote: Hello, I discussed this a while ago, but I have found that the hotplug slot names for ethernet devices gets confused when SRIOV is used. Basically: I have a device plugged into a hotplug slot, and it gets enpbussslotf for its PCI path name. For

Re: [systemd-devel] How to remove *~ journal files?

2015-08-14 Thread Andrei Borzenkov
On 14.08.2015 20:41, Lennart Poettering wrote: BTW, if you keep collecting these files, then this is usually an indication that journald is flaky or you keep rebooting the machine too often in a hard way. Yes, this is the case. This system requires hard power off rather more often than I

Re: [systemd-devel] persistent network device names

2015-07-27 Thread Andrei Borzenkov
В Mon, 27 Jul 2015 17:52:59 + Keller, Jacob E jacob.e.kel...@intel.com пишет: Hello, I am working with a network device that can create virtual function devices. When I create a large (8) vfs for this device I get some weird device names, If I create 64 vfs, I see something like:

Re: [systemd-devel] persistent network device names

2015-07-27 Thread Andrei Borzenkov
В Mon, 27 Jul 2015 18:29:57 + Keller, Jacob E jacob.e.kel...@intel.com пишет: On Mon, 2015-07-27 at 21:12 +0300, Andrei Borzenkov wrote: В Mon, 27 Jul 2015 17:52:59 + Keller, Jacob E jacob.e.kel...@intel.com пишет: Hello, I am working with a network device that can

Re: [systemd-devel] persistent network device names

2015-07-27 Thread Andrei Borzenkov
В Mon, 27 Jul 2015 19:05:37 + Keller, Jacob E jacob.e.kel...@intel.com пишет: On Mon, 2015-07-27 at 21:53 +0300, Andrei Borzenkov wrote: В Mon, 27 Jul 2015 18:29:57 + Keller, Jacob E jacob.e.kel...@intel.com пишет: On Mon, 2015-07-27 at 21:12 +0300, Andrei Borzenkov wrote

Re: [systemd-devel] udev and dm inotify problems

2015-07-26 Thread Andrei Borzenkov
В Sun, 26 Jul 2015 11:39:17 +0300 Oleksii Shevchuk alx...@gmail.com пишет: Andrei Borzenkov arvidj...@gmail.com writes: Could you verify with e.g. inotifywatch whether inotify event was generated by kernel? It turns out, that for some reason I have several dm devices: # ls -l

Re: [systemd-devel] udev and dm inotify problems

2015-07-27 Thread Andrei Borzenkov
В Mon, 27 Jul 2015 08:15:45 +0300 Oleksii Shevchuk alx...@gmail.com пишет: Andrei Borzenkov arvidj...@gmail.com writes: So that it the problem. Does it happen if you use cryptsetup directly? Yes, with cryptsetup behavior is the same. I have cryptsetup (1.6.7) and lvm2 (2.02.116

Re: [systemd-devel] udev and dm inotify problems

2015-07-25 Thread Andrei Borzenkov
В Sat, 25 Jul 2015 09:51:25 +0300 Oleksii Shevchuk alx...@gmail.com пишет: Hi list. I ran into the strange problem. After creating encrypted swap (with crypttab) boot hangs. That happens because systemd waits for dev-mapper-swap.device. Udev doesn't report that this device active,

Re: [systemd-devel] fstab generator and nfs-client.target

2015-07-25 Thread Andrei Borzenkov
В Sat, 25 Jul 2015 12:50:39 +0200 Michael Biebl mbi...@gmail.com пишет: 2015-07-25 3:18 GMT+02:00 Rich Freeman r-syst...@thefreemanclan.net: I noticed that mount units for nfs shares created by the generator do not Want=nfs-client.target or similar. That means that if you don't

Re: [systemd-devel] How to debug this strange issue about systemd?

2015-07-16 Thread Andrei Borzenkov
В Wed, 15 Jul 2015 23:03:02 +0800 sean x...@suse.com пишет: Hi All: I am trying to test the latest upstream kernel, But i encounter a strange issue about systemd. When the systemd extracted from initrd image mounts the real root file system hda.img on /sysroot and changes root to the

Re: [systemd-devel] Reason for setting runqueue to IDLE priority and side effects if this is changed?

2015-07-16 Thread Andrei Borzenkov
В Wed, 15 Jul 2015 17:30:53 + Hoyer, Marko (ADITG/SW2) mho...@de.adit-jv.com пишет: Hi all, jumping from systemd 206 to systemd 211 we were faced with some issue, which are finally caused by a changed main loop priority of the job execution. Our use case is the following one:

Re: [systemd-devel] How to debug this strange issue about systemd?

2015-07-17 Thread Andrei Borzenkov
On Fri, Jul 17, 2015 at 12:18 PM, Colin Guthrie co...@mageia.org wrote: sean wrote on 17/07/15 09:33: On Fri, 2015-07-17 at 06:55 +0300, Andrei Borzenkov wrote: В Wed, 15 Jul 2015 23:03:02 +0800 sean x...@suse.com пишет: Hi All: I am trying to test the latest upstream kernel, But i

Re: [systemd-devel] systemd services via SSH (-H key)

2015-10-24 Thread Andrei Borzenkov
24.10.2015 16:57, Reindl Harald пишет: Am 24.10.2015 um 15:04 schrieb Lennart Poettering: Well, I am pretty sure using "#" as separator for that is a really untypical syntax. I am not sure it's really such a big improvement supporting such a syntax over simply asking people to put the right

Re: [systemd-devel] Create complete dependency/boot organization map?

2015-10-23 Thread Andrei Borzenkov
23.10.2015 19:02, Chris Bell пишет: Hi all, I was wondering, is there any way to create a complete dependency/ordering map for my entire systemd system? For starting something "systemd --test" shows all static dependencies pulled in by startinggiven unit. For stopping something I do not

Re: [systemd-devel] runlevel target semantic doubt

2015-10-27 Thread Andrei Borzenkov
On Tue, Oct 27, 2015 at 10:27 AM, kennedy wrote: > runlevel*.target for compatibility with sysV, just a symbol link to > systemd's target ? > > means that users can use runlevel*.target instead of default.target to > setting boot sequence ? > Any target unit can be used as

Re: [systemd-devel] Proper way of installing avahi dbus activation file

2015-10-26 Thread Andrei Borzenkov
Отправлено с iPhone > 27 окт. 2015 г., в 0:06, Reindl Harald написал(а): > > > >> Am 26.10.2015 um 21:58 schrieb Pacho Ramos: >> The problem is that reading: >> https://fedoraproject.org/wiki/Packaging:Systemd#DBus_activation >> >> "Note that the creation/removal of

Re: [systemd-devel] Fwd: [PATCH] Add support for detecting NIC partitions on Dell Servers

2015-11-09 Thread Andrei Borzenkov
10.11.2015 04:41, Jordan Hargrave пишет: The patch will also decode SMBIOS slot number for NIC, and store in the variable ID_NET_NAME_SMBIOS_SLOT. Systemd does not have a method for naming ports on a multi-port card plugged into a slot. Hmm, isn't this stuff the same as exported by the

Re: [systemd-devel] network interface renaming via PCI ID w/ systemd-udevd

2015-11-12 Thread Andrei Borzenkov
On Thu, Nov 12, 2015 at 10:29 AM, Matthew Hall wrote: > > Let me try and put this another way. I have been using UNIX 24 years. I have > typed the characters eth0 so long that it's long since been hardcoded into my > fingers; trying to change it would drive me crazy and

Re: [systemd-devel] systemd-sysctl: improvement in LXC containers

2015-10-31 Thread Andrei Borzenkov
30.10.2015 21:00, Cameron Norman пишет: The sysctl service will not apply net rules when /proc/sys is ro but /proc/sys/net is rw. This occurs under LXC containers. Perhaps a secondary service which only runs for the net tree should be used with `ConditionPathIsReadWrite=/proc/sys/net/` and

Re: [systemd-devel] [PATCH 1/2] detect-virt: detect in best-heuristic order

2015-11-04 Thread Andrei Borzenkov
04.11.2015 00:04, Andrew Jones пишет: afaict, this will fix a regression caused by commit 75f86906c5. Where we used to report "kvm" before that patch, without this patch, we would only report "qemu". Are you sure it is regression? QEMU is a program (platform) while KVM is technology. Modern

<    1   2   3   4   5   6   7   8   9   >