[systemd-devel] libsystemd-daemon wrapper

2015-02-23 Thread Max
Hi. I've got question partially inspired by recent posts to this ML from some troll without shift on his keyboard :) It's been mentioned that calls like sd_listen_fds(0) and others become NOOP when socket activation is not available due to lack of systemd. Which is fine but leads to rather

Re: [systemd-devel] feature request: dlopen

2015-02-23 Thread Tobias Hunger
Hello Luke, On Mon, Feb 23, 2015 at 12:58 AM, Luke Kenneth Casson Leighton l...@lkcl.net wrote: I understood most of these dependencies to be indirect: Packages that depend on other packages that in turn depend on libsystemd. Is that correct? that's right. so, what that means is that the

Re: [systemd-devel] feature request: dlopen

2015-02-23 Thread Tobias Hunger
Hi Luke, On Mon, Feb 23, 2015 at 3:08 AM, Luke Kenneth Casson Leighton l...@lkcl.net wrote: the problem, zbigniew, is that the intended use of this silent noop feature - to make it *possible* to have an alternative PID1 - *hasn't happened*. any upstream software developer who has added in

Re: [systemd-devel] [PATCH] fstab-generator: mask systemd-fsck-root for /sysroot unit

2015-02-23 Thread Harald Hoyer
On 21.02.2015 12:44, Andrei Borzenkov wrote: В Fri, 20 Feb 2015 12:24:33 +0100 har...@redhat.com пишет: From: Harald Hoyer har...@redhat.com If the fstab-generator generates a mount unit for /sysroot, we shall not run systemd-fsck-root in the real root. --- Makefile.am

[systemd-devel] shutdown from within a service

2015-02-23 Thread JB
Hello, I've run into another side-effect of systemd's supervisory power over processes. The application is a simple ruby webrick daemon. It get's started just fine. It provides web service configuration to an appliance. One of the service calls gives clients the ability to power down

[systemd-devel] [PATCHv2][RFC] bus-proxy: add support for GetConnectionCredentials method

2015-02-23 Thread Lukasz Skalski
GetConnectionCredentials method was added to dbus-1 specification more than one year ago. This method should return [...] as many credentials as possible for the process connected to the server, but at this moment only UnixUserID, LinuxSecurityLabel and ProcessID are defined by the specification.

Re: [systemd-devel] shutdown from within a service

2015-02-23 Thread Mantas Mikulėnas
On Mon, Feb 23, 2015 at 1:33 PM, JB gene...@itpsg.com wrote: Hello, I've run into another side-effect of systemd's supervisory power over processes. The application is a simple ruby webrick daemon. It get's started just fine. It provides web service configuration to an appliance. One

Re: [systemd-devel] [PATCH] Re: fstab mounts get unmounted during boot (.device unit bouncing?) -- solution

2015-02-23 Thread Karel Zak
On Thu, Feb 12, 2015 at 05:33:26PM +0100, Martin Pitt wrote: \o/ looking forward to let /etc/mtab die a bit more :-) util-linux v2.26 (released last week) provides --enable-libmount-force-mountinfo configure option to make mtab's grave more robust. Karel -- Karel Zak

Re: [systemd-devel] [PATCH] nspawn: fix whitespace and typo in partition table blurb

2015-02-23 Thread Martin Pitt
Hey Jan, Jan Synacek [2015-02-23 15:22 +0100]: - fix additional typo on the same line, doh Applied, thanks! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

Re: [systemd-devel] feature request: dlopen

2015-02-23 Thread Lennart Poettering
On Mon, 23.02.15 01:37, Luke Kenneth Casson Leighton (l...@lkcl.net) wrote: Convince the upstream developers in question not to link against systemd's libraries, or convince the distros not to package it like that. well, you could provide hints in the documentation (and force them to

[systemd-devel] [PATCH] nspawn: fix whitespace in partition table blurb

2015-02-23 Thread Jan Synacek
--- src/nspawn/nspawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 0d8d199..9c5b8cd 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -2754,7 +2754,7 @@ static int setup_image(char **device_path, int *loop_nr) {

Re: [systemd-devel] A use case for staged startup

2015-02-23 Thread Lennart Poettering
On Sun, 22.02.15 02:31, Jeff Waugh (j...@bethesignal.org) wrote: But it's time to get serious. And everyone knows that serious means having a writeable root filesystem. OpenWrt uses overlayfs with JFFS2 as the top layer. but I'm just using tmpfs for now. (For some values of serious.) Why

[systemd-devel] [PATCH] systemd: add getrandom syscall numbers for MIPS

2015-02-23 Thread Aaro Koskinen
Add getrandom syscall numbers for MIPS. Based on Linux 3.17 kernel (commit 42944521af97a3b25516f15f3149aec3779656dc, MIPS: Wire up new syscalls getrandom and memfd_create). Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com --- src/shared/missing.h | 10 ++ 1 file changed, 10

[systemd-devel] [PATCH] nspawn: fix whitespace and typo in partition table blurb

2015-02-23 Thread Jan Synacek
--- Changes in v2: - fix additional typo on the same line, doh src/nspawn/nspawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 0d8d199..a9b9a3e 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -2754,7 +2754,7 @@

Re: [systemd-devel] feature request: dlopen

2015-02-23 Thread Luke Kenneth Casson Leighton
On Mon, Feb 23, 2015 at 6:17 AM, Martin Pitt martin.p...@ubuntu.com wrote: Luke Kenneth Casson Leighton [2015-02-23 2:08 +]: the problem, zbigniew, is that the intended use of this silent noop feature - to make it *possible* to have an alternative PID1 - *hasn't happened*. It sure has.

Re: [systemd-devel] feature request: dlopen

2015-02-23 Thread Reindl Harald
Am 23.02.2015 um 13:41 schrieb Luke Kenneth Casson Leighton: also misses the larger picture. what the distros do is fait-accomplit driven by the decisions of the upstream developers. what the upstream developers do is fait-accomplit driven by the decisions of their dependencies. everyone has

Re: [systemd-devel] libsystemd-daemon wrapper

2015-02-23 Thread Lennart Poettering
On Mon, 23.02.15 11:30, Max (maxim.sur...@campus.tu-berlin.de) wrote: Hi. I've got question partially inspired by recent posts to this ML from some troll without shift on his keyboard :) It's been mentioned that calls like sd_listen_fds(0) and others become NOOP when socket

Re: [systemd-devel] feature request: dlopen

2015-02-23 Thread Lennart Poettering
On Mon, 23.02.15 12:41, Luke Kenneth Casson Leighton (l...@lkcl.net) wrote: Luke, you are now on moderation. I am sorry, but I don't find what you are writing particularly useful or new. You keep repeating the same untruths, and I'd prefer if we could again focus on technical discussions on the

Re: [systemd-devel] Removing unnecessary includes

2015-02-23 Thread Lennart Poettering
On Sun, 22.02.15 14:56, Thomas H.P. Andersen (pho...@gmail.com) wrote: For info I am attaching a diff with the changes so far: 1309 includes removed out of the current 7707. It is only compile and make check-tested. I am only looking for comments (and perhaps compile testing on an

Re: [systemd-devel] [PATCH] nspawn: fix whitespace in partition table blurb

2015-02-23 Thread Mantas Mikulėnas
While you're at it, -sinlge +single On Mon, Feb 23, 2015 at 2:32 PM, Jan Synacek jsyna...@redhat.com wrote: --- src/nspawn/nspawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 0d8d199..9c5b8cd 100644 ---

[systemd-devel] Logroate + Pass signal to executable in container (nspawn)

2015-02-23 Thread Peter Paule
Hi, I run nginx in a container which itself is under systemd-control. All error messages are put to stderr and the incomming requests are logged in access.log. To reduce the filesize I want to rotate the access.log. I see two possibilities to make nginx release the file handle: * Restart

Re: [systemd-devel] [PATCH] nspawn: fix whitespace in partition table blurb

2015-02-23 Thread Jan Synacek
Mantas Mikulėnas graw...@gmail.com writes: While you're at it, -sinlge +single I have no idea how this one escaped me... Will fix, thanks! -- Jan Synacek Software Engineer, Red Hat signature.asc Description: PGP signature ___ systemd-devel

Re: [systemd-devel] [PATCH] Re: fstab mounts get unmounted during boot (.device unit bouncing?) -- solution

2015-02-23 Thread Lennart Poettering
On Mon, 23.02.15 14:36, Karel Zak (k...@redhat.com) wrote: On Thu, Feb 12, 2015 at 05:33:26PM +0100, Martin Pitt wrote: \o/ looking forward to let /etc/mtab die a bit more :-) util-linux v2.26 (released last week) provides --enable-libmount-force-mountinfo configure option

Re: [systemd-devel] Removing unnecessary includes

2015-02-23 Thread Thomas H.P. Andersen
On Mon, Feb 23, 2015 at 2:02 PM, Lennart Poettering mzerq...@0pointer.de wrote: On Sun, 22.02.15 14:56, Thomas H.P. Andersen (pho...@gmail.com) wrote: For info I am attaching a diff with the changes so far: 1309 includes removed out of the current 7707. It is only compile and make

Re: [systemd-devel] feature request: dlopen

2015-02-23 Thread Tomasz Torcz
On Mon, Feb 23, 2015 at 02:08:26AM +, Luke Kenneth Casson Leighton wrote: the problem, zbigniew, is that the intended use of this silent noop feature - to make it *possible* to have an alternative PID1 - *hasn't happened*. any upstream software developer who has added in support for

[systemd-devel] machinectl: Support for cache cleaning

2015-02-23 Thread Peter Paule
Hi Lennart, after getting the Permission Denied-error mentioned in one of my previous mails, which went away when running importd under root: Got 1% of https://registry-1.docker.io/v1/images/e03153f199183f91a9ee47334e65c7155d8619ef35c8158da80d0790af05ad98/layer. 2min 50s left at