Re: [systemd-devel] [PATCH] systemctl, man: option to list units by state

2013-05-17 Thread Maciej Wereski
Hello, 16.05.2013 at 12:02 m.were...@partner.samsung.com wrote: From: Maciej Wereski m.were...@partner.samsung.com This allows to show only units with specified SUB or ACTIVE state. I've found 2 typos. I'll upload patch v2 soon. -- Maciej Wereski Samsung RD Institute Poland Samsung

[systemd-devel] [PATCHv2] systemctl, man: option to list units by state

2013-05-17 Thread m . wereski
From: Maciej Wereski m.were...@partner.samsung.com This allows to show only units with specified SUB or ACTIVE state. Signed-off-by: Maciej Wereski m.were...@partner.samsung.com --- changes since v1: - remove additional space - add missing pipe in or man/systemctl.xml | 14

[systemd-devel] Trusting systemd vs. trusting daemons

2013-05-17 Thread Aaron Faanes
Hello! First of all, I love systemd. It's a great tool to use and it's been a pleasure to work with. Anyway, I was writing up a socket-activated systemd service for a public read-only rsync server. When the rsync daemon serves a share, it chroots into the share's directory by default. Of course,

[systemd-devel] [PATCH] systemctl: add command default-target

2013-05-17 Thread Vaclav Pavlin
From: Václav Pavlín vpav...@redhat.com systemctl default-target NAME will set the default target. If the NAME is not specified, the default target is printed out. --- man/systemctl.xml | 11 ++ shell-completion/bash/systemctl | 4 ++ src/core/dbus-manager.c | 15

[systemd-devel] [PATCH 1/2] Fix --no-ask-password

2013-05-17 Thread Jan Janssen
--- src/hostname/hostnamectl.c | 6 +++--- src/locale/localectl.c | 12 src/timedate/timedatectl.c | 14 +- 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/src/hostname/hostnamectl.c b/src/hostname/hostnamectl.c index 064581a..7c45ce5 100644 ---

[systemd-devel] [PATCH 2/2] man: Document missing options

2013-05-17 Thread Jan Janssen
--- man/hostnamectl.xml| 8 man/journalctl.xml | 10 ++ man/localectl.xml | 8 man/timedatectl.xml| 8 src/hostname/hostnamectl.c | 1 + src/journal/coredumpctl.c | 1 + src/locale/localectl.c | 1 +

[systemd-devel] [PATCH] systemctl: mangle names when avoiding dbus

2013-05-17 Thread Vaclav Pavlin
From: Václav Pavlín vpav...@redhat.com Unit names were mangled in function enable_unit only when dbus was used. This patch adds mangling also when the dbus is not in use. --- src/systemctl/systemctl.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git

Re: [systemd-devel] Trusting systemd vs. trusting daemons

2013-05-17 Thread Ian Pilcher
On 05/17/2013 01:39 AM, Aaron Faanes wrote: So my question, simply, is this: Should I prefer running a process as root knowing that it chroots itself, or should I run it as non-root and chroot it via systemd? The choice implied by your subject doesn't really exist. You're already trusting

Re: [systemd-devel] [PATCH] Make it possible to disable smack separately from xattr support

2013-05-17 Thread Kok, Auke-jan H
On Thu, May 16, 2013 at 1:40 AM, Karol Lewandowski k.lewando...@samsung.com wrote: Additionally, compile out rule loading if feature is disabled. --- configure.ac | 26 ++ src/core/smack-setup.c | 10 ++ src/core/socket.c |4 ++-- 3

Re: [systemd-devel] Trusting systemd vs. trusting daemons

2013-05-17 Thread Cristian Rodríguez
El 17/05/13 02:39, Aaron Faanes escribió: So my question, simply, is this: Should I prefer running a process as root knowing that it chroots itself, or should I run it as non-root and chroot it via systemd? Well, systemd enforces restrictions at the kernel level, while other software usually