[systemd-devel] filtering journal logs

2015-06-19 Thread Michał Zegan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. I am curious if it is possible or planned to add support for pattern matching and/or negation matching in journal? for example I would like to view everything except audit entries. Actually, when we are at it, are audit entries actually

Re: [systemd-devel] Pass environment variables down to systemd-service in container

2015-06-19 Thread Peter Paule
Excerpts from Lennart Poettering's message of 2015-06-18 20:07:50 +0200: On Tue, 16.06.15 17:49, Peter Paule (systemd-de...@fedux.org) wrote: I'd be willing to add a setting called PassEnvironment= that takes a list of env vars to import from PID1's env block. Great! Thanks a lot. Happy to

Re: [systemd-devel] Improve boot-time of systemd-based device, revisited

2015-06-19 Thread Chaiken, Alison
cee1 fykc...@gmail.com writes: 2. Add a kernel sockopt for AF_UNIX to increase the maximum datagram queue length for SOCK_DGRAM sockets. ceel, are you aware of the (hopefully) pending full merge of kdbus in kernel 4.2? And that it is essentially a bottoms-up redesign of IPC that supports

Re: [systemd-devel] systemd-nspawn: cannot join existing macvlan

2015-06-19 Thread Kai Krakow
Lennart Poettering lenn...@poettering.net schrieb: On Sat, 30.05.15 19:55, Kai Krakow (hurikha...@gmail.com) wrote: The next issue with your argument is: AFAIR nspawn doesn't create a macvlan interface based on the machine name. You have to pass the name of a physical interface which

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

2015-06-19 Thread Michael Biebl
I'm very disappointed (once again) how this release was handled. Lot's of last minute changes. Especially https://github.com/systemd/systemd/pull/293 really sucks. Not amused, not amused at all. 2015-06-19 16:06 GMT+02:00 Lennart Poettering lenn...@poettering.net: Heya! It's primarily a

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

2015-06-19 Thread Michael Biebl
All this talk about getting downstream patches upstream and then last minute reverts without a proper justitification. WTF. 2015-06-19 16:11 GMT+02:00 Michael Biebl mbi...@gmail.com: I'm very disappointed (once again) how this release was handled. Lot's of last minute changes. Especially

Re: [systemd-devel] nspawn: No Return key in machinectl login?

2015-06-19 Thread Tobias Hunger
Thanks for the reply! I'll try to collect all requested info tonight or over the weekend. Best Regards, Tobias On Thu, Jun 18, 2015 at 9:24 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 26.05.15 21:40, Tobias Hunger (tobias.hun...@gmail.com) wrote: This is stty -a from outside

Re: [systemd-devel] Improve boot-time of systemd-based device, revisited

2015-06-19 Thread Daniel Mack
On 06/19/2015 09:34 AM, Chaiken, Alison wrote: ceel, are you aware that readahead is deprecated in systemd and has not been included since about release 216? Some of us in automotive are still working on it. I have some patches here

[systemd-devel] systemd-detect-virt and virtualbox 5.0

2015-06-19 Thread Igor Bukanov
Hello, forthcoming VirtualBox 5.0 hypervisor (currently at RC1) supports paravirtualization using Hyper-V or KVM interfaces. When the latter is used with a linux guest then systemd-detect-virt prints kvm. I suppose at least the manual page for systemd-detect-virt should be updated to indicate

Re: [systemd-devel] A missing SELinux unit access check due to unexpected UNIT_NOT_FOUND unit object

2015-06-19 Thread Lennart Poettering
On Fri, 19.06.15 12:06, HATAYAMA Daisuke (d.hatay...@jp.fujitsu.com) wrote: From: Lennart Poettering lenn...@poettering.net Subject: Re: [systemd-devel] A missing SELinux unit access check due to unexpected UNIT_NOT_FOUND unit object Date: Thu, 18 Jun 2015 13:23:25 +0200 On Thu, 18.06.15

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

2015-06-19 Thread Lennart Poettering
On Fri, 19.06.15 16:11, Michael Biebl (mbi...@gmail.com) wrote: I'm very disappointed (once again) how this release was handled. Lot's of last minute changes. I disagree. We only made bugfixes in the last days, except maybe one patch (that came with a lot of unit tests). That's how this

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

2015-06-19 Thread Lennart Poettering
On Fri, 19.06.15 16:21, Michael Biebl (mbi...@gmail.com) wrote: All this talk about getting downstream patches upstream and then last minute reverts without a proper justitification. WTF. reverts? Plural? Which ones are you referring to excluding that man page path thing? Lennart -- Lennart

[systemd-devel] [PATCH][v1]random-seed: Save random seed as early as possible

2015-06-19 Thread cee1
Hi all, As discussed at http://lists.freedesktop.org/archives/systemd-devel/2015-June/033075.html, this patch saves seed with ** good ** random number as early as possible, as opposed to the original behavior, which saves a random number when shutdown. Note: 1. If seed loading failed, it will

[systemd-devel] [ANNOUNCE] systemd v221

2015-06-19 Thread Lennart Poettering
Heya! It's primarily a bugfix release, but we also make sd-bus.h and sd-event.h public. (A blog story on sd-bus and how to use it will follow shortly.) http://www.freedesktop.org/software/systemd/systemd-221.tar.xz Reminder: Note again that the git repository and bug tracking moved to

Re: [systemd-devel] [PATCH 7/9] nspawn: escape paths in overlay mount options

2015-06-19 Thread Lennart Poettering
On Fri, 19.06.15 11:17, Richard Maw (richard@codethink.co.uk) wrote: Also, it's really inefficient, since strreplace() goes through the string each time from the beginning. I was looking to do something simple rather than fast, as this isn't a particularly latency sensitive bit of

Re: [systemd-devel] leftover interface

2015-06-19 Thread Lennart Poettering
On Thu, 18.06.15 21:11, Johannes Ernst (johannes.er...@gmail.com) wrote: Not sure how I just managed to do that, but after an nspawn run with -n, I have a leftover ve-xxx interface on the host. The container/machine is gone, the (ephemeral) file system is gone, just the interface is still

[systemd-devel] [lenn...@poettering.net: Re: systemd-nspawn network interface name collisions]

2015-06-19 Thread Lennart Poettering
Forgot to readd the ML to CC... Sorry, Lennart -- Lennart Poettering, Red Hat ---BeginMessage--- On Thu, 18.06.15 22:03, Florian Koch (florian.koch1...@gmail.com) wrote: Now if you use similar names for conatiners, like com.$company.$devision.$name1 com.$company.$devision.$name2

Re: [systemd-devel] [PATCH 1/9] util: Add unescape_first_word()

2015-06-19 Thread Lennart Poettering
On Fri, 19.06.15 10:56, Richard Maw (richard@codethink.co.uk) wrote: On Thu, Jun 18, 2015 at 08:30:22PM +0200, Lennart Poettering wrote: On Thu, 28.05.15 13:02, Richard Maw (richard@codethink.co.uk) wrote: This is a superset of the functionality of unquote_first_word, allowing

Re: [systemd-devel] systemd-detect-virt and virtualbox 5.0

2015-06-19 Thread Lennart Poettering
On Fri, 19.06.15 11:13, Igor Bukanov (i...@mir2.org) wrote: Hello, forthcoming VirtualBox 5.0 hypervisor (currently at RC1) supports paravirtualization using Hyper-V or KVM interfaces. When the latter is used with a linux guest then systemd-detect-virt prints kvm. I suppose at least the

Re: [systemd-devel] [PATCH 7/9] nspawn: escape paths in overlay mount options

2015-06-19 Thread Richard Maw
On Thu, Jun 18, 2015 at 08:39:10PM +0200, Lennart Poettering wrote: On Thu, 28.05.15 13:02, Richard Maw (richard@codethink.co.uk) wrote: Overlayfs uses , as an option separator and : as a list separator. These characters are both valid in file paths, so overlayfs allows file paths

Re: [systemd-devel] [PATCH 1/9] util: Add unescape_first_word()

2015-06-19 Thread Richard Maw
On Thu, Jun 18, 2015 at 08:30:22PM +0200, Lennart Poettering wrote: On Thu, 28.05.15 13:02, Richard Maw (richard@codethink.co.uk) wrote: This is a superset of the functionality of unquote_first_word, allowing non-whitespace separators, and doesn't interpret quotes unless

Re: [systemd-devel] Why we need to read/save random seed?

2015-06-19 Thread Lennart Poettering
On Wed, 17.06.15 17:38, Reindl Harald (h.rei...@thelounge.net) wrote: * the purpose of systemd-random-seed.service is to seed /dev/random realy at boot so that other services like sshd, vpn, webservers have a random source * seed /dev/random *followed* by suck it out again like has

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

2015-06-19 Thread Reindl Harald
Am 19.06.2015 um 16:32 schrieb Lennart Poettering: On Fri, 19.06.15 16:15, Reindl Harald (h.rei...@thelounge.net) wrote: Am 19.06.2015 um 16:06 schrieb Lennart Poettering: * If there's a systemd unit and a SysV init script for the same service name, and the user executes

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

2015-06-19 Thread Filipe Brandenburger
Guys let's try to be constructive here... This time it shouldn't be too painful for downstreams since the revert was the last patch to the man subtree so just a git revert of that should get your trees to the state you need to get v221 packages for Debian and Ubuntu. In that sense, I think we're

Re: [systemd-devel] Why we need to read/save random seed?

2015-06-19 Thread Reindl Harald
Am 17.06.2015 um 17:08 schrieb cee1: 2015-06-17 22:03 GMT+08:00 Lennart Poettering lenn...@poettering.net: On Wed, 17.06.15 20:21, cee1 (fykc...@gmail.com) wrote: What I means is: 1. Load a saved seed to /dev/urandom. 2. The service read /dev/random, which will block until kernel thinks

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

2015-06-19 Thread Lennart Poettering
On Fri, 19.06.15 16:15, Reindl Harald (h.rei...@thelounge.net) wrote: Am 19.06.2015 um 16:06 schrieb Lennart Poettering: * If there's a systemd unit and a SysV init script for the same service name, and the user executes systemctl enable for it (or a related

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

2015-06-19 Thread Reindl Harald
Am 19.06.2015 um 16:06 schrieb Lennart Poettering: * If there's a systemd unit and a SysV init script for the same service name, and the user executes systemctl enable for it (or a related call), then this will now enable both (or execute the related

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

2015-06-19 Thread Andrei Borzenkov
В Fri, 19 Jun 2015 16:15:03 +0200 Reindl Harald h.rei...@thelounge.net пишет: Am 19.06.2015 um 16:06 schrieb Lennart Poettering: * If there's a systemd unit and a SysV init script for the same service name, and the user executes systemctl enable for it

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

2015-06-19 Thread Michael Biebl
2015-06-19 16:38 GMT+02:00 Lennart Poettering lenn...@poettering.net: On Fri, 19.06.15 16:29, Michael Biebl (mbi...@gmail.com) wrote: If something is not in shape we'll revert it. Regardless of the general merits of the patch set: this one actually broke stuff, it was incomplete. Either

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

2015-06-19 Thread Lennart Poettering
On Fri, 19.06.15 16:40, Michael Biebl (mbi...@gmail.com) wrote: 2015-06-19 16:38 GMT+02:00 Lennart Poettering lenn...@poettering.net: On Fri, 19.06.15 16:29, Michael Biebl (mbi...@gmail.com) wrote: If something is not in shape we'll revert it. Regardless of the general merits of the

Re: [systemd-devel] Unit type .busname is not supported on this system. when setting up timer

2015-06-19 Thread Kai Hendry
On Thu, 18 Jun 2015, at 07:04 PM, Lennart Poettering wrote: What does systemctl status say for it? http://s.natalian.org/2015-06-18/1434659705_1912x1036.png Sorry, my fault. Seems like I failed to run: systemctl daemon-reload... Many thanks, ___

Re: [systemd-devel] Unit type .busname is not supported on this system. when setting up timer

2015-06-19 Thread Kai Hendry
On Thu, 18 Jun 2015, at 07:04 PM, Lennart Poettering wrote: What does systemctl status say for it? http://s.natalian.org/2015-06-18/1434659705_1912x1036.png Sorry, my fault. Seems like I failed to run: systemctl daemon-reload... Many thanks, ___

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

2015-06-19 Thread Kay Sievers
On Fri, Jun 19, 2015 at 5:07 PM, Filipe Brandenburger filbran...@google.com wrote: Guys let's try to be constructive here... This time it shouldn't be too painful for downstreams since the revert was the last patch to the man subtree so just a git revert of that should get your trees to the

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

2015-06-19 Thread Lennart Poettering
On Fri, 19.06.15 16:06, Lennart Poettering (lenn...@poettering.net) wrote: Heya! It's primarily a bugfix release, but we also make sd-bus.h and sd-event.h public. (A blog story on sd-bus and how to use it will follow shortly.) The blog story is online now:

[systemd-devel] journalctl - Error was encountered while opening journal files: Invalid argument

2015-06-19 Thread Johannes Ernst
After a reboot, root gets this: # journalctl Error was encountered while opening journal files: Invalid argument No other output. Non-root gets user-specific output. What might have happened here. and how do I fix it? I upgraded from 220 to 221: same behavior. I briefly ran out of space on a