Re: [systemd-devel] Setting bonding parameters

2014-07-14 Thread poma
On 14.07.2014 12:28, Tom Gundersen wrote: We will not change the settings of pre-existing bonds created by someone else (bond0 is created by the kernel when the module is loaded). I added this to the man-page. Using an unused bond name should make this work. Please let us know if it does not.

[systemd-devel] [PATCH] core: fix oneshot service resource control

2014-07-14 Thread Umut Tezduyar Lindskog
Oneshot services's cgroup is removed when the service exits. An assert is hit otherwise. --- src/core/manager.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/manager.c b/src/core/manager.c index 3dffbe2..d27a45f 100644 --- a/src/core/manager.c +++ b/src/core/man

Re: [systemd-devel] 70-uaccess.rules: add new ID_SDR_HW?

2014-07-14 Thread Alick Zhao
On 07/15/2014 08:03 AM, Kay Sievers wrote: >>> >> So is it possible to add ID_SDR_HW in the 70-uaccess.rules file? >> > It could be done. Whether systemd is the best place to keep the rules >> > for SDR depends on whether there's a better project, like sane for >> > scanners, >> > etc. >> > >>> >>

Re: [systemd-devel] networkd losing dhcp lease with dracut / nfs root

2014-07-14 Thread Rich Freeman
On Sun, Jun 29, 2014 at 10:27 AM, Tom Gundersen wrote: > On Sat, Jun 28, 2014 at 11:29 AM, Tom Gundersen wrote: >> Your analysis is correct. networkd is not updating the lft. >> >> We should change two things: dracut (or whatever is being used on your >> machine) should set an infinite lifetime w

Re: [systemd-devel] 70-uaccess.rules: add new ID_SDR_HW?

2014-07-14 Thread Kay Sievers
On Tue, Jul 15, 2014 at 1:50 AM, Zbigniew Jędrzejewski-Szmek wrote: > On Mon, Jul 14, 2014 at 07:40:10PM +0800, Alick Zhao wrote: >> Hi all, >> >> I am recently playing with software >> defined radio (SDR) hardwares (USRP, bladeRF, etc.), >> and come across the plugdev group issue. It seems the be

Re: [systemd-devel] 70-uaccess.rules: add new ID_SDR_HW?

2014-07-14 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jul 14, 2014 at 07:40:10PM +0800, Alick Zhao wrote: > Hi all, > > I am recently playing with software > defined radio (SDR) hardwares (USRP, bladeRF, etc.), > and come across the plugdev group issue. It seems the best way is to > write a local rule > saying something like: [1] > > SUBSY

Re: [systemd-devel] [networkd] Event source …: Operation not supported

2014-07-14 Thread Tom Gundersen
On Mon, Jul 14, 2014 at 10:46 PM, Mark Oteiza wrote: > Tom Gundersen writes: > >> On Fri, Jul 11, 2014 at 10:55 PM, Mark Oteiza wrote: >>> >>> Hi, >>> >>> networkd on systemd v215 starts churning after printing the error in >>> the subject. The issue is present on git master. >> >> Thanks for t

Re: [systemd-devel] systemd-networkd fails to get DHCPv4 lease with disabled IPv6

2014-07-14 Thread Alex Crawford
I don't mean to be pedantic, but I think "any" would be a better choice. -Alex On Mon, Jul 14, 2014 at 1:54 AM, Tom Gundersen wrote: > On Mon, Jul 7, 2014 at 10:56 AM, Colin Guthrie > wrote: > > 'Twas brillig, and Tom Gundersen at 06/07/14 23:32 did gyre and gimble: > >>> > That worked... tha

Re: [systemd-devel] [networkd] Event source …: Operation not supported

2014-07-14 Thread Mark Oteiza
Tom Gundersen writes: > On Fri, Jul 11, 2014 at 10:55 PM, Mark Oteiza wrote: >> >> Hi, >> >> networkd on systemd v215 starts churning after printing the error in >> the subject. The issue is present on git master. > > Thanks for the report. Could this be related to ipv6 being disabled on > your

Re: [systemd-devel] systemd-networkd fails to get DHCPv4 lease with disabled IPv6

2014-07-14 Thread Dan Williams
On Mon, 2014-07-14 at 11:06 -0700, David Timothy Strauss wrote: > On Sun, Jul 6, 2014 at 3:32 PM, Tom Gundersen wrote: > > "yes" is a synonym for "both" and "no" for "none". > > These are odd semantics, given that IPv6 is completely configurable > using router advertisements for even DNS informat

Re: [systemd-devel] systemd-networkd fails to get DHCPv4 lease with disabled IPv6

2014-07-14 Thread David Timothy Strauss
On Sun, Jul 6, 2014 at 3:32 PM, Tom Gundersen wrote: > "yes" is a synonym for "both" and "no" for "none". These are odd semantics, given that IPv6 is completely configurable using router advertisements for even DNS information (that is, no DHCP whatsoever). Perhaps the option should be Autoconfig

Re: [systemd-devel] [PATCH] core/cryptsetup: Add WantsMountFor option to enable fallback to password request for crypt mounts.

2014-07-14 Thread Przemyslaw Rudy
Hello Lennart Sorry, I missed that mail... Beside referring to the bugzilla description I could simplify the usecase to this: - prepare e.g. /home on luks, use 2 keys: passphrase and key-in-file - put the key file on usb stick - start machine without usb stick inserted - it won't ask for passphras

Re: [systemd-devel] [PATCH] [RFC] Add binary password agent protocol

2014-07-14 Thread David Härdeman
On Thu, Jul 03, 2014 at 01:41:43PM +0200, Lennart Poettering wrote: >On Fri, 27.06.14 01:54, David Härdeman (da...@hardeman.nu) wrote: > >> Add binary string handling functions and extend the password agent >> protocol to support binary strings (using "=" as a string prefix >> instead of "+"). > >I

[systemd-devel] 70-uaccess.rules: add new ID_SDR_HW?

2014-07-14 Thread Alick Zhao
Hi all, I am recently playing with software defined radio (SDR) hardwares (USRP, bladeRF, etc.), and come across the plugdev group issue. It seems the best way is to write a local rule saying something like: [1] SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", \ ATTRS{idVendor}=="", ATTRS{

Re: [systemd-devel] SIT tunnel does not work

2014-07-14 Thread Tomasz Torcz
On Mon, Jul 14, 2014 at 01:05:09PM +0200, Tomasz Torcz wrote: Man, I need coffee. > > I just tried one way - I've put "Tunnel=" option into my extarnal I just tried another way - I've put "Tunnel=" option into my external -- Tomasz TorczOnly gods can safely risk perfecti

Re: [systemd-devel] SIT tunnel does not work

2014-07-14 Thread Tomasz Torcz
On Mon, Jul 14, 2014 at 11:18:43AM +0200, Tom Gundersen wrote: > > Hi Tomasz, > > I just tried with your configuration with current git and it works for > me. Note that your kernel may not yet have received the module > autoloading patch for the tunnel modules (these have been applied to > all cu

Re: [systemd-devel] [PATCH] arch: add crisv32

2014-07-14 Thread Simon McVittie
On 06/07/14 20:38, Lennart Poettering wrote: > Our understanding so far was more that "multilib" refers to the scheme > which allows you to run executables of different, but "compatible" archs > on the same system. In this scheme you would have your each executable > only of one arch around, but yo

Re: [systemd-devel] Setting bonding parameters

2014-07-14 Thread Tom Gundersen
On Sun, Jul 13, 2014 at 8:33 PM, poma wrote: > On 26.06.2014 15:30, Lukáš Nykrýn wrote: >> >> poma píše v Pá 20. 06. 2014 v 13:36 +0200: >>> >>> On 20.06.2014 13:31, Tom Gundersen wrote: On Thu, Jun 19, 2014 at 1:37 PM, Vladimir Elisseev wrote: > > Simple question: is there

Re: [systemd-devel] SIT tunnel does not work

2014-07-14 Thread Tom Gundersen
On Sun, Jul 13, 2014 at 9:43 PM, Tomasz Torcz wrote: > On Sun, Jun 29, 2014 at 01:05:22PM +0200, Tomasz Torcz wrote: >> he.netdev: >> -- >> [NetDev] >> Name=he >> Kind=sit >> >> [Tunnel] >> Local=109.107.25.67 >> Remote=216.66.80.162 >> >> >> he.network: >> --- >> [Match] >> Name=e

Re: [systemd-devel] [networkd] Event source …: Operation not supported

2014-07-14 Thread Tom Gundersen
On Fri, Jul 11, 2014 at 10:55 PM, Mark Oteiza wrote: > > Hi, > > networkd on systemd v215 starts churning after printing the error in the > subject. The issue is present on git master. Thanks for the report. Could this be related to ipv6 being disabled on your machine? To verify, try booting wit

Re: [systemd-devel] systemd-networkd fails to get DHCPv4 lease with disabled IPv6

2014-07-14 Thread Tom Gundersen
On Mon, Jul 7, 2014 at 10:56 AM, Colin Guthrie wrote: > 'Twas brillig, and Tom Gundersen at 06/07/14 23:32 did gyre and gimble: >>> > That worked... thanks. BTW, is yes/true still a valid argument for DHCP >>> > (because the manpage says otherwise)? >> "yes" is a synonym for "both" and "no" for "n

Re: [systemd-devel] systemd-networkd: no network connectivity with 214/master due to 63a070415db09f5b5bcc5c

2014-07-14 Thread Tom Gundersen
On Sat, Jul 12, 2014 at 7:38 AM, Camilo Aguilar wrote: >>Hm, if I read the DHCP spec correctly it requires the networks to deal >>with broadcast packets, as NAK is always sent as broadcast, so if this >>is the case we have a bigger problem. > > My interpretation is that a DHCPNAK is usually sent t

Re: [systemd-devel] [PATCH 1/3] shared: add generic IPC barrier

2014-07-14 Thread Tom Gundersen
On Sun, Jul 13, 2014 at 5:37 PM, David Herrmann wrote: > Hi > > On Sun, Jul 13, 2014 at 1:30 PM, Tom Gundersen wrote: >> Couple of random nitpicks below. >> >> On Sun, Jul 13, 2014 at 12:37 PM, David Herrmann >> wrote: >>> The "Barrier" object is a simple inter-process barrier implementation. I