Re: [systemd-devel] [PATCH] login: share VT-signal handler between sessions

2014-08-13 Thread David Herrmann
Hi On Mon, Aug 11, 2014 at 7:57 PM, Olivier Brunel j...@jjacky.com wrote: On 08/11/14 18:21, David Herrmann wrote: sd-event does not allow multiple handlers for a single signal. However, logind sets up signal handlers for each session with VT_PROCESS set (that is, it has an active

[systemd-devel] [PATCH] resolved: don't fail if IPv6 is not available

2014-08-13 Thread Michael Olbrich
--- src/resolve/resolved-manager.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c index a2de2ed..7063af5 100644 --- a/src/resolve/resolved-manager.c +++ b/src/resolve/resolved-manager.c @@ -429,7 +429,9

Re: [systemd-devel] [PATCH] resolved: don't fail if IPv6 is not available

2014-08-13 Thread Lennart Poettering
On Wed, 13.08.14 09:33, Michael Olbrich (m.olbr...@pengutronix.de) wrote: Heya, I applied a different patch now that makes sure we either get the full IPv6 support or none at all, and doesn't generate a warning. Please have a look, if this fixes things for you. Thanks for the patch anyway,

Re: [systemd-devel] Missing forked processes in 'systemctl status'

2014-08-13 Thread Lennart Poettering
On Mon, 11.08.14 13:22, Leonid Isaev (lis...@umail.iu.edu) wrote: Hi, I am seeing an oddity in the CGroup output of systemctl status ran on some units. On the other hand, systemd-cgls shows correct information. Here is an example: -- $ systemctl status netctl@wan.service

Re: [systemd-devel] [RFC PATCH] sd-dhcp-client: support non-Ethernet hardware addresses

2014-08-13 Thread Dan Williams
On Wed, 2014-08-06 at 11:22 -0500, Dan Williams wrote: Like Infiniband. See RFC 4390 section 2.1 for details on DHCP and Infiniband; chaddr is zeroed, hlen is set to 0, and htype is set to ARPHRD_INFINIBAND because IB hardware addresses are 20 bytes in length. --- NOTE: because of how

Re: [systemd-devel] [PATCH] bus-bloom: Fix bloom filter calculation

2014-08-13 Thread Lennart Poettering
On Sat, 09.08.14 02:06, Denis Kenzior (denk...@gmail.com) wrote: Indeed! Applied! Thanks! i is being used incorrectly. It is used to refer to the number of indexes calculated so far (out of k). However, it is also incremented when a new hash key is being used. This means that the results

Re: [systemd-devel] Thoughts about /etc/crypttab keyscript options

2014-08-13 Thread Marc Haber
Hi, did I reach the wrong mailing list? Is there better forum to get systemd working with something resembling my current setup? Greetings Marc On Mon, Jul 21, 2014 at 10:46:21AM +0200, Marc Haber wrote: From: Marc Haber mh+systemd-de...@zugschlus.de Subject: Thoughts about /etc/crypttab

Re: [systemd-devel] User sessions: limit the ability to migrate cgroups

2014-08-13 Thread Lennart Poettering
On Thu, 07.08.14 15:19, Alban Crequy (alban.cre...@collabora.co.uk) wrote: Hi, Should unprivileged processes be allowed to change cgroup? Well, they shouldn#t do it. But I think it's OK as long as this is only done within the specific user's hierarchies. As I understand it, it is not

Re: [systemd-devel] User sessions: limit the ability to migrate cgroups

2014-08-13 Thread Alban Crequy
On Wed, 13 Aug 2014 16:37:17 +0200 Lennart Poettering lenn...@poettering.net wrote: On Thu, 07.08.14 15:19, Alban Crequy (alban.cre...@collabora.co.uk) wrote: Hi, Should unprivileged processes be allowed to change cgroup? Well, they shouldn#t do it. But I think it's OK as long as

Re: [systemd-devel] Missing forked processes in 'systemctl status'

2014-08-13 Thread Leonid Isaev
Hi, On Wed, Aug 13, 2014 at 03:29:40PM +0200, Lennart Poettering wrote: On Mon, 11.08.14 13:22, Leonid Isaev (lis...@umail.iu.edu) wrote: Hi, I am seeing an oddity in the CGroup output of systemctl status ran on some units. On the other hand, systemd-cgls shows correct

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-13 Thread Lennart Poettering
On Thu, 07.08.14 14:06, Frantisek Hanzlik (fra...@hanzlici.cz) wrote: Hi, I just install Fedora 20 (with systemd 208) and want log, if possible, without journald, only to rsyslog. Why if I may ask? Trying to do that is usually more a sign of misconceptions about systemd or the journal than

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-13 Thread Lennart Poettering
On Thu, 07.08.14 14:34, Jon Stanley (jonstan...@gmail.com) wrote: On Thu, Aug 7, 2014 at 2:06 PM, Frantisek Hanzlik fra...@hanzlici.cz wrote: It's good that I have no /var/log/journal/* files, but - journald is still runnig (this isn't too imporatant, but when it is possible work

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-13 Thread Lennart Poettering
On Thu, 07.08.14 18:11, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: Arguably one of journals major/only shortcoming compared to what's out there is it's lack the ability to send syslog messages over the syslog network protocol but I think it's just a matter of time until it does, since

Re: [systemd-devel] Missing forked processes in 'systemctl status'

2014-08-13 Thread Lennart Poettering
On Wed, 13.08.14 12:30, Leonid Isaev (lis...@umail.iu.edu) wrote: What's the Type= of the units? netclt@.service is Type=oneshot: -- $ cat /usr/lib/systemd/system/netctl@.service [Unit] Description=Networking for netctl profile %I Documentation=man:netctl.profile(5)

Re: [systemd-devel] Thoughts about /etc/crypttab keyscript options

2014-08-13 Thread Lennart Poettering
On Wed, 13.08.14 16:43, Marc Haber (mh+systemd-de...@zugschlus.de) wrote: Hi, did I reach the wrong mailing list? Is there better forum to get systemd working with something resembling my current setup? No, this is the right place. But I just have a huge backlog of threads to reply to on

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-13 Thread Lennart Poettering
On Thu, 07.08.14 15:44, Leonid Isaev (lis...@umail.iu.edu) wrote: Hi, On Thu, Aug 07, 2014 at 06:11:39PM +, Jóhann B. Guðmundsson wrote: On 08/07/2014 04:12 PM, Leonid Isaev wrote: Perhaps understanding why you're allergic to the journal would help in figuring out solutions to

Re: [systemd-devel] Missing forked processes in 'systemctl status'

2014-08-13 Thread Leonid Isaev
Hi, On Wed, Aug 13, 2014 at 06:40:48PM +0200, Lennart Poettering wrote: On Wed, 13.08.14 12:30, Leonid Isaev (lis...@umail.iu.edu) wrote: What's the Type= of the units? netclt@.service is Type=oneshot: -- $ cat /usr/lib/systemd/system/netctl@.service [Unit]

Re: [systemd-devel] systemd-journald doesn't follow max datagram length when forwarding messages to syslog

2014-08-13 Thread Lennart Poettering
On Sun, 10.08.14 21:07, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: The problem is due to sending socket's SO_SNDBUF limit. My guess at this point is the amount of messages you can queue to syslog socket is determined by 3 factors. a) Sending socket's SO_SNDBUF b) Receiving socket's

Re: [systemd-devel] Missing forked processes in 'systemctl status'

2014-08-13 Thread Lennart Poettering
On Wed, 13.08.14 12:56, Leonid Isaev (lis...@umail.iu.edu) wrote: If processes stay around Type=oneshot is wrong really. Type=forking is more appropriate then. Hmm. That's a good point... I'll ask about this, but my (limited) understanding of the reasoning for this choice is that

Re: [systemd-devel] Missing forked processes in 'systemctl status'

2014-08-13 Thread Dave Reisner
On Wed, Aug 13, 2014 at 12:56:19PM -0400, Leonid Isaev wrote: This still doesn't explain why systemctl misses the cgroup information... Isn't this the same misfeature that causes other fields like _COMM to be lost as well? The process goes away before journald can async read that information

Re: [systemd-devel] Missing forked processes in 'systemctl status'

2014-08-13 Thread Lennart Poettering
On Wed, 13.08.14 13:07, Dave Reisner (d...@falconindy.com) wrote: On Wed, Aug 13, 2014 at 12:56:19PM -0400, Leonid Isaev wrote: This still doesn't explain why systemctl misses the cgroup information... Isn't this the same misfeature that causes other fields like _COMM to be lost as well?

Re: [systemd-devel] Missing forked processes in 'systemctl status'

2014-08-13 Thread Lennart Poettering
On Wed, 13.08.14 13:31, Leonid Isaev (lis...@umail.iu.edu) wrote: Hi Lennart, Thanks for your help on this... On Wed, Aug 13, 2014 at 07:02:37PM +0200, Lennart Poettering wrote: [...] Hmm, there's currently no nice scheme really for services that may or may not fork. Maybe

Re: [systemd-devel] Missing forked processes in 'systemctl status'

2014-08-13 Thread Leonid Isaev
Hi, On Wed, Aug 13, 2014 at 07:45:28PM +0200, Lennart Poettering wrote: Well, maybe some script in the boot process invokes systemctl daemon-reload or so? Anything in the logs? None that I can find... Also, journalctl | grep -i reload returns nothing. But anyway, I can reproduce this by

Re: [systemd-devel] [PATCH] core: mount only 4 partition in mount_setup_early()

2014-08-13 Thread Lennart Poettering
On Wed, 06.08.14 21:53, Sangjung Woo (sangjung@samsung.com) wrote: systemd doesn't mount smackfs if systemd was compiled without Smack support. However, the number of mount point entry in mount_setup_early() (i.e. N_EARLY_MOUNT) is 5 since smackfs is included. N_EARLY_MOUNT should be 4

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-08-13 Thread Lennart Poettering
On Wed, 06.08.14 13:23, Stef Walter (st...@redhat.com) wrote: I've done initial work on adding polkit support to systemd1 DBus methods. You can see it here: https://github.com/stefwalter/systemd/commits/polkit-systemd1 Basic rules: * Read access for everyone * Methods that

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-08-13 Thread Lennart Poettering
On Wed, 06.08.14 13:23, Colin Guthrie (gm...@colin.guthr.ie) wrote: Stef Walter wrote on 06/08/14 12:23: I've done initial work on adding polkit support to systemd1 DBus methods. Hmmm, I thought this was deliberately not included as it meant a circular dep on polkit when talking to the

[systemd-devel] systemd-timesync fails

2014-08-13 Thread Daniel Buch
With current git i noticed systemd-timesyncd failed and complain like this, log attached below. aug 13 20:12:08 dbuch-laptop systemd[1]: Starting Network Time Synchronization... aug 13 20:12:08 dbuch-laptop systemd[1]: systemd-timesyncd.service: main process exited, code=exited, status=1/FAILURE

Re: [systemd-devel] Missing forked processes in 'systemctl status'

2014-08-13 Thread Lennart Poettering
On Wed, 13.08.14 14:03, Leonid Isaev (lis...@umail.iu.edu) wrote: Hi, On Wed, Aug 13, 2014 at 07:45:28PM +0200, Lennart Poettering wrote: Well, maybe some script in the boot process invokes systemctl daemon-reload or so? Anything in the logs? None that I can find... Also, journalctl |

Re: [systemd-devel] systemd-timesync fails

2014-08-13 Thread Lennart Poettering
On Wed, 13.08.14 20:35, Daniel Buch (boogiewasth...@gmail.com) wrote: With current git i noticed systemd-timesyncd failed and complain like this, log attached below. aug 13 20:12:08 dbuch-laptop systemd[1]: Starting Network Time Synchronization... aug 13 20:12:08 dbuch-laptop systemd[1]:

Re: [systemd-devel] [PATCH] Fix off-by-one error in Missed X kernel messages warning

2014-08-13 Thread Lennart Poettering
On Wed, 06.08.14 13:14, Eelco Dolstra (eelco.dols...@logicblox.com) wrote: On receiving a message, kernel_seqnum is set to serial + 1. So subtracting 1 will cause messages like Missed 0 kernel messages, which should be Missed 1 kernel messages. Ah! Thanks! Applied! Lennart -- Lennart

[systemd-devel] Output boot status, etc to LCD display

2014-08-13 Thread John Obaterspok
Hello, My QNAP NAS has a 16 character x 2 rows LCD display that I would like to send systemd boot status messages to and other critical messages (like --failed services after bootup). I have a script that I can use to set text on this LCD. Any ideas how I could accomplish this? --- john

Re: [systemd-devel] [PATCH] Fix compilation under clang/LLVM

2014-08-13 Thread Lennart Poettering
On Tue, 05.08.14 19:58, Dan McGee (d...@archlinux.org) wrote: Compilation is failing because we are doing something not allowed by the language spec, but OK by GCC extensions in our MAX() macro. src/resolve/resolved-manager.c:759:43: error: non-const static data member must be initialized

Re: [systemd-devel] systemd-timesync fails

2014-08-13 Thread Daniel Buch
Indeed, i run gnome and gnomes NetworkManager. I just tested the binary approach with LOG_LEVEL=debug (log attached below and it worked, also systemctl start systemd-timesyncd.service works. Added new server time1.google.com. Added new server time2.google.com. Added new server time3.google.com.

Re: [systemd-devel] Output boot status, etc to LCD display

2014-08-13 Thread Lennart Poettering
On Wed, 13.08.14 20:55, John Obaterspok (john.obaters...@gmail.com) wrote: Hello, My QNAP NAS has a 16 character x 2 rows LCD display that I would like to send systemd boot status messages to and other critical messages (like --failed services after bootup). I have a script that I can use

Re: [systemd-devel] systemd-timesync fails

2014-08-13 Thread Lennart Poettering
On Wed, 13.08.14 21:01, Daniel Buch (boogiewasth...@gmail.com) wrote: Indeed, i run gnome and gnomes NetworkManager. I just tested the binary approach with LOG_LEVEL=debug (log attached below and it worked, also systemctl start systemd-timesyncd.service works. I think I fixed it now in git.

Re: [systemd-devel] Output boot status, etc to LCD display

2014-08-13 Thread John Obaterspok
2014-08-13 21:02 GMT+02:00 Lennart Poettering lenn...@poettering.net: How do you access it? If it's just a TTY, then you could use journald.conf's TTYPath= with ForwardToConsole= and MaxLevelConsole= to accomplish that... The script does this: [$1 = row 1 or 2, $2 = text to set] stty -F

Re: [systemd-devel] systemd-journald doesn't follow max datagram length when forwarding messages to syslog

2014-08-13 Thread Umut Tezduyar Lindskog
On Wed, Aug 13, 2014 at 6:59 PM, Lennart Poettering lenn...@poettering.net wrote: On Sun, 10.08.14 21:07, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: The problem is due to sending socket's SO_SNDBUF limit. My guess at this point is the amount of messages you can queue to syslog socket is

Re: [systemd-devel] Mount unit using device symlink

2014-08-13 Thread Lennart Poettering
On Mon, 04.08.14 15:43, Patrick Hemmer (syst...@stormcloud9.net) wrote: I'm trying to mount a device using one of its symlinks, but systemd errors with Timed out waiting for device dev-block-ec2-ephemeral0.device The unit looks like: [Unit] After=ephemeral0-format.service

Re: [systemd-devel] Mount unit using device symlink

2014-08-13 Thread Lennart Poettering
On Mon, 04.08.14 15:43, Patrick Hemmer (syst...@stormcloud9.net) wrote: I'm trying to mount a device using one of its symlinks, but systemd errors with Timed out waiting for device dev-block-ec2-ephemeral0.device The unit looks like: [Unit] After=ephemeral0-format.service

Re: [systemd-devel] systemd-timesync fails

2014-08-13 Thread Daniel Buch
Cool, its fixed. 2014-08-13 21:08 GMT+02:00 Lennart Poettering lenn...@poettering.net: On Wed, 13.08.14 21:01, Daniel Buch (boogiewasth...@gmail.com) wrote: Indeed, i run gnome and gnomes NetworkManager. I just tested the binary approach with LOG_LEVEL=debug (log attached below and

Re: [systemd-devel] Output boot status, etc to LCD display

2014-08-13 Thread Lennart Poettering
On Wed, 13.08.14 21:16, John Obaterspok (john.obaters...@gmail.com) wrote: 2014-08-13 21:02 GMT+02:00 Lennart Poettering lenn...@poettering.net: How do you access it? If it's just a TTY, then you could use journald.conf's TTYPath= with ForwardToConsole= and MaxLevelConsole= to

Re: [systemd-devel] [PATCH] socket: introduce SELinuxLabeledNet option

2014-08-13 Thread Lennart Poettering
On Tue, 05.08.14 13:46, Michal Sekletar (msekl...@redhat.com) wrote: This makes possible to spawn service instances triggered by socket with MLS/MCS SELinux labels which are created based on information provided by connected peer. Implementation of label_get_socket_label derived from

Re: [systemd-devel] Output boot status, etc to LCD display

2014-08-13 Thread John Obaterspok
2014-08-13 21:26 GMT+02:00 Lennart Poettering lenn...@poettering.net: You could probably script something using socat's PTY transport. i.e. a script that uses socat to allocate a pty, then reads strings from it, and translates this to the format you need it in... Wouldn't that make it pretty

[systemd-devel] [PATCH] networkctl: color status dump without link name

2014-08-13 Thread Daniel Buch
Lets mimic colored operational state dump as if link name is appiled --- src/network/networkctl.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/network/networkctl.c b/src/network/networkctl.c index 731ad27..9c4c1b7 100644 --- a/src/network/networkctl.c +++

Re: [systemd-devel] [PATCH] networkctl: color status dump without link name

2014-08-13 Thread Tom Gundersen
Applied. Thanks! On Wed, Aug 13, 2014 at 10:02 PM, Daniel Buch boogiewasth...@gmail.com wrote: Lets mimic colored operational state dump as if link name is appiled --- src/network/networkctl.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git

[systemd-devel] [PATCH] util: allow strappenda to take any number of args

2014-08-13 Thread Dave Reisner
This makes strappenda3 redundant, so we remove its usage and definition. --- Cleaning out some old branches I had laying around, found this... src/dbus1-generator/dbus1-generator.c | 2 +- src/fstab-generator/fstab-generator.c | 2 +- src/getty-generator/getty-generator.c | 2 +-

Re: [systemd-devel] [PATCH] util: allow strappenda to take any number of args

2014-08-13 Thread Lennart Poettering
On Wed, 13.08.14 16:35, Dave Reisner (dreis...@archlinux.org) wrote: Looks good. The code is certainly not any more complicated than the current strapenda3(), so it sounds like something to apply. /* If the passed init is actually the same as the * systemd

Re: [systemd-devel] Output boot status, etc to LCD display

2014-08-13 Thread Lennart Poettering
On Wed, 13.08.14 21:50, John Obaterspok (john.obaters...@gmail.com) wrote: 2014-08-13 21:26 GMT+02:00 Lennart Poettering lenn...@poettering.net: You could probably script something using socat's PTY transport. i.e. a script that uses socat to allocate a pty, then reads strings from it,

Re: [systemd-devel] [PATCH] ldconfig: add configure option to disable

2014-08-13 Thread Lennart Poettering
On Tue, 05.08.14 14:56, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Tue, Aug 05, 2014 at 12:17:09PM +0200, Umut Tezduyar Lindskog wrote: --- Makefile.am| 16 configure.ac |5 + units/ldconfig.service |1 - 3 files

Re: [systemd-devel] [PATCH v3] timer: order OnCalendar units after timer-sync.target if DefaultDependencies=no

2014-08-13 Thread Lennart Poettering
On Mon, 04.08.14 22:15, Tobias Geerinckx-Rice (tobias.geerinckx.r...@gmail.com) wrote: Avoids triggering timers prematurely on systems with significantly inaccurate clocks, or some embedded platforms that lack one entirely. Looks great! Thanks! Applied! Lennart -- Lennart Poettering, Red

Re: [systemd-devel] Pairing udev's SYSTEMD_WANTS and systemd's templated units

2014-08-13 Thread Lennart Poettering
On Thu, 31.07.14 16:55, Ivan Shapovalov (intelfx...@gmail.com) wrote: Hello all, I'm trying to start from an udev rule a templated systemd unit, whose instance should be a properly escaped device node path (so that %i.device would represent an existing unit). Which udev specifier should I

Re: [systemd-devel] [PATCH] resolved: re-add support for getting local domain from DHCP

2014-08-13 Thread Lennart Poettering
On Mon, 04.08.14 18:33, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Does this make any sense? Opinions? Yes, totally makes sense. But the name UseDomains is confusing though. IIUC, we have two separate concepts: 1. using a specific interface (and a set of DNS resolvers tied to

Re: [systemd-devel] [PATCH] resolved: re-add support for getting local domain from DHCP

2014-08-13 Thread Lennart Poettering
On Mon, 04.08.14 10:05, Michael Marineau (michael.marin...@coreos.com) wrote: Patch looks pretty good, though I'd really prefer if we could do the UseDomain= thing as discussed in the other mail, and not propagate DHCP-supplied domain names unless explicitly requested. This would means we

Re: [systemd-devel] [PATCH 1/3] socket: Add Support for TCP keep alive variables

2014-08-13 Thread Lennart Poettering
On Tue, 29.07.14 23:10, Susant Sahani (sus...@redhat.com) wrote: The tcp keep alive variables now can be configured via conf parameter. Follwing variables are now supported by this patch. tcp_keepalive_intvl: The number of seconds between TCP keep-alive probes tcp_keepalive_probes: The

Re: [systemd-devel] [PATCH] util: allow strappenda to take any number of args

2014-08-13 Thread Dave Reisner
On Thu, Aug 14, 2014 at 01:28:15AM +0200, Lennart Poettering wrote: On Wed, 13.08.14 16:35, Dave Reisner (dreis...@archlinux.org) wrote: Looks good. The code is certainly not any more complicated than the current strapenda3(), so it sounds like something to apply. /* If

Re: [systemd-devel] [PATCH 2/3] socket: Add support for TCP Fast Open

2014-08-13 Thread Lennart Poettering
On Tue, 29.07.14 23:10, Susant Sahani (sus...@redhat.com) wrote: Looks good. Wanted to apply. But this requires your previous patch, so please rebase on a new version of that! Thanks! TCP Fast Open (TFO) speeds up the opening of successive TCP)connections between two endpoints.It works by

Re: [systemd-devel] [PATCH 3/3] socket: Add support for TCP defer accept

2014-08-13 Thread Lennart Poettering
On Tue, 29.07.14 23:10, Susant Sahani (sus...@redhat.com) wrote: +if(s-defer_accept) +fprintf(f, +%sDeferAccept: %lo\n, +prefix, s-defer_accept / USEC_PER_SEC); + As in the other patch, please use format_timespan() for

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-13 Thread Lennart Poettering
On Mon, 28.07.14 14:06, Ivan Shapovalov (intelfx...@gmail.com) wrote: Hello all, I'm trying to implement resuming from hibernation with systemd-based initramfs, i. e. in terms of systemd unit files. That is, there should be a unit which waits for the resume device and writes its

Re: [systemd-devel] [PATCH 2/2] socket: Introduce SCTP support

2014-08-13 Thread Lennart Poettering
On Mon, 04.08.14 21:27, Susant Sahani (sus...@redhat.com) wrote: On 08/04/2014 06:26 PM, Lennart Poettering wrote: On Mon, 28.07.14 12:18, Susant Sahani (sus...@redhat.com) wrote: This patch adds SCTP protcol support for socket activation. SCTP socket can be configured via the conf

Re: [systemd-devel] [PATCH 1/2] socket: add support for tcp nagle

2014-08-13 Thread Lennart Poettering
On Mon, 28.07.14 12:18, Susant Sahani (sus...@redhat.com) wrote: This patch adds support for TCP TCP_NODELAY socket option. This can be configured via NoDelay conf parameter.TCP Nagle's algorithm works by combining a number of small outgoing messages, and sending them all at once. This

Re: [systemd-devel] networkd Promiscuous mode

2014-08-13 Thread Lennart Poettering
On Fri, 25.07.14 16:29, Thomas Suckow (thomas.suc...@pnnl.gov) wrote: There seems to be no way in systemd-networkd to put a link in Promiscuous mode. This is needed to make macvlan work correctly (Otherwise it receives no traffic with its mac address as the destination). If I am not mistaken

Re: [systemd-devel] Networkd dhcp hostname override

2014-08-13 Thread Lennart Poettering
On Thu, 24.07.14 09:53, Thomas Suckow (thomas.suc...@pnnl.gov) wrote: Now that networkd can send the systems hostname to the dhcp server, I would find it useful to have an option to override the hostname that gets sent. In my use case, I would like to setup a number of macvlans with

Re: [systemd-devel] networkd Promiscuous mode

2014-08-13 Thread Marcel Holtmann
Hi Lennart, There seems to be no way in systemd-networkd to put a link in Promiscuous mode. This is needed to make macvlan work correctly (Otherwise it receives no traffic with its mac address as the destination). If I am not mistaken this could be a boolean in *.link files. Sounds

Re: [systemd-devel] Networkd dhcp hostname override

2014-08-13 Thread Marcel Holtmann
Hi Lennart, Now that networkd can send the systems hostname to the dhcp server, I would find it useful to have an option to override the hostname that gets sent. In my use case, I would like to setup a number of macvlans with different hostnames. Something as simple as [DHCP]

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-13 Thread Ivan Shapovalov
On Thursday 14 August 2014 at 03:10:30, Lennart Poettering wrote: On Mon, 28.07.14 14:06, Ivan Shapovalov (intelfx...@gmail.com) wrote: Hello all, I'm trying to implement resuming from hibernation with systemd-based initramfs, i. e. in terms of systemd unit files. That is,