Re: [systemd-devel] How to remove *~ journal files?

2015-08-14 Thread Andrei Borzenkov
On 14.08.2015 20:41, Lennart Poettering wrote: BTW, if you keep collecting these files, then this is usually an indication that journald is flaky or you keep rebooting the machine too often in a "hard" way. Yes, this is the case. This system requires hard power off rather more often than I wi

Re: [systemd-devel] Troubleshooting Failed Nspawn Starts

2015-08-14 Thread Rich Freeman
On Fri, Aug 14, 2015 at 1:30 PM, Lennart Poettering wrote: > On Mon, 10.08.15 08:03, Rich Freeman (r-syst...@thefreemanclan.net) wrote: > > We have watchdog (see WatchdogSec= documentation in > systemd.service(5)) support in all our long-running daemons, and PID 1 > will kill the service and gener

[systemd-devel] Who has rights to override/ignore inhibitors?

2015-08-14 Thread Jayson Willson
Hello. I have realized, that my user (groups: tty,disk,mail,news,dialout,voice,sudo,audio,www-data,video,plugdev,users,mlocate,kvm,vboxusers,libvirt) can ignore inhibitors (such as root being logged in) using "systemctl suspend -i" without password prompt (though su, sudo and polkit do require

Re: [systemd-devel] possible kernel crash on bootctl install, can anyone confirm?

2015-08-14 Thread Michał Zegan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 May be, I asked systemd folks to confirm because this may or may not be specific to something systemd does internally when modifying them. I didn't get anything on efibootmgr, and I also didn't try again to use bootctl install, I just created entries w

Re: [systemd-devel] network configuration

2015-08-14 Thread Michał Zegan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually what is a procedure for more complicated network configuration, where you do not have something in networkd? W dniu 2015-08-14 o 19:33, Lennart Poettering pisze: > On Sun, 09.08.15 18:23, Michał Zegan (webczat_...@poczta.onet.pl) > wrote: >

Re: [systemd-devel] possible kernel crash on bootctl install, can anyone confirm?

2015-08-14 Thread Mantas Mikulėnas
On Fri, Aug 14, 2015 at 8:42 PM, Michał Zegan wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello. > > I was trying to install archlinux with linux 4.1, systemd-224 on the > uefi machine. > At the end of system installation, I issued bootctl install command > from within chroot, bu

Re: [systemd-devel] possible kernel crash on bootctl install, can anyone confirm?

2015-08-14 Thread Lennart Poettering
On Fri, 14.08.15 19:42, Michał Zegan (webczat_...@poczta.onet.pl) wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello. > > I was trying to install archlinux with linux 4.1, systemd-224 on the > uefi machine. > At the end of system installation, I issued bootctl install command > f

[systemd-devel] possible kernel crash on bootctl install, can anyone confirm?

2015-08-14 Thread Michał Zegan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. I was trying to install archlinux with linux 4.1, systemd-224 on the uefi machine. At the end of system installation, I issued bootctl install command from within chroot, but the command has failed because I did not have access to efi variables

Re: [systemd-devel] How to remove *~ journal files?

2015-08-14 Thread Lennart Poettering
On Sun, 09.08.15 09:57, Andrei Borzenkov (arvidj...@gmail.com) wrote: > More than half of all files here are *~ files: > > bor@opensuse:~/src/systemd> ls -1 > /var/log/journal/40527be2480f8cf60f4e8d4b06b0/*~ | wc -l > 85 > bor@opensuse:~/src/systemd> ls -1 > /var/log/journal/40527be2480f8cf

Re: [systemd-devel] network configuration

2015-08-14 Thread Lennart Poettering
On Sun, 09.08.15 18:23, Michał Zegan (webczat_...@poczta.onet.pl) wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Actually everything should be settable that can be done with ip-route > and ip-address and stuff... > And ip-rule, by the way. > But, no. Source= parameter in route secti

Re: [systemd-devel] Ignoring default gateway when configuring via dhcp

2015-08-14 Thread Lennart Poettering
On Mon, 10.08.15 11:47, Jetchko Jekov (jetchko.je...@gmail.com) wrote: > Greetings, > > I am investigating a possibility for using systemd-networkd for > networking setup but I am not able to figure out how to configure > networkd to skip installing a default gateway even if dhcp server > offers

Re: [systemd-devel] Troubleshooting Failed Nspawn Starts

2015-08-14 Thread Lennart Poettering
On Mon, 10.08.15 08:03, Rich Freeman (r-syst...@thefreemanclan.net) wrote: > Occassionally I'll have nspawn containers that freeze up when they're > loading. What is the best way to troubleshoot these and get useful > info to devs? Well, not sure what "freeze" means here... I'd always start by g

Re: [systemd-devel] Journal log rotation notification

2015-08-14 Thread Lennart Poettering
On Fri, 14.08.15 13:20, giulix (giulio.marti...@gmail.com) wrote: > Hello, > > I have a process that reads from the journald log file. It gets a > notification from inotify that something's changed, opens the journal, skims > through it for messages it's interested in, does its stuff and closes t

Re: [systemd-devel] udev-buildin-net_id.c hotplug slot with SRIOV

2015-08-14 Thread Keller, Jacob E
On Fri, 2015-08-14 at 06:29 +0300, Andrei Borzenkov wrote: > > On 14.08.2015 02:39, Keller, Jacob E wrote: > > Hello, > > > > I discussed this a while ago, but I have found that the hotplug > > slot > > names for ethernet devices gets confused when SRIOV is used. > > > > Basically: > > > > I ha

[systemd-devel] Regression: 'jounalctl -f -t unmatched' does not block

2015-08-14 Thread Stef Walter
Hi, The Cockpit integration test suite caught a recent regression in systemd. Using journalctl -f to follow unmatched criteria is broken. More details here: https://bugzilla.redhat.com/show_bug.cgi?id=1253649 Here's a patch: https://github.com/systemd/systemd/pull/958 Stef signature.asc Des

Re: [systemd-devel] Journal log rotation notification

2015-08-14 Thread giulix
Mantas, I do not want to reimplement all the logic myself, I just want to get journal entries directly at the source. The syscall you listed will do nicely, thank you, provided it supplies the right inode everytime my process is awakened by inotify. I will test it in the next hours/days. Tha

Re: [systemd-devel] Journal log rotation notification

2015-08-14 Thread Mantas Mikulėnas
On Fri, Aug 14, 2015 at 2:20 PM, giulix wrote: > Hello, > > I have a process that reads from the journald log file. It gets a > notification from inotify that something's changed, opens the journal, > skims through it for messages it's interested in, does its stuff and closes > the journal file (

[systemd-devel] Journal log rotation notification

2015-08-14 Thread giulix
Hello, I have a process that reads from the journald log file. It gets a notification from inotify that something's changed, opens the journal, skims through it for messages it's interested in, does its stuff and closes the journal file (http://www.giulix.it/content/extracting-data-systemd-jo

Re: [systemd-devel] Why is my docked idle laptop suspended?

2015-08-14 Thread Lennart Poettering
On Thu, 13.08.15 22:53, Michal Sojka (sojk...@fel.cvut.cz) wrote: > Hi list, > > I'm trying to figure out why is my laptop automatically suspended after > being idle in a docking station. As far as I understand, logind should > not suspend when the laptop is docked or external monitor is connecte