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-10 Thread Andrei Borzenkov
В Fri, 10 Apr 2015 18:02:49 -0700 lynd...@your-mail.com пишет: > > So though not clear on the real-intfc-only case, it's clearly not enough of a > dependency check when the bridge interface comes into play. > This is entirely up to implementation of waiting for network. As was already said, n

[systemd-devel] [PATCH 2/2] Add more firewire properties for sound, to be closer to USB and PCI

2015-04-10 Thread Adam Goode
USB and PCI soundcards have a nice set of ID_* properties. It would be handy for firewire soundcards to have the same. --- rules/78-sound-card.rules | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rules/78-sound-card.rules b/rules/78-sound-card.rules index bd7a994..e529f

[systemd-devel] [PATCH 1/2] Don't use ALSA card id in ID_ID

2015-04-10 Thread Adam Goode
The ALSA id sysattr is generated by the sound subsystem and is not a stable identifier. It is generated though some string manipulation then made unique if there is a conflict. This means that it is enumeration-dependent and shouldn't be used for ID_ID. If ID_ID is supposed to be system-unique, it

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-10 Thread lyndat3
On Fri, Apr 10, 2015, at 05:54 PM, Mantas Mikulėnas wrote: > By itself, if I remember correctly, network-online.target doesn't wait > for *anything; > *it needs the provider-specific services to also be enabled, like > NetworkManager-wait-online.service (similarly for systemd-networkd and > ifupd

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-10 Thread Mantas Mikulėnas
On Sat, Apr 11, 2015 at 1:52 AM, wrote: > My /etc/systemd/system/sshd.service has a > > After=network-online.target > > dependency. > > ... > > Apparently, network-online waits for *real* interfaces only. > By itself, if I remember correctly, network-online.target doesn't wait for *anything; *

Re: [systemd-devel] heads-up: chasing journal(?) related regression in 219 causing boot hang/fail

2015-04-10 Thread Tobias Hunger
Hi Martin, did you make any progress with this bug? Apparently the same issue is blocking systemd-219 from getting into arch linux ( https://bugs.archlinux.org/task/44016 ), so this seems to be a wide-spread issue. Is anyone taking a serious look into this issue? Best Regards, Tobias On Mon, Ma

[systemd-devel] [PATCH v2] efi-boot-generator: Continue if /boot does not exist

2015-04-10 Thread Tobias Hunger
/boot does not exist on a stateless system, so do not get confused by that. --- src/efi-boot-generator/efi-boot-generator.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/efi-boot-generator/efi-boot-generator.c b/src/efi-boot-generator/efi-boot-generator.c index 58c4c

Re: [systemd-devel] [PATCH v2] gpt-generator: Find device on a stateless system

2015-04-10 Thread Tobias Hunger
This time with fixed indentation. Sorry for taking so long to follow up on this, easter holidays were taking their toll:-) Best Regards, Tobias On Sat, Apr 11, 2015 at 1:52 AM, Tobias Hunger wrote: > A stateless system has a tmpfs as root file system. That obviously > does not have any block d

[systemd-devel] [PATCH v2] gpt-generator: Find device on a stateless system

2015-04-10 Thread Tobias Hunger
A stateless system has a tmpfs as root file system. That obviously does not have any block device associated with it. So try falling back to the device of the /usr filesystem if the root filesystem fails. --- src/gpt-auto-generator/gpt-auto-generator.c | 9 +++-- 1 file changed, 7 insertions(+

Re: [systemd-devel] SystemD, Gnome permission problems

2015-04-10 Thread dean
On Sat, 2015-04-11 at 01:59 +0300, Mantas Mikulėnas wrote: > On Sat, Apr 11, 2015 at 1:57 AM, dean wrote: > Hi guys, > > Firstly i apologize if I'm in the wrong place, tell me where > to go if i > am ;-). > > I am having some permission pro

Re: [systemd-devel] SystemD, Gnome permission problems

2015-04-10 Thread Mantas Mikulėnas
On Sat, Apr 11, 2015 at 1:57 AM, dean wrote: > Hi guys, > > Firstly i apologize if I'm in the wrong place, tell me where to go if i > am ;-). > > I am having some permission problems, following is some syslog entries: > > gnome-session[2739]: (gnome-settings-daemon:2809): > housekeeping-plugin-WA

[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-10 Thread lyndat3
My /etc/systemd/system/sshd.service has a After=network-online.target dependency. When my ethernet interface, eno1, is the primary 'net listener, cat /etc/sysconfig/network/ifcfg-eno1 STARTMODE='auto' BOOTPROTO='static' IPADDR='192.168

[systemd-devel] SystemD, Gnome permission problems

2015-04-10 Thread dean
Hi guys, Firstly i apologize if I'm in the wrong place, tell me where to go if i am ;-). I am having some permission problems, following is some syslog entries: gnome-session[2739]: (gnome-settings-daemon:2809): housekeeping-plugin-WARNING **: Failed to enumerate children of /tmp/systemd-private

Re: [systemd-devel] [RFC 5/6] proxy-discoveryd: Add the basic parts for handling DBus methods

2015-04-10 Thread Marcel Holtmann
Hi Lennart, >> + >> +static int method_find_proxy(sd_bus *bus, sd_bus_message *message, void >> *userdata, sd_bus_error *error) { >> +_cleanup_free_ char *p = strdup("DIRECT"); > > Please don't mix variable declarations and function invocations in one > line (also see CODING_STYLE). Also

Re: [systemd-devel] [RFC 4/6] proxy-discoveryd: Execute the PAC based proxy in a thread

2015-04-10 Thread Marcel Holtmann
Hi Lennart, >> +static void *run_thread(void *data) { >> +_cleanup_free_ struct proxy_parameters *params = NULL; >> +_cleanup_pac_free_ struct PAC *pac = NULL; >> +_cleanup_free_ char *result = NULL; >> +const char *url, *host; >> + >> +params = data; >> + >

Re: [systemd-devel] [RFC 3/6] proxy-discoveryd: Add PAC support through duktape js engine

2015-04-10 Thread Marcel Holtmann
Hi Lennart, >> +struct PAC { >> +duk_context *ctx; >> +}; >> + >> +static int get_addresses_from_interface(int ifindex, union in_addr_union >> *address) { >> +struct ifreq ifr = {}; >> +int sk; >> + >> +sk = socket(AF_INET, SOCK_DGRAM, 0); >> +if (sk < 0) >

Re: [systemd-devel] [RFC 2/6] proxy-discoveryd: Add the basics for parsing the default configuration

2015-04-10 Thread Marcel Holtmann
Hi Lennart, >> The config file will be in /etc/systemd/proxy/.conf >> >> It currently only load "Proxy" parts, with the key PAC. Rest is ignored. >> The PAC keyword is a path to a .pac file (a specific js script for proxy >> configuration). >> >> Only one PAC based proxy configuration will be lo

Re: [systemd-devel] [PATCH v2] network: Implement fallback DHCPv6 prefix handling for older kernels

2015-04-10 Thread Alexander Sverdlin
Hello Patrik! On 10/04/15 13:03, Patrik Flykt wrote: > When setting IPv6 addresses acquired by DHCPv6, systemd-networkd sets > the IFA_F_NOPREFIXROUTE flag in the IFA_FLAGS netlink attribute. As > the flag and the attribute are present starting with Linux 3.14, older > kernels will need systemd-ne

[systemd-devel] [PATCH] network: allow domain names up to 255 characters

2015-04-10 Thread Nick Owens
From: mischief The maximum domain name size is larger than the maximum host name size. The smaller limit causes valid domains provided by DHCP or .network files to be silently ignored. --- src/libsystemd-network/sd-dhcp-lease.c | 2 +- src/network/networkd-network.c | 2 +- src/shared/