Re: [systemd-devel] mdns support to networkd

2014-06-24 Thread Vasiliy Tolstov
2014-06-23 23:27 GMT+04:00 Simon McVittie simon.mcvit...@collabora.co.uk: It sounds as though you have a misconfigured nss_mdns: you should reconfigure nsswitch.conf to have mdns4_minimal [NOTFOUND=return], or maybe mdns_minimal [NOTFOUND=return], but not mdns4 or mdns. New installations of

Re: [systemd-devel] mdns support to networkd

2014-06-24 Thread Vasiliy Tolstov
2014-06-23 23:12 GMT+04:00 Reindl Harald h.rei...@thelounge.net: why don't you just setup PTR records? not having so brings a lot of implications, not only avahi as example sane configured ssh-daemons won't allow to login Because mdns order before dns. If i ping google.com ipv6 address it

Re: [systemd-devel] systemd-213: regression with zram

2014-06-24 Thread Minchan Kim
Hello, Sorry for the late response. On Tue, Jun 10, 2014 at 12:38:50AM +0600, Alexander E. Patrakov wrote: [maintainers of zram CC:ed, in order to alert them of this incompatibility with a setup published by Gentoo and possibly picked up by others] [Pacho Ramos CC:ed as a person who asked

Re: [systemd-devel] systemd-213: regression with zram

2014-06-24 Thread Alexander E. Patrakov
24.06.2014 12:22, Minchan Kim wrote: Hello, Sorry for the late response. Better late than never. If I parse your problem correctly, you meant that changing disksize is failed while someone opens /dev/zram0? I tried test which opens /dev/zram0 with O_RDWR and sleep forever and then echo

[systemd-devel] systemctl -H/--host does not work on hosts with systemd 213 and newer

2014-06-24 Thread Alexander Vladimirov
Seems like remote command execution was broken somewhere around systemd 213 Remote access to systemd 212 host: [root@host1 ~]# systemctl --version systemd 212 +PAM -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ +SECCOMP -APPARMOR $ systemctl -H idkfa@host1 status Enter passphrase

Re: [systemd-devel] Systemd stops

2014-06-24 Thread Jay D Bhatt
Hi Colin, I am using ttymxc3 as I have LVDS with the board, so, I think tty1 should not conflict as I will be using console=ttymxc3? Also, I think there is some problem with systemd-logind.service it doesn't ask for login or password nor does it display the shell prompt, because after

Re: [systemd-devel] systemd-213: regression with zram

2014-06-24 Thread Minchan Kim
On Tue, Jun 24, 2014 at 12:34:50PM +0600, Alexander E. Patrakov wrote: 24.06.2014 12:22, Minchan Kim wrote: Hello, Sorry for the late response. Better late than never. If I parse your problem correctly, you meant that changing disksize is failed while someone opens /dev/zram0? I

Re: [systemd-devel] systemd-213: regression with zram

2014-06-24 Thread Minchan Kim
On Tue, Jun 24, 2014 at 07:21:12AM +, Minchan Kim wrote: On Tue, Jun 24, 2014 at 12:34:50PM +0600, Alexander E. Patrakov wrote: 24.06.2014 12:22, Minchan Kim wrote: Hello, Sorry for the late response. Better late than never. If I parse your problem correctly, you meant

Re: [systemd-devel] Systemd stops

2014-06-24 Thread Colin Guthrie
Hi, 'Twas brillig, and Jay D Bhatt at 24/06/14 07:50 did gyre and gimble: I am using ttymxc3 as I have LVDS with the board, so, I think tty1 should not conflict as I will be using console=ttymxc3? I'm not sure that console= affects actual login getty's. Unless there is some new generator that

Re: [systemd-devel] no fsck at boot

2014-06-24 Thread Colin Guthrie
'Twas brillig, and Chris Murphy at 23/06/14 23:15 did gyre and gimble: Yes this is a known problem. We should fix it, but it's not obvious to fix, since this fsck is actually run by the initrd, not the host system. There's currently no nice way to pass information about whether fsck for the

[systemd-devel] udev: unable to flock(/dev/sda), skipping event

2014-06-24 Thread Robert Milasan
Hi, we are getting this error on one of our machines. The machine is a xen host running systemd/udev 210. Does anybody know why are we getting this errors: Jun 24 11:15:08 linux systemd-udevd[240]: seq 1232 running Jun 24 11:15:08 linux systemd-udevd[240]: device 0x7d6930 has devpath '/devices/

Re: [systemd-devel] udev-212 and up on Sparc v8

2014-06-24 Thread Lennart Poettering
On Mon, 23.06.14 11:59, Chase Rayfield (cusbr...@yahoo.com) wrote: I haven't inquired directly with the GCC mailing list. But it seems thier current stance is to implement the builtins for architectures that have the instructions to support them and require the architectures that do not to

Re: [systemd-devel] udev: unable to flock(/dev/sda), skipping event

2014-06-24 Thread Robert Milasan
On Tue, 24 Jun 2014 11:38:17 +0200 Robert Milasan rmila...@suse.com wrote: Hi, we are getting this error on one of our machines. The machine is a xen host running systemd/udev 210. Does anybody know why are we getting this errors: Jun 24 11:15:08 linux systemd-udevd[240]: seq 1232 running

[systemd-devel] networkd config for dummy0 interface

2014-06-24 Thread Vasiliy Tolstov
Hi. I have very strange task: 1) Nedd modprobe dummy 2) Assign specific mac address to it 3) Bring up it 4) Assign specific address to it How can i do that via networkd ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru ___

Re: [systemd-devel] udev: unable to flock(/dev/sda), skipping event

2014-06-24 Thread Kay Sievers
On Tue, Jun 24, 2014 at 11:58 AM, Robert Milasan rmila...@suse.com wrote: On Tue, 24 Jun 2014 11:38:17 +0200 Robert Milasan rmila...@suse.com wrote: Hi, we are getting this error on one of our machines. The machine is a xen host running systemd/udev 210. First, systemd 210 has no locking

Re: [systemd-devel] networkd config for dummy0 interface

2014-06-24 Thread Tom Gundersen
On Tue, Jun 24, 2014 at 12:14 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: Hi. I have very strange task: Not tested, but I would start with trying: 1) Nedd modprobe dummy Use modules-load.d 2) Assign specific mac address to it Possibly use .link files, or check if it is possible to

Re: [systemd-devel] udev: unable to flock(/dev/sda), skipping event

2014-06-24 Thread Robert Milasan
On Tue, 24 Jun 2014 12:22:35 +0200 Kay Sievers k...@vrfy.org wrote: On Tue, Jun 24, 2014 at 11:58 AM, Robert Milasan rmila...@suse.com wrote: On Tue, 24 Jun 2014 11:38:17 +0200 Robert Milasan rmila...@suse.com wrote: Hi, we are getting this error on one of our machines. The machine is

Re: [systemd-devel] udev: unable to flock(/dev/sda), skipping event

2014-06-24 Thread Kay Sievers
On Tue, Jun 24, 2014 at 12:41 PM, Robert Milasan rmila...@suse.com wrote: On Tue, 24 Jun 2014 12:22:35 +0200 Kay Sievers k...@vrfy.org wrote: On Tue, Jun 24, 2014 at 11:58 AM, Robert Milasan rmila...@suse.com wrote: On Tue, 24 Jun 2014 11:38:17 +0200 Robert Milasan rmila...@suse.com

Re: [systemd-devel] [PATCH 1/2] dhcp-network: add check for DHCP.chaddr

2014-06-24 Thread Michal Sekletar
On Thu, Jun 19, 2014 at 12:02:39PM -0500, Dan Williams wrote: On Thu, 2014-06-19 at 18:59 +0200, Michal Sekletar wrote: Check that received DHCP packets actually include our MAC address in chaddr field. BPF interpreter has 32 bit wide registers but MAC address is 48 bits long so we have to

Re: [systemd-devel] mdns support to networkd

2014-06-24 Thread Simon McVittie
On 24/06/14 07:15, Vasiliy Tolstov wrote: _minimal have bugs and very ugly code. For example it send multicast only via first interface that up. Are you confusing libnss_mdns*_minimal.so (which refuse to resolve names outside .local and addresses outside the link-local range) with ./configure

Re: [systemd-devel] udev: unable to flock(/dev/sda), skipping event

2014-06-24 Thread Kay Sievers
On Tue, Jun 24, 2014 at 12:46 PM, Kay Sievers k...@vrfy.org wrote: On Tue, Jun 24, 2014 at 12:41 PM, Robert Milasan rmila...@suse.com wrote: On Tue, 24 Jun 2014 12:22:35 +0200 Kay Sievers k...@vrfy.org wrote: On Tue, Jun 24, 2014 at 11:58 AM, Robert Milasan rmila...@suse.com wrote: On Tue,

Re: [systemd-devel] mdns support to networkd

2014-06-24 Thread Lennart Poettering
On Mon, 23.06.14 23:09, Vasiliy Tolstov (v.tols...@selfip.ru) wrote: 2014-06-23 16:13 GMT+04:00 Lennart Poettering lenn...@poettering.net: Both. mDNS is a very much a peer-to-peer system, hence all participants tend to implement both sides. I actually intend to make this useful enough

Re: [systemd-devel] [PATCH] [RFCv7] Optionally save core dumps as plain files

2014-06-24 Thread Lennart Poettering
On Mon, 23.06.14 14:29, Dave Reisner (d...@falconindy.com) wrote: Anyway, I hope this makes sense. With these changes coredumpctl actually is now really useful and just works. I have thus dropped the systemd- prefix. We should probably start advertising it more. Are there plans to

Re: [systemd-devel] Systemd stops

2014-06-24 Thread Lennart Poettering
On Mon, 23.06.14 21:53, Tom Hirst (tom.hi...@ipe-systems.co.uk) wrote: I think I came across this issue the other day (also booting on an arm board, stuck at kernel 3.1), I think that it may be the change to the xattr support in 214 means systemd can no longer be booted if you don't have

Re: [systemd-devel] [PATCH 1/2] dhcp-network: add check for DHCP.chaddr

2014-06-24 Thread Tom Gundersen
On Tue, Jun 24, 2014 at 12:58 PM, Michal Sekletar msekl...@redhat.com wrote: On Thu, Jun 19, 2014 at 12:02:39PM -0500, Dan Williams wrote: On Thu, 2014-06-19 at 18:59 +0200, Michal Sekletar wrote: Check that received DHCP packets actually include our MAC address in chaddr field. BPF

Re: [systemd-devel] Systemd stops

2014-06-24 Thread Tom Hirst
I think I came across this issue the other day (also booting on an arm board, stuck at kernel 3.1), I think that it may be the change to the xattr support in 214 means systemd can no longer be booted if you don't have cgroups xattr support. 213 seems fine, but I haven't tried to bisect

Re: [systemd-devel] [PATCH 07/12] policy: use the db-entries_hash to access the policy db entries

2014-06-24 Thread Djalal Harouni
Hi, On Fri, Jun 20, 2014 at 07:12:13PM +0100, Djalal Harouni wrote: On Fri, Jun 20, 2014 at 08:01:04PM +0200, Daniel Mack wrote: On 06/20/2014 07:28 PM, Daniel Mack wrote: On 06/20/2014 06:50 PM, Djalal Harouni wrote: Use the db-entries_hash to access the policy db entries instead of the

[systemd-devel] [PATCH] networkd: Introduce tuntap device

2014-06-24 Thread Susant Sahani
This patch introduces tuntap support to networkd. Example conf file : tuntap.netdev [NetDev] Name=tuntap-test Kind=tuntap [TUNTAP] Mode=tap OneQueue=true MultiQueue=true PacketInfo=true Added: 1. file networkd-tuntap.c 2. enum TunTapKind 3. NETDEV_KIND_TUNTAP 4. TUNTAP Section to

Re: [systemd-devel] [PATCH] networkd: Introduce tuntap device

2014-06-24 Thread Ronny Chevalier
2014-06-24 18:25 GMT+02:00 Susant Sahani sus...@redhat.com: This patch introduces tuntap support to networkd. Example conf file : tuntap.netdev [NetDev] Name=tuntap-test Kind=tuntap [TUNTAP] Mode=tap OneQueue=true MultiQueue=true PacketInfo=true Added: 1. file networkd-tuntap.c

[systemd-devel] [PATCH] sd-dhcp6-client: use %m instead of strerror(errno)

2014-06-24 Thread Ronny Chevalier
--- src/libsystemd-network/sd-dhcp6-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsystemd-network/sd-dhcp6-client.c b/src/libsystemd-network/sd-dhcp6-client.c index 97a2ba7..ab4d9e8 100644 --- a/src/libsystemd-network/sd-dhcp6-client.c +++

[systemd-devel] [PATCH] use more _cleanup_ macro

2014-06-24 Thread Ronny Chevalier
--- src/core/automount.c| 3 +-- src/core/execute.c | 20 ++-- src/core/killall.c | 4 +--- src/core/umount.c | 16 src/shared/conf-files.c | 5 + src/shared/fdset.c | 4 +--- src/shared/path-util.c | 4 +--- src/shared/util.c

Re: [systemd-devel] [PATCH] networkd: Introduce tuntap device

2014-06-24 Thread Tom Gundersen
Looks great, just minor comments below. On Tue, Jun 24, 2014 at 6:25 PM, Susant Sahani sus...@redhat.com wrote: This patch introduces tuntap support to networkd. Example conf file : tuntap.netdev [NetDev] Name=tuntap-test Kind=tuntap [TUNTAP] Hm, maybe call this TunTap instead?

Re: [systemd-devel] no fsck at boot

2014-06-24 Thread Chris Murphy
On Jun 24, 2014, at 2:12 AM, Colin Guthrie gm...@colin.guthr.ie wrote: Well, the initramfs should mount the rootfs readonly, and then it can read it's /etc/fstab (and the /forcefsck file) and determine if any further action should be taken before doing any kind of pivotroot type stuff to

Re: [systemd-devel] [PATCH] use more _cleanup_ macro

2014-06-24 Thread Tom Gundersen
Applied both. Thanks! Tom On Tue, Jun 24, 2014 at 7:00 PM, Ronny Chevalier chevalier.ro...@gmail.com wrote: --- src/core/automount.c| 3 +-- src/core/execute.c | 20 ++-- src/core/killall.c | 4 +--- src/core/umount.c | 16

Re: [systemd-devel] [PATCH] networkd: Introduce tuntap device

2014-06-24 Thread Marcel Holtmann
Hi Tom, This patch introduces tuntap support to networkd. Example conf file : tuntap.netdev [NetDev] Name=tuntap-test Kind=tuntap [TUNTAP] Hm, maybe call this TunTap instead? Mode=tap OneQueue=true MultiQueue=true PacketInfo=true I wonder if it might be better separate in

Re: [systemd-devel] [PATCH] networkd: Introduce tuntap device

2014-06-24 Thread Tom Gundersen
On Tue, Jun 24, 2014 at 7:09 PM, Marcel Holtmann mar...@holtmann.org wrote: Hi Tom, This patch introduces tuntap support to networkd. Example conf file : tuntap.netdev [NetDev] Name=tuntap-test Kind=tuntap [TUNTAP] Hm, maybe call this TunTap instead? Mode=tap OneQueue=true

Re: [systemd-devel] [PATCH] networkd: Introduce tuntap device

2014-06-24 Thread Susant Sahani
On 06/24/2014 10:39 PM, Marcel Holtmann wrote: Hi Tom, This patch introduces tuntap support to networkd. Example conf file : tuntap.netdev [NetDev] Name=tuntap-test Kind=tuntap [TUNTAP] Hm, maybe call this TunTap instead? Mode=tap OneQueue=true MultiQueue=true PacketInfo=true I

Re: [systemd-devel] [PATCH v4 1/2] Move handling of sysv initscripts to a generator

2014-06-24 Thread Alexey Shabalin
2014-06-07 3:01 GMT+04:00 Thomas H.P. Andersen pho...@gmail.com: On Fri, Jun 6, 2014 at 4:09 PM, Lennart Poettering lenn...@poettering.net wrote: On Sat, 31.05.14 23:29, Thomas H.P. Andersen (pho...@gmail.com) wrote: + +if (s-sysv_start_priority 0) +fprintf(f,

Re: [systemd-devel] [PATCH] networkd: Introduce tuntap device

2014-06-24 Thread Susant Sahani
On 06/24/2014 10:31 PM, Tom Gundersen wrote: Looks great, just minor comments below. On Tue, Jun 24, 2014 at 6:25 PM, Susant Sahani sus...@redhat.com wrote: This patch introduces tuntap support to networkd. Example conf file : tuntap.netdev [NetDev] Name=tuntap-test Kind=tuntap [TUNTAP]

Re: [systemd-devel] [PATCH] networkd: Introduce tuntap device

2014-06-24 Thread Susant Sahani
On 06/24/2014 10:05 PM, Ronny Chevalier wrote: 2014-06-24 18:25 GMT+02:00 Susant Sahani sus...@redhat.com: This patch introduces tuntap support to networkd. Example conf file : tuntap.netdev [NetDev] Name=tuntap-test Kind=tuntap [TUNTAP] Mode=tap OneQueue=true MultiQueue=true

[systemd-devel] [PATCH] tests: add test-compress

2014-06-24 Thread Ronny Chevalier
--- .gitignore | 1 + Makefile.am | 13 src/journal/test-compress.c | 76 + 3 files changed, 90 insertions(+) create mode 100644 src/journal/test-compress.c diff --git a/.gitignore b/.gitignore index

Re: [systemd-devel] [PATCH v4 1/2] Move handling of sysv initscripts to a generator

2014-06-24 Thread Thomas H.P. Andersen
On Tue, Jun 24, 2014 at 7:56 PM, Alexey Shabalin a.shaba...@gmail.com wrote: 2014-06-07 3:01 GMT+04:00 Thomas H.P. Andersen pho...@gmail.com: On Fri, Jun 6, 2014 at 4:09 PM, Lennart Poettering lenn...@poettering.net wrote: On Sat, 31.05.14 23:29, Thomas H.P. Andersen (pho...@gmail.com) wrote:

Re: [systemd-devel] [PATCH] unit: make unit can start without instance

2014-06-24 Thread Zbigniew Jędrzejewski-Szmek
On Wed, May 28, 2014 at 12:39:17AM +0900, WaLyong Cho wrote: I'm not sure this could be patch for below TODO. * enabling an instance unit creates a pointless link, and the unit will be started with getty@getty.service: $ systemctl enable getty@.service ln -s

Re: [systemd-devel] [PATCH] tests: add test-compress

2014-06-24 Thread Tom Gundersen
Applied. Thanks! -t On Tue, Jun 24, 2014 at 8:42 PM, Ronny Chevalier chevalier.ro...@gmail.com wrote: --- .gitignore | 1 + Makefile.am | 13 src/journal/test-compress.c | 76 + 3 files changed, 90

Re: [systemd-devel] systemd-213: regression with zram

2014-06-24 Thread Minchan Kim
Hello Alexander, On Tue, Jun 24, 2014 at 07:49:58AM +, Minchan Kim wrote: On Tue, Jun 24, 2014 at 07:21:12AM +, Minchan Kim wrote: On Tue, Jun 24, 2014 at 12:34:50PM +0600, Alexander E. Patrakov wrote: 24.06.2014 12:22, Minchan Kim wrote: Hello, Sorry for the late

Re: [systemd-devel] no fsck at boot

2014-06-24 Thread Andrey Borzenkov
В Tue, 24 Jun 2014 11:03:06 -0600 Chris Murphy li...@colorremedies.com пишет: On Jun 24, 2014, at 2:12 AM, Colin Guthrie gm...@colin.guthr.ie wrote: Well, the initramfs should mount the rootfs readonly, and then it can read it's /etc/fstab (and the /forcefsck file) and determine if any

Re: [systemd-devel] systemd-213: regression with zram

2014-06-24 Thread Alexander E. Patrakov
25.06.2014 06:36, Minchan Kim wrote: Could you test this patch? It passed my test. Thanks! From 4ab4931c3fa7e6527e3a849d5e4c4f727143e66c Mon Sep 17 00:00:00 2001 From: Minchan Kim minc...@kernel.org Date: Wed, 25 Jun 2014 09:20:24 +0900 Subject: [PATCH] zram: revalidate disk after capacity

[systemd-devel] [RFC/PATCH 2/3] journal/compress: add stream compression function

2014-06-24 Thread Zbigniew Jędrzejewski-Szmek
--- src/journal/compress.c | 83 +++-- src/journal/compress.h | 3 ++ src/journal/test-compress.c | 23 + src/shared/copy.c | 4 +-- 4 files changed, 107 insertions(+), 6 deletions(-) diff --git a/src/journal/compress.c

[systemd-devel] [RFC/PATCH 3/3] coredump: compress core files

2014-06-24 Thread Zbigniew Jędrzejewski-Szmek
Hi, a POC patch to compress coredumps after they are written. In my simple tests, this brings huge savings, because the compressed coredump can compress to ~5%. Unfortunately the core is first written uncompressed, then compressed by reading from disk and writing to the output file. This is ugly

[systemd-devel] [PATCH 1/3] journal/compress: simplify compress_blob

2014-06-24 Thread Zbigniew Jędrzejewski-Szmek
--- src/journal/compress.c | 28 +++- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/src/journal/compress.c b/src/journal/compress.c index a4427be7..cafe8f4f 100644 --- a/src/journal/compress.c +++ b/src/journal/compress.c @@ -28,9 +28,8 @@ #include

Re: [systemd-devel] [PATCH] unit: make unit can start without instance

2014-06-24 Thread WaLyong Cho
On 06/25/2014 06:22 AM, Zbigniew Jędrzejewski-Szmek wrote: On Wed, May 28, 2014 at 12:39:17AM +0900, WaLyong Cho wrote: I'm not sure this could be patch for below TODO. * enabling an instance unit creates a pointless link, and the unit will be started with getty@getty.service: $

Re: [systemd-devel] [PATCH] unit: make unit can start without instance

2014-06-24 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jun 25, 2014 at 02:29:20PM +0900, WaLyong Cho wrote: On 06/25/2014 06:22 AM, Zbigniew Jędrzejewski-Szmek wrote: On Wed, May 28, 2014 at 12:39:17AM +0900, WaLyong Cho wrote: I'm not sure this could be patch for below TODO. * enabling an instance unit creates a pointless link, and