Re: [systemd-devel] [PATCH] nfs.man: document incompatibility between "bg" option and systemd.

2017-05-29 Thread Niels de Vos
On Tue, May 30, 2017 at 08:19:16AM +1000, NeilBrown wrote: > > Systemd does not, and will not, support "bg" correctly. > It has other, better, ways to handle "background" mounting. > > Explain this. > > See also https://github.com/systemd/systemd/issues/6046 > > Signed-off-by: NeilBrown

[systemd-devel] [PATCH] nfs.man: document incompatibility between "bg" option and systemd.

2017-05-29 Thread NeilBrown
Systemd does not, and will not, support "bg" correctly. It has other, better, ways to handle "background" mounting. Explain this. See also https://github.com/systemd/systemd/issues/6046 Signed-off-by: NeilBrown --- utils/mount/nfs.man | 18 +- 1 file changed,

Re: [systemd-devel] systemd and NFS "bg" mounts.

2017-05-29 Thread NeilBrown
On Mon, May 29 2017, Lennart Poettering wrote: > On Fri, 26.05.17 12:46, NeilBrown (ne...@suse.com) wrote: > >> >> Hi all, >> it appears that systemd doesn't play well with NFS "bg" mounts. >> I can see a few options for how to address this and wonder if anyone >> has any opinions. > > Yeah,

Re: [systemd-devel] [RFC PATCH v3 1/5] ACPI: button: Add indication of BIOS notification and faked events

2017-05-29 Thread Benjamin Tissoires
Hi Lv, On May 27 2017 or thereabouts, Lv Zheng wrote: > This patch adds a parameter to acpi_lid_notify_state() so that it can act > differently against BIOS notification and kernel faked events. > > Cc: > Cc: Benjamin Tissoires

Re: [systemd-devel] socket unit refusing connection when JOB_STOP is pending

2017-05-29 Thread Lennart Poettering
On Tue, 16.05.17 11:28, Moravec, Stanislav (ERT) (stanislav.mora...@hpe.com) wrote: > Hello all, > > I wanted to seek your opinion about correctness of the current behavior > of socket activated units. > > Let's assume we have socket activated service (for example authd - > auth.socket) and

Re: [systemd-devel] how to correctly specify dependency on dbus

2017-05-29 Thread Lennart Poettering
On Tue, 23.05.17 23:01, prashantkumar dhotre (prashantkumardho...@gmail.com) wrote: > Thanks. > my service runs during early bootup. > one intermittent issue I am seeing is that my service fails in > dbus_bus_get_private() with error: > > 07:45:19 : dbus_bus_get_private() failed with error:

Re: [systemd-devel] log queries on DHCPServer provided by systemd-networkd

2017-05-29 Thread Lennart Poettering
On Thu, 25.05.17 09:15, Pascal (patate...@gmail.com) wrote: > hi, > > how to enable DHCPServer log queries ? I can't find any trace of > conversations in the journal. You can turn on debug logging in networkd by setting the env var $SYSTEMD_LOG_LEVEL=debug for systemd-networkd. You can do that

Re: [systemd-devel] systemd and NFS "bg" mounts.

2017-05-29 Thread Lennart Poettering
On Fri, 26.05.17 12:46, NeilBrown (ne...@suse.com) wrote: > > Hi all, > it appears that systemd doesn't play well with NFS "bg" mounts. > I can see a few options for how to address this and wonder if anyone > has any opinions. Yeah, this has come up before. Long story short: "bg" is simply

Re: [systemd-devel] Run a separate instance of systemd-networkd in a namespace?

2017-05-29 Thread Lennart Poettering
On Fri, 26.05.17 11:44, Dmitrii Sutiagin (f3fli...@gmail.com) wrote: > Hi everyone, > > I'm trying to set up a VPN in a namespace, so I could use my base network > connection as usual and at the same time spawn console or browser in that > namespace where VPN is running. So far I've sorted out

Re: [systemd-devel] pid namespaces, systemd and signals on reboot(2)

2017-05-29 Thread Michał Zegan
W dniu 29.05.2017 o 11:37, Lennart Poettering pisze: > On Sat, 27.05.17 20:51, Michał Zegan (webczat_...@poczta.onet.pl) wrote: > >> Hello. >> >> I came across the following: >> The manpage reboot(2) says, that inside of a pid namespace, a reboot >> call that normally would trigger restart

Re: [systemd-devel] Group of temporary but related units?

2017-05-29 Thread Lennart Poettering
On Sun, 28.05.17 17:13, Benno Fünfstück (benno.fuenfstu...@gmail.com) wrote: > Hey list, > > what would be a good way to manage temporary development environments with > systemd? For example, if I quickly want to spawn up an environment where my > service + perhaps some db or a queue or some

Re: [systemd-devel] About stable network interface names

2017-05-29 Thread Greg KH
On Mon, May 29, 2017 at 11:34:13AM +0200, Cesare Leonardi wrote: > On 29/05/2017 07:10, Greg KH wrote: > > Anyway, PCI can, and will sometimes, renumber it's devices on booting > > again, that's a known issue. It is rare, but as you have found out, > > will happen. So anything depending on PCI

Re: [systemd-devel] About stable network interface names

2017-05-29 Thread Reindl Harald
Am 29.05.2017 um 11:40 schrieb Lennart Poettering: Well, different naming strategies have different advantages and disadvantages. If you use the MAC address, then replacing hardware becomes harder, and you can't cover hardware that doesn't have fixed MAC addresses (or VMs) than KVM or

Re: [systemd-devel] pid namespaces, systemd and signals on reboot(2)

2017-05-29 Thread Lennart Poettering
On Sat, 27.05.17 20:51, Michał Zegan (webczat_...@poczta.onet.pl) wrote: > Hello. > > I came across the following: > The manpage reboot(2) says, that inside of a pid namespace, a reboot > call that normally would trigger restart actually triggers sending > sighup to the init of a namespace, and

Re: [systemd-devel] About stable network interface names

2017-05-29 Thread Lennart Poettering
On Mon, 29.05.17 11:34, Cesare Leonardi (celeo...@gmail.com) wrote: > On 29/05/2017 07:10, Greg KH wrote: > > > For example, in one of those tests I initially had this setup: > > > Integrated NIC: enp9s0 > > > PCIE1 (x1): dual port ethernet card [enp3s0, enp4s0] > > > PCIE2 (x16): empty > > >

Re: [systemd-devel] About stable network interface names

2017-05-29 Thread Cesare Leonardi
On 29/05/2017 07:10, Greg KH wrote: For example, in one of those tests I initially had this setup: Integrated NIC: enp9s0 PCIE1 (x1): dual port ethernet card [enp3s0, enp4s0] PCIE2 (x16): empty PCIE3 (x1): dual port ethernet card [enp7s0, enp8s0] Then i inserted a SATA controller in the PCIE2

Re: [systemd-devel] Systemd crash when trying to boot Angstrom image with systemd enabled

2017-05-29 Thread Lennart Poettering
On Mon, 29.05.17 02:40, Sonu Abraham (sonu.abra...@rfi.com.au) wrote: > Hi , > > I get the following kernel panic when trying to using system-console image > from Angstrom distribution on imx28evk board > > [9.506682] UBIFS (ubi0:0): FS size: 236302336 bytes (225 MiB, 1861 LEBs), >

Re: [systemd-devel] Systemd -- Using Environment variable in a Unit file from Environment File

2017-05-29 Thread Lennart Poettering
On Fri, 26.05.17 15:06, Raghavendra. H. R (raghuh...@gmail.com) wrote: > Hi All, > > I'm in the situation where path of my server changes due to version change. > I don't want to modify my systemd unit file everytime, instead I want to go > ahead with my environement file for modification.