Re: [systemd-devel] hanging reboot

2017-03-30 Thread Sergei Franco
Hi! Thank you very much! It just shows that I was never patient enough to actually test it long enough to hit 30min timeout (after about 15 min I generally would reset the system). The JobTimeoutSec is a good candidate to be reduced to something like 5 min for our use case. Best regards.

[systemd-devel] udev - ignore/hide persistent storage

2017-03-30 Thread lejeczek
sorry guys to bother you, but I'll see myself going slowly mad next week, for I've been reading and tryingand trying.. and I fail to tell udev to ignore a device and not to create symlinks. I need someone to 100% confirm this should work in v.219. The way Ithink(or hope) it should work

Re: [systemd-devel] Temporarily stopping a service while oneshot is running

2017-03-30 Thread Kai Krakow
Am Thu, 30 Mar 2017 16:13:25 +0200 schrieb Lennart Poettering : > On Tue, 21.03.17 07:47, Ian Pilcher (arequip...@gmail.com) wrote: > > > I have a oneshot service (run from a timer) that updates the TLS > > certificates in my mod_nss database. Because NSS doesn't support

Re: [systemd-devel] systemd debug out of memory

2017-03-30 Thread Lennart Poettering
On Sun, 05.03.17 15:59, Pascal Kolijn (p.kol...@vu.nl) wrote: > Peace, > > On 28/02/2017 16:00, Lennart Poettering wrote: > > On Tue, 28.02.17 13:26, Pascal kolijn (p.kol...@vu.nl) wrote: > > > >> Hi List, > >> > >> I've subscribed to this list to ask for help in debugging a problem we > >>

Re: [systemd-devel] centos7/systemd/mulitpathd

2017-03-30 Thread jsl6uy js16uy
Will do sir apologies was looking if people had experienced anything like this with systemd and/or proper places to insert a pause/slow down in a unit file to let devices get populated. These volumes mounted reliable under sysint and centos 6u5. Basically was looking to see if I have to update my

Re: [systemd-devel] hanging reboot

2017-03-30 Thread Lennart Poettering
On Thu, 09.03.17 13:00, Sergei Franco (sergei.fra...@gmail.com) wrote: > Hello! > > Thank you very much for pointing out the "After" vs "Before", as in for > ExecStop to run Before filesytem is unmounted it must be configured as > After :). > This fixes the Ubuntu unattended upgrades unit that

Re: [systemd-devel] unable to create bridge name "default"

2017-03-30 Thread Lennart Poettering
On Sat, 11.03.17 08:41, William Tu (u9012...@gmail.com) wrote: > Hi, > I'm not sure if this is caused by systemd-udev, apology if it's not > the right place. When doing > # brctl addbr default > add bridge failed: Invalid argument If brctl fails with EINVAL, then this suggests that the kernel

Re: [systemd-devel] MAC address of host0 interface for --network-bridge

2017-03-30 Thread Lennart Poettering
On Thu, 16.03.17 00:27, Bhasker C V (bhas...@unixindia.com) wrote: > Hi all, > > I am using --network-bridge option to setup my container systemd-nspawn. > I however dont see any option in man systemd-nspawn to specify a MAC > Address for the host0 interface. Is there a way to do this ? > I

Re: [systemd-devel] Renaming interfaces with systemd.link

2017-03-30 Thread Lennart Poettering
On Tue, 14.03.17 19:18, Chris Trobridge (christrobri...@hotmail.com) wrote: > > On Fedora 25 I can rename a tap interface with a .link file in > /etc/systemd/network but I cannot rename any Ethernet interfaces. It should work for all interfaces. My educated guess is that your .link file was

Re: [systemd-devel] How do I easily resolve conflicting jobs in custom units?

2017-03-30 Thread John Florian
On Thu, 2017-03-30 at 16:04 +0200, Lennart Poettering wrote: > On Thu, 30.03.17 09:53, John Florian (j...@doubledog.org) wrote: > > > On Thu, 2017-03-30 at 15:32 +0200, Lennart Poettering wrote: > > > On Wed, 22.03.17 16:47, John Florian (j...@doubledog.org) wrote: > > > > > > > Mar 22 16:11:42

Re: [systemd-devel] socket / service dependency

2017-03-30 Thread Lennart Poettering
On Mon, 20.03.17 12:38, Ken Bass (kb...@kenbass.com) wrote: > I thought I followed the instructions (using Centos 7 - I believe > systemd219) ... I am running a local news server (innd.service). > > I needed to add an additional inetd style daemon for nnrpd to support SSL. > See files below.

Re: [systemd-devel] Temporarily stopping a service while oneshot is running

2017-03-30 Thread Lennart Poettering
On Tue, 21.03.17 07:47, Ian Pilcher (arequip...@gmail.com) wrote: > I have a oneshot service (run from a timer) that updates the TLS > certificates in my mod_nss database. Because NSS doesn't support > concurrent access to the database, I need to temporarily shut down > Apache while the

Re: [systemd-devel] Temporarily stopping a service while oneshot is running

2017-03-30 Thread Lennart Poettering
On Tue, 21.03.17 20:31, Kai Krakow (hurikha...@gmail.com) wrote: > Am Tue, 21 Mar 2017 07:47:59 -0500 > schrieb Ian Pilcher : > > > I have a oneshot service (run from a timer) that updates the TLS > > certificates in my mod_nss database. Because NSS doesn't support > >

Re: [systemd-devel] sd-bus connections & authentication timeout

2017-03-30 Thread Lennart Poettering
On Mon, 20.03.17 16:37, Stanislav Angelovič (angelovi...@gmail.com) wrote: > Hi, > > We use sd-bus for DBus IPC in our own applications. Some applications of > ours cause the dbus daemon to issue "Connection has not authenticated soon > enough, closing it" message, leading to the >

Re: [systemd-devel] sd-bus connections & authentication timeout

2017-03-30 Thread Lennart Poettering
On Mon, 20.03.17 19:40, Stanislav Angelovič (angelovi...@gmail.com) wrote: > Hi Jan, > > thanks for quick response. Instead of sd_bus_process(), we could perhaps > use sd_bus_flush() after creating the connection, as that one actually > processes the requests until the connection changes state

Re: [systemd-devel] How do I easily resolve conflicting jobs in custom units?

2017-03-30 Thread Lennart Poettering
On Thu, 30.03.17 09:53, John Florian (j...@doubledog.org) wrote: > On Thu, 2017-03-30 at 15:32 +0200, Lennart Poettering wrote: > > On Wed, 22.03.17 16:47, John Florian (j...@doubledog.org) wrote: > > > > > Mar 22 16:11:42 localhost systemd[1]: sshd.service: Looking at job > > >

Re: [systemd-devel] How do I easily resolve conflicting jobs in custom units?

2017-03-30 Thread John Florian
On Thu, 2017-03-30 at 15:32 +0200, Lennart Poettering wrote: > On Wed, 22.03.17 16:47, John Florian (j...@doubledog.org) wrote: > > > Mar 22 16:11:42 localhost systemd[1]: sshd.service: Looking at job > > sshd.service/start conflicted_by=no > > Mar 22 16:11:42 localhost systemd[1]: sshd.service:

Re: [systemd-devel] How do I easily resolve conflicting jobs in custom units?

2017-03-30 Thread Lennart Poettering
On Wed, 22.03.17 16:47, John Florian (j...@doubledog.org) wrote: > Mar 22 16:11:42 localhost systemd[1]: sshd.service: Looking at job > sshd.service/start conflicted_by=no > Mar 22 16:11:42 localhost systemd[1]: sshd.service: Looking at job > sshd.service/stop conflicted_by=yes > Mar 22 16:11:42

Re: [systemd-devel] systemd-journald: prioritize system log over user log

2017-03-30 Thread Lennart Poettering
On Thu, 23.03.17 19:13, Yunchih Chen (yunc...@csie.ntu.edu.tw) wrote: > > > On 03/23/2017 06:29 PM, Michael Chapman wrote: > > On Thu, 23 Mar 2017, Yunchih Chen wrote: > > > Hello: > > > > > >At my organization, there can be hundreds of user logins in a > > > public workstation each day,

Re: [systemd-devel] more verbose debug info than systemd.log_level=debug?

2017-03-30 Thread Michael Chapman
On Thu, 30 Mar 2017, Lennart Poettering wrote: [...] I am sorry, but XFS is really broken here. All init systems since time began kinda did the same thing when shutting down: a) try to unmount all fs that can be unmounted b) for the remaining ones, try to remount ro (the root fs usually

Re: [systemd-devel] centos7/systemd/mulitpathd

2017-03-30 Thread Lennart Poettering
On Mon, 13.03.17 16:25, jsl6uy js16uy (js1...@gmail.com) wrote: > Hello all, hope all is well > Is there a dependency or delay that needs to be added to have volumes > attached via HBA and managed by multipathd/devmapper and lvm reliably mount > on boot? Please contact the multipath/DM folks

Re: [systemd-devel] more verbose debug info than systemd.log_level=debug?

2017-03-30 Thread Lennart Poettering
On Wed, 22.03.17 11:05, Chris Murphy (li...@colorremedies.com) wrote: > > Result code of "remount ro" is not evaluated or logged. systemd does > > > > (void) mount(NULL, m->path, NULL, MS_REMOUNT|MS_RDONLY, options); > > > > where "options" are those from /proc/self/mountinfo sans ro|rw. > > > >

Re: [systemd-devel] more verbose debug info than systemd.log_level=debug?

2017-03-30 Thread Lennart Poettering
On Mon, 27.03.17 22:27, Mantas Mikulėnas (graw...@gmail.com) wrote: > On Mon, Mar 27, 2017 at 10:20 PM, Chris Murphy > wrote: > > > Ok so the dirty file system problem always happens with all pk offline > > updates on Fedora using either ext4 or XFS with any layout; and

Re: [systemd-devel] more verbose debug info than systemd.log_level=debug?

2017-03-30 Thread Mantas Mikulėnas
On Thu, Mar 30, 2017 at 1:24 PM, Lennart Poettering wrote: > Or to say this differently: if they expect us to invoke some magic > per-filesystem ioctl() before reboot(), then that's nonsense. No init > system calls that, and I am strongly against such hacks. They should >

Re: [systemd-devel] more verbose debug info than systemd.log_level=debug?

2017-03-30 Thread Lennart Poettering
On Tue, 28.03.17 11:31, Chris Murphy (li...@colorremedies.com) wrote: > OK but it's obviously possible for a developer to run a process from > root fs, and mark it kill exempt. That's the problem under discussion, > the developer is doing the wrong thing, and it's allowed. And it's > been going

Re: [systemd-devel] systemd reboot problem

2017-03-30 Thread Lennart Poettering
On Tue, 07.03.17 03:15, lin webber (webber...@outlook.com) wrote: > I use “system("reboot")” in my C program and system does not shutdown.I think > that systemd is waiting for some services to shutdown which can't shutdown > immediately. > But I don't want to wait for those services to