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

2017-06-07 Thread NeilBrown
On Wed, Jun 07 2017, Steve Dickson wrote: > On 06/07/2017 08:02 AM, Lennart Poettering wrote: >> On Wed, 07.06.17 06:08, Steve Dickson (ste...@redhat.com) wrote: >> >>> >>> >>> On 06/06/2017 05:49 PM, NeilBrown wrote: On Tue, Jun 06 2017, Steve Dickson wrote: > Hello, > >

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

2017-06-07 Thread Steve Dickson
On 06/07/2017 08:02 AM, Lennart Poettering wrote: > On Wed, 07.06.17 06:08, Steve Dickson (ste...@redhat.com) wrote: > >> >> >> On 06/06/2017 05:49 PM, NeilBrown wrote: >>> On Tue, Jun 06 2017, Steve Dickson wrote: >>> Hello, On 05/29/2017 06:19 PM, NeilBrown wrote: > >

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

2017-06-07 Thread Chris Murphy
On Fri, May 19, 2017 at 1:46 PM, Chris Murphy wrote: > FYI the file system folks are discussing this. It is not just a > problem with XFS it can affect ext4 too. And it's far from clear the > fs folks have a solution that won't cause worse problems. OK so this is what I

Re: [systemd-devel] Systemd license vs. libcryptsetup license

2017-06-07 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jun 07, 2017 at 05:26:21PM +0200, Krzysztof Jackiewicz wrote: > Thanks, for explanation. > > > - a collection of rpms, like a linux distro, including systemd.rpm, > > libcryptsetup.rpm, and thousands of other loosely coupled rpms > > → that's a mere aggregation, each of the thousands

Re: [systemd-devel] Systemd license vs. libcryptsetup license

2017-06-07 Thread Greg KH
On Wed, Jun 07, 2017 at 05:26:21PM +0200, Krzysztof Jackiewicz wrote: > Thanks, for explanation. > > > - a collection of rpms, like a linux distro, including systemd.rpm, > > libcryptsetup.rpm, and thousands of other loosely coupled rpms > > → that's a mere aggregation, each of the thousands

Re: [systemd-devel] Systemd license vs. libcryptsetup license

2017-06-07 Thread Krzysztof Jackiewicz
Thanks, for explanation. > - a collection of rpms, like a linux distro, including systemd.rpm, > libcryptsetup.rpm, and thousands of other loosely coupled rpms > → that's a mere aggregation, each of the thousands of components carries > it's own license, each has to be satisfied separately

Re: [systemd-devel] Systemd license vs. libcryptsetup license

2017-06-07 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jun 07, 2017 at 11:47:58AM +0200, Krzysztof Jackiewicz wrote: > > Not sure what "release product under GPL" is supposed to mean. > > The combined work would have to be licensed under GPL according to: > https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility >

[systemd-devel] Fwd: Unclean shutdown causes vncserver to not use correct settings

2017-06-07 Thread Samuel Rakitničan
Hello, So I am using vncserver on a CentOS system from base repo. I have the systemd service enabled to start vncserver automatically on each boot. I found out that vncserver is complaining about /tmp/.X11-unix/X1 socket file present almost each time shutdown is unclean due to freeze or power

Re: [systemd-devel] sd_bus_add_filter usage

2017-06-07 Thread Lennart Poettering
On Wed, 07.06.17 14:01, Pawel Szewczyk (p.szewc...@samsung.com) wrote: > Hello, > > What is the purpose of sd_bus_add_filter() function? There is no > documentation for it and all I can tell from looking over the code is that > the callback registered by it is called on every dbus message. What

[systemd-devel] sd_bus_add_filter usage

2017-06-07 Thread Pawel Szewczyk
Hello, What is the purpose of sd_bus_add_filter() function? There is no documentation for it and all I can tell from looking over the code is that the callback registered by it is called on every dbus message. What else does it do? Regards, Paweł Szewczyk

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

2017-06-07 Thread Lennart Poettering
On Wed, 07.06.17 06:08, Steve Dickson (ste...@redhat.com) wrote: > > > On 06/06/2017 05:49 PM, NeilBrown wrote: > > On Tue, Jun 06 2017, Steve Dickson wrote: > > > >> Hello, > >> > >> On 05/29/2017 06:19 PM, NeilBrown wrote: > >>> > >>> Systemd does not, and will not, support "bg" correctly. >

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

2017-06-07 Thread Steve Dickson
On 06/06/2017 05:49 PM, NeilBrown wrote: > On Tue, Jun 06 2017, Steve Dickson wrote: > >> Hello, >> >> On 05/29/2017 06:19 PM, NeilBrown wrote: >>> >>> Systemd does not, and will not, support "bg" correctly. >>> It has other, better, ways to handle "background" mounting. >> The only problem

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

2017-06-07 Thread Steve Dickson
On 06/07/2017 04:12 AM, Lennart Poettering wrote: > On Tue, 06.06.17 14:07, Steve Dickson (ste...@redhat.com) wrote: > >> Hello, >> >> On 05/29/2017 06:19 PM, NeilBrown wrote: >>> >>> Systemd does not, and will not, support "bg" correctly. >>> It has other, better, ways to handle "background"

Re: [systemd-devel] [WIP PATCH 2/4] ACPI: button: remove the LID input node when the state is unknown

2017-06-07 Thread Zheng, Lv
Hi, Benjamin > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Benjamin > Tissoires > Subject: Re: [WIP PATCH 2/4] ACPI: button: remove the LID input node when the > state is unknown > > Hi Lv, > > On Jun 05 2017 or thereabouts, Zheng, Lv wrote:

Re: [systemd-devel] Systemd license vs. libcryptsetup license

2017-06-07 Thread Krzysztof Jackiewicz
> Not sure what "release product under GPL" is supposed to mean. The combined work would have to be licensed under GPL according to: https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility https://www.gnu.org/licenses/gpl-faq.html#IfLibraryIsGPL I think that it means that the code has to be

[systemd-devel] [RFC PATCH 0/2] ACPI: button: Fix button.lid_init_state=method mode

2017-06-07 Thread Lv Zheng
The following approach fixes button.lid_init_state=method mode for systemd 233: https://patchwork.kernel.org/patch/9756457/ https://patchwork.kernel.org/patch/9756467/ But it is not working well with old systemd 229. This solution tries to make a more comfortable approach for systemd 229. There

Re: [systemd-devel] [WIP PATCH 4/4] ACPI: button: Fix lid notification locks

2017-06-07 Thread Zheng, Lv
Hi, Benjamin > From: Benjamin Tissoires [mailto:benjamin.tissoi...@redhat.com] > Subject: Re: [WIP PATCH 4/4] ACPI: button: Fix lid notification locks > > On Jun 05 2017 or thereabouts, Zheng, Lv wrote: > > Hi, > > > > > From: Benjamin Tissoires [mailto:benjamin.tissoi...@redhat.com] > > >

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

2017-06-07 Thread Steve Dickson
On 06/07/2017 04:13 AM, Lennart Poettering wrote: > On Tue, 06.06.17 21:57, Michael Biebl (mbi...@gmail.com) wrote: > >> 2017-06-06 20:07 GMT+02:00 Steve Dickson : >>> Finally, the whole idea of systemd randomly/silently >>> strip off mount options is crazy... IMHO... >> >>

[systemd-devel] [RFC PATCH v5 1/2] ACPI: button: Fix issue that button notify cannot report stateful SW_LID state

2017-06-07 Thread Lv Zheng
There are platform variations implementing ACPI lid device in different ways: 1. Some platforms send "open" events to OS and the events arrive before button driver is resumed; 2. Some platforms send "open" events to OS, but the events arrive after button driver is resumed, ex., Samsung

[systemd-devel] [RFC PATCH v5 2/2] ACPI: button: Add a quirk mode for Surface Pro 1 like laptop

2017-06-07 Thread Lv Zheng
Some platforms never send "open" events, _LID returns value sticks to "close", ex., Surface Pro 1. Such platforms cannot work well with systemd 229 in button.lid_init_state=method mode, but button.lid_init_state=open workaround is available for them to work with systemd 229 and they can work

Re: [systemd-devel] Systemd license vs. libcryptsetup license

2017-06-07 Thread Lennart Poettering
On Wed, 07.06.17 09:49, Krzysztof Jackiewicz (k.jackiew...@samsung.com) wrote: > I guess the "conflict" was not the best word to describe it. > > If I want to release a product with systemd the libryptsetup option will > force me to release it under GPL. Is that correct? Not sure what "release

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

2017-06-07 Thread Lennart Poettering
On Tue, 06.06.17 21:57, Michael Biebl (mbi...@gmail.com) wrote: > 2017-06-06 20:07 GMT+02:00 Steve Dickson : > > Finally, the whole idea of systemd randomly/silently > > strip off mount options is crazy... IMHO... > > Personally, I would prefer if systemd simply logged a

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

2017-06-07 Thread Lennart Poettering
On Tue, 06.06.17 14:07, Steve Dickson (ste...@redhat.com) wrote: > Hello, > > On 05/29/2017 06:19 PM, NeilBrown wrote: > > > > Systemd does not, and will not, support "bg" correctly. > > It has other, better, ways to handle "background" mounting. > The only problem with this is bg mounts still

Re: [systemd-devel] Systemd license vs. libcryptsetup license

2017-06-07 Thread Krzysztof Jackiewicz
I guess the "conflict" was not the best word to describe it. If I want to release a product with systemd the libryptsetup option will force me to release it under GPL. Is that correct? Thanks, Krzy -Original Message- From: Zbigniew Jędrzejewski-Szmek [mailto:zbys...@in.waw.pl] Sent:

Re: [systemd-devel] Why does nspawn need two child processes?

2017-06-07 Thread Lennart Poettering
On Wed, 31.05.17 20:40, Luke Shumaker (luke...@lukeshu.com) wrote: > > So my question becomes: what has to be done *after* unsharing the > mount namespace, but *before* unsharing the PID namespace? The various types of namespaces are not orthogonal even if they are exposed in supposedly

Re: [systemd-devel] Systemd license vs. libcryptsetup license

2017-06-07 Thread Lennart Poettering
On Tue, 06.06.17 16:33, Krzysztof Jackiewicz (k.jackiew...@samsung.com) wrote: > Hi, > > I noticed that when systemd is configured with libcryptsetup option enabled > it will link to libcryptsetup which is distributed under GPL 2.0. It seems > like a license conflict to me. Can anyone explain

Re: [systemd-devel] [WIP PATCH 0/4] Rework the unreliable LID switch exported by ACPI

2017-06-07 Thread Lennart Poettering
On Thu, 01.06.17 20:46, Benjamin Tissoires (benjamin.tissoi...@redhat.com) wrote: > Hi, > > Sending this as a WIP as it still need a few changes, but it mostly works as > expected (still not fully compliant yet). > > So this is based on Lennart's comment in [1]: if the LID state is not >