[systemd-devel] [PATCH] Report aa_change_onexec error code

2014-10-11 Thread misc
From: Michael Scherer m...@zarb.org Since aa_change_onexec return the error code in errno, and return -1, the current code do not give any useful information when something fail. This make apparmor easier to debug, as seen on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760526 ---

Re: [systemd-devel] [question] networkd: Any support for hooks?

2014-10-11 Thread Tom Gundersen
On Fri, Oct 10, 2014 at 11:40 PM, Dale R. Worley wor...@alum.mit.edu wrote: From: Tom Gundersen t...@jklm.no What we do, however, is to expose the configuration state using the sd-network C API, which external programs can watch and react on (see how timesyncd and resolved currently works).

[systemd-devel] [PATCH] systemctl: add edit verb

2014-10-11 Thread Ronny Chevalier
It helps editing units by either creating a drop-in file, like /etc/systemd/system/my.service.d/amendments.conf, or by copying the original unit from /usr/lib/systemd/ to /etc/systemd/ if the --full option is specified. Then it invokes the $SYSTEMD_EDITOR or $EDITOR or vim to the related files and

[systemd-devel] [PATCH] shared: remove unused functions

2014-10-11 Thread Ronny Chevalier
- mkdir_p_prefix: It has never been used - mkdir_parents_prefix_label: Unused since 1434ae6fd49f8377b0ddbd4c675736e0d3226ea6 --- src/shared/mkdir-label.c | 4 src/shared/mkdir.c | 4 src/shared/mkdir.h | 2 -- 3 files changed, 10 deletions(-) diff --git

[systemd-devel] [PATCH] avoid duplication of TIME_T_MAX

2014-10-11 Thread Ronny Chevalier
--- src/core/manager.c | 3 +-- src/shared/time-util.h | 2 ++ src/timesync/timesyncd-manager.c | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/manager.c b/src/core/manager.c index e0c1cd1..dfd8cda 100644 --- a/src/core/manager.c +++

Re: [systemd-devel] [PATCH] systemctl: add edit verb

2014-10-11 Thread Daniel Buch
Nice, I was in the process of implementing this. Looks good to me. But I think it would be better to use vi instead of vim if no editor is set. Vim is not installed on every system as default but vi is most likely. Den 11/10/2014 18.37 skrev Ronny Chevalier chevalier.ro...@gmail.com: It helps

Re: [systemd-devel] systemd-nspawn should not require getent initgroups

2014-10-11 Thread Lennart Poettering
On Sun, 14.09.14 13:44, Marco d'Itri (m...@linux.it) wrote: It was implemented in glibc 2.15, so it is not available in Debian stable and RHEL 6 at least, and systemd-nspawn --user does not work. I think I mentioned this elsewhere, but I'd be happy to merge a patch that downgrades failure of

Re: [systemd-devel] [question] networkd: Any support for hooks?

2014-10-11 Thread Lennart Poettering
On Fri, 10.10.14 17:40, Dale R. Worley (wor...@alum.mit.edu) wrote: From: Tom Gundersen t...@jklm.no What we do, however, is to expose the configuration state using the sd-network C API, which external programs can watch and react on (see how timesyncd and resolved currently works).

Re: [systemd-devel] Possible to add bind mounts without rebooting container?

2014-10-11 Thread Lennart Poettering
On Mon, 15.09.14 11:16, Leho Kraav (l...@kraav.com) wrote: We're currently running systemd-212. man doesn't seem to cover this. --bind=, --bind-ro= Bind mount a file or directory from the host into the container. Either takes a path argument -- in which case the specified

[systemd-devel] [PATCH] Set $NOTIFY_SOCKET for control procs if NotifyAccess=all

2014-10-11 Thread Brandon L Black
--- TODO | 2 -- src/core/service.c | 13 - 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/TODO b/TODO index 69ed60e..05a61a3 100644 --- a/TODO +++ b/TODO @@ -167,8 +167,6 @@ Features: * journalctl: add the ability to look for the most recent process

Re: [systemd-devel] Systemd-nspawn: Cannot create tun device in container

2014-10-11 Thread James Lott
Everything works great now, thanks for all of your help! On Oct 10, 2014, at 2:13 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 09.10.14 23:53, James Lott (ja...@lottspot.com) wrote: I am using a setup which retains the CAP_NET_ADMIN capability inside the container and

[systemd-devel] [PATCH 3/4] man: use example instead of multiple refsect1 for examples

2014-10-11 Thread Ronny Chevalier
--- man/systemd-activate.xml | 19 ++-- man/systemd-nspawn.xml | 75 2 files changed, 47 insertions(+), 47 deletions(-) diff --git a/man/systemd-activate.xml b/man/systemd-activate.xml index 717f5c0..cde4263 100644 ---

[systemd-devel] [PATCH 2/4] man: add missing commas

2014-10-11 Thread Ronny Chevalier
--- man/sd_journal_get_catalog.xml | 2 +- man/sysctl.d.xml| 2 +- man/systemd-bus-pro...@.service.xml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/man/sd_journal_get_catalog.xml b/man/sd_journal_get_catalog.xml index 485bbba..c38a645 100644

[systemd-devel] [PATCH 1/4] man: add examples for coredumpctl

2014-10-11 Thread Ronny Chevalier
Add examples to clarify how to use coredumpctl See https://bugs.freedesktop.org/show_bug.cgi?id=83437 --- man/coredumpctl.xml | 28 1 file changed, 28 insertions(+) diff --git a/man/coredumpctl.xml b/man/coredumpctl.xml index a7b8793..03552b7 100644 ---

[systemd-devel] [PATCH 4/4] man: fix project reference for archlinux

2014-10-11 Thread Ronny Chevalier
--- man/systemd-nspawn.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index 22f2df4..c02aa88 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -106,7 +106,7 @@ citerefentry

Re: [systemd-devel] Systemd-networkd -- Cannot acquire DHCP lease on bridge interface

2014-10-11 Thread Tom Gundersen
On Fri, Sep 26, 2014 at 4:52 AM, Leonid Isaev lis...@umail.iu.edu wrote: Hi, On Thu, Sep 25, 2014 at 04:56:55PM -0700, James Lott wrote: Actually, the reason I am using dhcpcd fro mthe command line is as a debugging measure, because I originally setup a .network file for this interface to

[systemd-devel] [PATCH] Set $NOTIFY_SOCKET for control procs if NotifyAccess=all

2014-10-11 Thread Brandon L Black
--- TODO | 2 -- src/core/service.c | 11 +-- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/TODO b/TODO index 69ed60e..05a61a3 100644 --- a/TODO +++ b/TODO @@ -167,8 +167,6 @@ Features: * journalctl: add the ability to look for the most recent process of

[systemd-devel] Which distro is the reference Linux for testing systemd?

2014-10-11 Thread 황재영
Hello, guysI'm working enhancing systemd on v216 and almost finished the work.So I wanna test in reference Linux distro, Which is reference distro?Best regardsJae-young___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] Which distro is the reference Linux for testing systemd?

2014-10-11 Thread Reindl Harald
Am 12.10.2014 um 03:37 schrieb: I'm working enhancing systemd on v216 and almost finished the work. So I wanna test in reference Linux distro, Which is reference distro? Fedora Rawhide / F21 Alpha signature.asc Description: OpenPGP digital signature