Re: [systemd-devel] Build warnings for ARM due to -Wcast-align

2014-02-20 Thread Lennart Poettering
showed up for me. The usual solution for cast issues is to use some union-based type conversion, but in the case above this is not really nicely possible. Hence, let's drop it, unless somebody has a better solution... Lennart -- Lennart Poettering, Red Hat

Re: [systemd-devel] [PATCH] Remove static_assert related warnings

2014-02-20 Thread Lennart Poettering
\-Wdeclaration-after-statement\); \ + struct UNIQUE(_assert_struct_) { char x[(expr) ? 0 : -1]; }; \ + _Pragma(GCC diagnostic pop); #endif #define assert_return(expr, r) \ Lennart -- Lennart Poettering, Red Hat

Re: [systemd-devel] discussions of pkg-config black magic over at gentoo

2014-02-20 Thread Lennart Poettering
. Maybe today, maybe tomorrow. http://willnewton.name/uncategorized/using-gnu-indirect-functions/ Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo

Re: [systemd-devel] [PATCH] selinux: Only attempt to load policy exactly once, in the real root

2014-02-20 Thread Lennart Poettering
probing the initramfs? Does anyone out there load policy from it with systemd? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel Lennart -- Lennart Poettering, Red Hat

Re: [systemd-devel] [PATCH] selinux: Only attempt to load policy exactly once, in the real root

2014-02-20 Thread Lennart Poettering
-- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] sd-dhcp-client: prevent timer related memory leaks

2014-02-20 Thread Lennart Poettering
= sd_event_source_unref(client-timeout_resend); + r = sd_event_add_monotonic(client-event, client-timeout_resend, usec, 0, Lennart -- Lennart Poettering, Red Hat

Re: [systemd-devel] [PATCH] Add setns() functions if not in the C library.

2014-02-20 Thread Lennart Poettering
__NR_setns +return syscall(__NR_setns, fd, nstype); +#else +errno = ENOSYS; +return -1; +#endif +} +#endif + #endif Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [PATCH] FIx compilation of nspawn when seccomp is not enabled

2014-02-20 Thread Lennart Poettering
\ $(SECCOMP_LIBS) +endif # -- systemd_run_SOURCES = \ Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] Build warnings for ARM due to -Wcast-align

2014-02-20 Thread Lennart Poettering
in configure.ac. Any opinions? Clang also caught those. I had to add -Wno-cast-align in the autogen-shortcut to keep the noise down. It would be nice not to have to do that of course. I have removed the switch now. Lennart -- Lennart Poettering, Red Hat

Re: [systemd-devel] [PATCH] sd-dhcp-client: prevent timer related memory leaks

2014-02-20 Thread Lennart Poettering
, client-timeout_resend, usec, 0, Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [systemd-devel] [RFC] socket-proxyd: resolve addrinfo using sd-resolve

2014-02-20 Thread Lennart Poettering
this part in the socket proxy we need to enhance sd-resolve to provide hooks into the event loop. And that probably means we also need to teach it callbacks... So I figure this is a bit more difficult to do... Lennart -- Lennart Poettering, Red Hat

Re: [systemd-devel] [PATCH] selinux: Only attempt to load policy exactly once, in the real root

2014-02-20 Thread Lennart Poettering
. Attached patch works for me. It's actually even easier than this patch, as in_initrd() is a normal exported function, we can call it directly from selinux_setup(). I have made that change to your patch and commited it. Please test! Thanks! Lennart -- Lennart Poettering, Red Hat

Re: [systemd-devel] [PATCH] Add AppArmor profile switching

2014-02-20 Thread Lennart Poettering
of support in systemd as SELinux, SMACK and IMA have would be policy uploading during early boot. Thanks! Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [systemd-devel] [PATCH] replace tabs with spaces in some files

2014-02-20 Thread Lennart Poettering
should always stay in the original state so that we can easily sync and diff them from/to upstream. Thanks! Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [systemd-devel] [PATCH] install: Do not enable systemd-networkd by default

2014-02-21 Thread Lennart Poettering
it to be installed via [Install] instead of a static symlink in /usr. However, I'd still create the /etc symlink on make install; the same way as we enable remote-fs.target or suchlike. Tom? Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing

Re: [systemd-devel] [PATCH] Add setns() functions if not in the C library.

2014-02-21 Thread Lennart Poettering
:-) It's entirely moronic. It gets even worse when you notice the x86 madness that is socketcall(), where they decided to multiplex all socket system calls through a single meta-syscall, just because. Lennart -- Lennart Poettering, Red Hat

Re: [systemd-devel] [PATCH] Add AppArmor profile switching

2014-02-21 Thread Lennart Poettering
module loading for selinux . Hmm, on-demand module loading for selinux? What do you mean by that? Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo

Re: [systemd-devel] [PATCH] sd-event: Fix systemd crash when using timer units.

2014-02-21 Thread Lennart Poettering
) || (x-type == SOURCE_REALTIME y-type == SOURCE_REALTIME)' failed at src/libsystemd/sd-event/sd-event.c:264, function latest_time_prioq_compare(). Aborting. Thanks! Applied! Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd

Re: [systemd-devel] [PATCH] install: Do not enable systemd-networkd by default

2014-02-21 Thread Lennart Poettering
choice what they want to do. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] Add -lresolv to libudev LIBADD

2014-02-21 Thread Lennart Poettering
+ libsystemd-shared.la \ + -lresolv pkgconfiglib_DATA += \ src/libudev/libudev.pc Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd

Re: [systemd-devel] [PATCH] install: Do not enable systemd-networkd by default

2014-02-21 Thread Lennart Poettering
On Fri, 21.02.14 16:31, Jason A. Donenfeld (ja...@zx2c4.com) wrote: On Fri, Feb 21, 2014 at 4:19 PM, Lennart Poettering lenn...@poettering.net wrote: Well, ultimately it's up the distributions to decide what they want to enable and what not. True, but this requires manual patching

Re: [systemd-devel] [PATCH] install: Do not enable systemd-networkd by default

2014-02-21 Thread Lennart Poettering
it, then nspawn should start it. Otherwise if nobody is going to use nspawn, why start it? That'd be all backwards... nspawn is not going to reach into the container and start specific services there as it pleases. The code inside the container should figure out what it wants to run. Lennart -- Lennart

Re: [systemd-devel] systemd-networkd on by default?

2014-02-21 Thread Lennart Poettering
it at boot, because it is simpler, and less magic... networkd does not currently have a client API, thus socket and bus activation do not apply. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] systemd-networkd on by default?

2014-02-21 Thread Lennart Poettering
by the kernel, we will not allow renaming interfaces to that so that we never race against the kernel. Hence the example above uses foobar as interface name instead. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] Docker, Supervisor and systemd

2014-02-21 Thread Lennart Poettering
-- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] detect_virtualization: make Virtualization an out value

2014-02-23 Thread Lennart Poettering
; assert_se(v = 0); Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] make Virtualization an anonymous enum

2014-02-24 Thread Lennart Poettering
; const char *id = NULL; v = detect_virtualization(id); Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH 4/5] everywhere: stop using strerror()

2014-02-24 Thread Lennart Poettering
), not to strerror(-r)... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH 2/5] hostnamed: watch for transient hostname changes

2014-02-24 Thread Lennart Poettering
) { log_error(Failed to run event loop: %s, strerror(-r)); Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH 1/5] backlight: don't hardcode path in binary

2014-02-24 Thread Lennart Poettering
); +saved = strjoin(BACKLIGHT_DIR, escaped_path_id, :, escaped_ss, :, escaped_sysname, NULL); Hmm, you defined BACKLIGHT_DIR without a trailing slash, so isn't a trailing slash missing here? Lennart -- Lennart Poettering, Red Hat ___ systemd-devel

Re: [systemd-devel] [PATCH 3/5] hostnamed: correct error message

2014-02-24 Thread Lennart Poettering
)); +log_error(Failed to read hostname and machine information: %s, strerror(-r)); goto finish; } Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [PATCH] analyze/run: Use bus_open_transport_systemd instead of bus_open_transport.

2014-02-24 Thread Lennart Poettering
; Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH v2 1/2] Smack - relabel directories and files created by systemd

2014-02-24 Thread Lennart Poettering
exist). Pleas check if everythings is good for SMACK now! Thanks, Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] [ANNOUNCE] systemd 210

2014-02-24 Thread Lennart Poettering
, Holger Schurig, Jason A. Donenfeld, Jason St. John, Jasper St. Pierre, Kay Sievers, Lennart Poettering, Łukasz Stelmach, Marcel Holtmann, Michael Scherer, Michal Sekletar, Mike Gilbert, Samuli Suominen, Thomas Bächler, Thomas Hindoe Paaboel Andersen, Tom Gundersen, Umut

Re: [systemd-devel] [ANNOUNCE] systemd 210

2014-02-24 Thread Lennart Poettering
On Mon, 24.02.14 16:30, David Timothy Strauss (da...@davidstrauss.net) wrote: On Mon, Feb 24, 2014 at 2:08 PM, Lennart Poettering lenn...@poettering.net wrote: logind is now a lot more aggressive when suspending the machine due to a closed laptop lid. Instead of acting only

Re: [systemd-devel] [ANNOUNCE] systemd 210

2014-02-24 Thread Lennart Poettering
On Tue, 25.02.14 09:04, Mathieu Bridon (boche...@fedoraproject.org) wrote: On Mon, 2014-02-24 at 23:08 +0100, Lennart Poettering wrote: * A new unit file option AppArmoreProfile= has been added to set the AppArmor profile for the processes of a unit. I think

Re: [systemd-devel] [ANNOUNCE] systemd 210

2014-02-25 Thread Lennart Poettering
On Tue, 25.02.14 13:05, Colin Guthrie (gm...@colin.guthr.ie) wrote: 'Twas brillig, and Lennart Poettering at 24/02/14 22:08 did gyre and gimble: * systemd will now understand the usual M, K, G, T suffixes according to SI conventions (i.e. to the base 1000) when

Re: [systemd-devel] [PATCH resend] virt: detect_virtualization() do not abort on errors

2014-02-25 Thread Lennart Poettering
, so that anyone cast query this without the need for privs. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] KDBus Signals and Timeouts

2014-02-25 Thread Lennart Poettering
-- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemd version debus call changed

2014-02-25 Thread Lennart Poettering
(), CanHibernate(), ...). They should just call that. It will tell them precisely whether the operation is not implemented in the code, or whether it is available on the hardware, and so on. But no, they decided to involve version checks... Lennart -- Lennart Poettering, Red Hat

Re: [systemd-devel] systemd version debus call changed

2014-02-25 Thread Lennart Poettering
-- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Seeing crash on x86/qemu

2014-02-26 Thread Lennart Poettering
]: segfault at ip 080db4b7 sp bfa1ff50 error 5 in systemd[8048000+fb000] systemd[1]: Caught SEGV, dumped core as pid 48. systemd[1]: Freezing execution. Hmm, any chance you can get a proper backtrace for this? There should be a coredump file for PID 48? Lennart -- Lennart Poettering

Re: [systemd-devel] RTC on BeagleBone Black or embedded platforms

2014-02-27 Thread Lennart Poettering
as if this is a local configuration problem of what is exposed by the kernel... Also note that PID will do the initial timezone bump for /dev/rtc only, too. Supporting an alternative RTC would also mean we'd ave t touch the earliest boot code. Lennart -- Lennart Poettering, Red Hat

Re: [systemd-devel] pcre in daemons

2014-02-27 Thread Lennart Poettering
to be executed, since just loading the libs already results in code execution in the library. So in order not to change behaviour ld exclude libraries with constructors from --as-needed... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing

Re: [systemd-devel] pcre in daemons

2014-02-27 Thread Lennart Poettering
as well... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] [RFC] San Francisco Hackfest April 15th?

2014-02-27 Thread Lennart Poettering
? (We'll be around for the GNOME West Coast hackfest as well as the RH summit, which brings us over there). Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [systemd-devel] Topics for the Linux Storage, Filesystem MM Summit

2014-02-27 Thread Lennart Poettering
problem. Oh, and note that Al Viro dislikes systemd and particularly me with a passion. It's probably not good mentioning us in any discussion with him... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] statically linking systemd-socket-proxyd

2014-02-27 Thread Lennart Poettering
get. Linux systems might vary greatly in the libraries they offer or have installed, but a glibc they all should have Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [PATCH] sd-dhcp: implement IPv4 link-local support

2014-02-27 Thread Lennart Poettering
in even distribution. But then again, it doesn't really matter Btw, please avoid extranous {} for single-line blocks like in the case above. This isn't PHP after all! Thanks for doing this work! Lennart -- Lennart Poettering, Red Hat ___ systemd-devel

Re: [systemd-devel] [PATCH] sd-dhcp: implement IPv4 link-local support

2014-02-27 Thread Lennart Poettering
. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Topics for the Linux Storage, Filesystem MM Summit

2014-02-27 Thread Lennart Poettering
On Thu, 27.02.14 17:06, Chris Murphy (li...@colorremedies.com) wrote: On Feb 27, 2014, at 4:09 PM, Lennart Poettering lenn...@poettering.net wrote: - uuids for btrfs subvols btrfs subvol show pathtosubvolume It will show the subvol uuid, and if it's a snapshot it will also show

Re: [systemd-devel] Topics for the Linux Storage, Filesystem MM Summit

2014-02-27 Thread Lennart Poettering
On Thu, 27.02.14 17:47, Chris Murphy (li...@colorremedies.com) wrote: On Feb 27, 2014, at 5:16 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 27.02.14 17:06, Chris Murphy (li...@colorremedies.com) wrote: On Feb 27, 2014, at 4:09 PM, Lennart Poettering lenn

Re: [systemd-devel] [PATCH] architecture: Add tilegx

2014-02-27 Thread Lennart Poettering
architecture here! #endif Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] StartLimitAction Feature

2014-02-27 Thread Lennart Poettering
-handler@.service you take %i and use your own bus client or systemctl show -p to query the Result property which will tell you the reason the unit failed. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] systemd version debus call changed

2014-02-27 Thread Lennart Poettering
On Fri, 28.02.14 02:21, Timothée Ravier (sios...@gmail.com) wrote: On 26/02/2014 02:38, Lennart Poettering wrote: On Wed, 26.02.14 02:01, Jason A. Donenfeld (ja...@zx2c4.com) wrote: Upstream KDE patch is here: https://projects.kde.org/projects/kde/kde-workspace/repository/revisions

Re: [systemd-devel] nspawn: fix detection of missing /proc/self/loginuid

2014-02-27 Thread Lennart Poettering
http://lists.freedesktop.org/mailman/listinfo/systemd-devel Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] RTC on BeagleBone Black or embedded platforms

2014-02-28 Thread Lennart Poettering
On Fri, 28.02.14 11:13, Koen Kooi (k...@dominion.thruhere.net) wrote: Op 27 feb. 2014, om 18:56 heeft Lennart Poettering lenn...@poettering.net het volgende geschreven: On Thu, 27.02.14 10:46, Mike (bellyac...@gmail.com) wrote: Heya, My biggest dilemma at this time right now

Re: [systemd-devel] [PATCH] sd-dhcp: implement IPv4 link-local support

2014-02-28 Thread Lennart Poettering
== IPV4LL_STATE_WAITING_ANNOUNCE) ... Becomes this: if (IN_SET(ll-state, IPV4LL_STATE_WAITING_PROBE, IPV4LL_STATE_PROBING, IPV4LL_STATE_WAITING_ANNOUNCE) ... Lennart -- Lennart Poettering, Red Hat ___ systemd

Re: [systemd-devel] [PATCH] sd-dhcp: implement IPv4 link-local support

2014-02-28 Thread Lennart Poettering
on and so on. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] sd-dhcp: implement IPv4 link-local support

2014-02-28 Thread Lennart Poettering
On Fri, 28.02.14 14:34, Tom Gundersen (t...@jklm.no) wrote: On Fri, Feb 28, 2014 at 2:24 PM, Lennart Poettering lenn...@poettering.net wrote: If you stop LL state machine and start again, then you will go through the probe/announce/defend process anyways. Tell you the truth I didn't

[systemd-devel] [HEADSUP] Formalizing Backports

2014-02-28 Thread Lennart Poettering
. All of this is now documented more formally in the wiki: http://www.freedesktop.org/wiki/Software/systemd/Backports/ Please have a look! Thanks, Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] Creating a Release Tarball

2014-03-01 Thread Lennart Poettering
. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] How to build systemd with statically linking

2014-03-01 Thread Lennart Poettering
it. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] How to build systemd with statically linking

2014-03-01 Thread Lennart Poettering
On Sat, 01.03.14 20:36, Samuli Suominen (ssuomi...@gentoo.org) wrote: On 01/03/14 20:11, Lennart Poettering wrote: On Sat, 01.03.14 17:46, Ȳ�翵 (j-zero.hw...@samsung.com) wrote: Hello, I've tried to build systemd(v43) with statically linking. I revised Makefile.am and spec file

Re: [systemd-devel] Set environment for user@.service

2014-03-02 Thread Lennart Poettering
, or in ~/.config/systemd/user.conf. Do you need anything else? Alternatively you can use pam_env for this? Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo

Re: [systemd-devel] How to build systemd with statically linking

2014-03-02 Thread Lennart Poettering
know that we think this is really non-sensical and don't expect us to support this upstream. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd

Re: [systemd-devel] binding tmpfiles.d to unit startup

2014-03-02 Thread Lennart Poettering
it needs to do and quickly exits, and never does exec(). -- but anyway, the take-away here is probably that it is harder thatn it might sound...) Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] binding tmpfiles.d to unit startup

2014-03-02 Thread Lennart Poettering
of directory names. In exec_spawn() we'd then just create all those dirs, right after resolving the UID/GID. When running in system mode we'd then create the dirs in /run, when running user mode in $XDG_RUNTIME_DIR. Should be a ~20 line patch or so... Lennart -- Lennart Poettering, Red Hat

Re: [systemd-devel] binding tmpfiles.d to unit startup

2014-03-02 Thread Lennart Poettering
dynamic nature of systemd. Well, but /var and /etc are by their very nature non-volatile, non-dynamic. We shouldnt set up more during runtime then we really have to... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] binding tmpfiles.d to unit startup

2014-03-02 Thread Lennart Poettering
like this would be the right place to start enforcing naming rules for 3rd party apps... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd

Re: [systemd-devel] [RFC/PATCH] tmpfiles: implement --transform=rpm

2014-03-02 Thread Lennart Poettering
. This makes the consumer side slightly more complex, but I guess we could wrap this is in a macro too. I am pretty sure that whatever we end up adding here, it should come with an RPM macro from day 1, so that we have some freedom to change around later on should we need it. Lennart -- Lennart

Re: [systemd-devel] [PATCH] TODO: Simple conditionals in tmpfiles

2014-03-02 Thread Lennart Poettering
one? It sounds really strange to add a hook to make something configurable depending on something else that is not really configuration... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [PATCH] README: audit no longer breaks container

2014-03-02 Thread Lennart Poettering
still broken on i386, where we the seccomp trick doesn't work on socket(), due to the i386 specific madness that is socketcall(). It works fine on all other archs though, including x86-64. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing

Re: [systemd-devel] [PATCH] core: add default extra dependency option

2014-03-02 Thread Lennart Poettering
these as StartupCPUShares= and StartupBlockIOWeight= which could set different values to apply only while the boot process is not complete yet. Or something like that. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] StartLimitAction Feature

2014-03-02 Thread Lennart Poettering
for the State property. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-03-03 Thread Lennart Poettering
ln's --relative option here, so that the symlink is relative regardless what the setup is. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd

Re: [systemd-devel] Process Manager?

2014-03-03 Thread Lennart Poettering
that it manages the system is already baked into its very name. It's what it is... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] core: add default extra dependency option

2014-03-03 Thread Lennart Poettering
be bumped to normal levels. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Recommended way to automount USB drives and trigger actions?

2014-03-03 Thread Lennart Poettering
to stderr. I think you deserve to know, after all the destructive criticism that you tend to receive. Thanks! Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [systemd-devel] binding tmpfiles.d to unit startup

2014-03-03 Thread Lennart Poettering
for this, because they are imperative... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Per session systemd?

2014-03-03 Thread Lennart Poettering
. The second instance will then spawn the WM. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Per session systemd?

2014-03-03 Thread Lennart Poettering
in run systemctl start my-wm@$DISPLAY.service and you get it loaded. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-03-03 Thread Lennart Poettering
this should be OK. If this breaks for people we can consider making use of this only after an autoconf check. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo

Re: [systemd-devel] binding tmpfiles.d to unit startup

2014-03-03 Thread Lennart Poettering
On Sun, 02.03.14 23:55, Lennart Poettering (lenn...@poettering.net) wrote: I am still open for this btw. If somebody wants to hack on that, I figure this should simply be addded to ExecContext, as a strv of directory names. In exec_spawn() we'd then just create all those dirs, right after

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-03-04 Thread Lennart Poettering
for this and then falls back to absolute symlinks if the relative ones don't work. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] StartupFinished signal is not sent on 210

2014-03-04 Thread Lennart Poettering
client has issued this call. (Note that on normal desktops logind issues the call, so you might get away with not invoking it, but this will break in early boot and on systems without logind) Lennart -- Lennart Poettering, Red Hat ___ systemd-devel

Re: [systemd-devel] [PATCH] architecture: Add cris

2014-03-04 Thread Lennart Poettering
Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [systemd][cgroup in container] problem with cgroup hierarchy in container

2014-03-04 Thread Lennart Poettering
, does t work then? Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-03-04 Thread Lennart Poettering
On Mon, 03.03.14 16:26, Mike Gilbert (flop...@gentoo.org) wrote: On Mon, Mar 3, 2014 at 11:57 AM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 03.03.14 16:12, Michael Biebl (mbi...@gmail.com) wrote: The patch looked ok to me as is, but I can certainly add a --relative

Re: [systemd-devel] Network unreachable in container

2014-03-04 Thread Lennart Poettering
there is no udev there, or suchlike. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH 1/2] journal: assume that next entry is after previous entry

2014-03-04 Thread Lennart Poettering
like that it clobbers *offset even when it fails. Feel free to commit with some temporary variable added we read this into first... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [PATCH 2/2] journal: forget file after encountering an error

2014-03-04 Thread Lennart Poettering
) { Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] StartupFinished signal is not sent on 210

2014-03-04 Thread Lennart Poettering
, and the messages look different to the receiver depending on the number of other subscribers. So I dropped this again... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [systemd-devel] Network unreachable in container

2014-03-04 Thread Lennart Poettering
, still don't get what you are trying to do there... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] StartTransientService problems

2014-03-04 Thread Lennart Poettering
BlockIOWeight=10 updatedb Is an awesome way to run updatedb in the background without taking much resources, totally cgroup-enabled... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] StartupFinished signal is not sent on 210

2014-03-05 Thread Lennart Poettering
Subscribe(). Then I can't explain how come we were receiving the signal, can you? Could it be that one of systemd applications was subscribing and we were just lucky to get the signal? machined and logind are the only ones in the systemd tree that call it currently. Lennart -- Lennart

Re: [systemd-devel] Subscribe from commandline

2014-03-05 Thread Lennart Poettering
-send cannot listen for signals, it only does method invocations, hence Subscribe() does not apply to it at all... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org

Re: [systemd-devel] systemd-backlight and backlight level 0

2014-03-05 Thread Lennart Poettering
is relatively important and really close to the system lifecycle... But brightness keys (or volume keys..) are not close at all. I am really sure that that's for the DEs to handle, not us. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing

Re: [systemd-devel] [systemd][cgroup in container] problem with cgroup hierarchy in container

2014-03-05 Thread Lennart Poettering
the systemd instance inside the container must be confused about the cgroup it is running in... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo

Re: [systemd-devel] [PATCH 1/2] util: add files_same() helper function

2014-03-05 Thread Lennart Poettering
; + +return (ret == 0); No need for the extra () Otherwise looks good. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

  1   2   3   4   5   6   7   8   9   10   >