Re: [systemd-devel] Bugfix release(s)

2019-01-18 Thread Christian Hesse
Lennart Poettering on Wed, 2019/01/16 19:46: > And in case the tag matches ^v[0-9]+-pre-.*$ may be this: > > A new systemd ☠️ pre-release☠️ has just been tagged. Please > download the tarball here: > > https://github.com/systemd/systemd/archive/$TAG.tar.gz > > NOTE: This is ☠️

Re: [systemd-devel] Bugfix release(s)

2019-01-15 Thread Christian Hesse
Lennart Poettering on Tue, 2019/01/15 20:00: > Note that we don't branch releases right now. Instead when we are > getting closer to a release we simply don't merge PRs we don't > consider appropriate for the release anymore until after the > release. Or in other words: the master branch simply

Re: [systemd-devel] Port 231 security patch to 213

2016-10-24 Thread Christian Hesse
Jay Burger on Mon, 2016/10/24 10:54: > Hi, > > I need some help porting the security patch released in version 231 back > to version 213. If this is not the correct place for this question can > someone point me to the proper forum? > > Updating my system from 213 to

Re: [systemd-devel] [networkd] dbus interface?

2016-05-18 Thread Christian Hesse
Yuri D'Elia on Mon, 2016/05/16 21:30: > I'd like to monitor interface state changes as emitted by networkd. You may want to take a look at netlink-notify [0]. It does not use networkd at all but kernel's netlink interface. It's not perfect but works pretty well for me. And

Re: [systemd-devel] [PATCH 1/2] detect-virt: detect in best-heuristic order

2015-11-09 Thread Christian Hesse
Mantas Mikulėnas on Wed, 2015/11/04 15:55: > On Wed, Nov 4, 2015 at 3:52 PM, Lennart Poettering > wrote: > > > On Wed, 04.11.15 15:54, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > > > > 04.11.2015 00:04, Andrew Jones пишет: > > > >afaict, this

[systemd-devel] inotify_add_watch() failed: Bad file descriptor

2015-05-26 Thread Christian Hesse
Hello everybody, with systemd v220 I see inotify errors from udevd. I get this once: systemd-udevd: inotify_add_watch(9, /dev/sr0, 10) failed: Bad file descriptor And a lot of these: systemd-udevd: inotify_add_watch(9, /dev/dm-[0-9]+, 10) failed: Bad file descriptor -- main(a){char*c=/*

Re: [systemd-devel] 220 udev boot regression: timeout, giving up waiting for workers to finish

2015-05-26 Thread Christian Hesse
Martin Pitt martin.p...@ubuntu.com on Tue, 2015/05/26 17:11: Hello Tom, all, with 220 I get a severe boot time regression: $ systemd-analyze Startup finished in 30.751s (kernel) + 11.706s (userspace) = 42.458s which used to be $ systemd-analyze Startup finished in 703ms

Re: [systemd-devel] heads-up: chasing journal(?) related regression in 219 causing boot hang/fail

2015-04-27 Thread Christian Hesse
Martin Pitt martin.p...@ubuntu.com on Sat, 2015/04/11 10:38: Hello Tobias, Tobias Hunger [2015-04-11 2:17 +0200]: did you make any progress with this bug? Apparently the same issue is blocking systemd-219 from getting into arch linux ( https://bugs.archlinux.org/task/44016 ), so this

Re: [systemd-devel] mounting loop

2015-04-21 Thread Christian Hesse
Christian Hesse l...@eworm.de on Mon, 2015/04/20 09:25: Hello everybody, with systemd 219 mounting a filesystem image in loopback mode fails. Using these command: # truncate -s 1G /tmp/test.img # mkfs.ext4 /tmp/test.img [...] # mount -o loop /tmp/test.img /mnt/tmp systemd umounts

[systemd-devel] mounting loop

2015-04-20 Thread Christian Hesse
Hello everybody, with systemd 219 mounting a filesystem image in loopback mode fails. Using these command: # truncate -s 1G /tmp/test.img # mkfs.ext4 /tmp/test.img [...] # mount -o loop /tmp/test.img /mnt/tmp systemd umounts the image as it thinks it is inactive: Apr 20 08:54:28 leda

Re: [systemd-devel] odd seek_tail behaviour

2014-10-14 Thread Christian Hesse
Christian Hesse l...@eworm.de on Mon, 2014/10/13 23:56: Christian Hesse l...@eworm.de on Mon, 2014/10/13 20:22: Daurnimator q...@daurnimator.com on Mon, 2014/10/13 01:27: Hi All, I was trying to write a program that tailed the journal, but found that sd_journal_seek_tail() didn't

Re: [systemd-devel] odd seek_tail behaviour

2014-10-13 Thread Christian Hesse
Daurnimator q...@daurnimator.com on Mon, 2014/10/13 01:27: Hi All, I was trying to write a program that tailed the journal, but found that sd_journal_seek_tail() didn't work as expected. That is: that it would seek to the last/most recent thing in the journal, and I could tail things from

[systemd-devel] [PATCH 1/1] sd-journal: consistently use ternany for all direction checks

2014-10-13 Thread Christian Hesse
From: Christian Hesse m...@eworm.de --- src/journal/sd-journal.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c index 479444c..daa04ac 100644 --- a/src/journal/sd-journal.c +++ b/src/journal/sd-journal.c @@ -849,10

Re: [systemd-devel] odd seek_tail behaviour

2014-10-13 Thread Christian Hesse
Christian Hesse l...@eworm.de on Mon, 2014/10/13 20:22: Daurnimator q...@daurnimator.com on Mon, 2014/10/13 01:27: Hi All, I was trying to write a program that tailed the journal, but found that sd_journal_seek_tail() didn't work as expected. That is: that it would seek to the last

[systemd-devel] percentage values in journald.conf

2014-09-19 Thread Christian Hesse
Hello everybody, I am just trying to give journald some useful configuration on my system with a dedicated log partition. The man page speaks about default values in percent, so I tried: SystemMaxUse=75% SystemKeepFree=25% However this is ignored. Are values in percent supposed to work? Either

[systemd-devel] [PATCH 2/2] man/sd_journal_get_data: fix variable naming in example

2014-07-01 Thread Christian Hesse
From: Christian Hesse m...@eworm.de --- man/sd_journal_get_data.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/sd_journal_get_data.xml b/man/sd_journal_get_data.xml index 343b680..1222939 100644 --- a/man/sd_journal_get_data.xml +++ b/man/sd_journal_get_data.xml

[systemd-devel] [PATCH 1/2] man/sd_journal_next: fix argument in example

2014-07-01 Thread Christian Hesse
From: Christian Hesse m...@eworm.de The example does not compile, it fails with: error: passing argument 3 of ‘sd_journal_get_data’ from incompatible pointer type Cast to (const void **) to avoid this. --- man/sd_journal_next.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[systemd-devel] regular expressions in sd_journal_add_match()

2014-07-01 Thread Christian Hesse
Hello everybody, I am using libsystemd to access the system journal. Playing with sd_journal_add_match() it looks like I can only match strings. Regular expressions are not supported, no? Any chance to get this implemented? Or any reason not to implement this? -- main(a){char*c=/*Schoene

Re: [systemd-devel] networkd config for dummy0 interface

2014-06-30 Thread Christian Hesse
Matthias Schiffer mschif...@universe-factory.net on Mon, 2014/06/30 23:47: On 06/24/2014 12:25 PM, Tom Gundersen wrote: On Tue, Jun 24, 2014 at 12:14 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: Hi. I have very strange task: Not tested, but I would start with trying: 1) Nedd

Re: [systemd-devel] networkd config for dummy0 interface

2014-06-30 Thread Christian Hesse
Matthias Schiffer mschif...@universe-factory.net on Tue, 2014/07/01 07:08: On 07/01/2014 05:56 AM, Christian Hesse wrote: Matthias Schiffer mschif...@universe-factory.net on Mon, 2014/06/30 23:47: On 06/24/2014 12:25 PM, Tom Gundersen wrote: On Tue, Jun 24, 2014 at 12:14 PM, Vasiliy

Re: [systemd-devel] mdns support to networkd

2014-06-20 Thread Christian Hesse
Lennart Poettering lenn...@poettering.net on Fri, 2014/06/20 20:19: On Sat, 14.06.14 01:13, Vasiliy Tolstov (v.tols...@selfip.ru) wrote: As i see avahi development stopped. Well, yeah, I am doign a shitty job at maintaining it. Does mdns support goes to networkd or no? Well, no. But

[systemd-devel] [PATCH 1/1] udev: really exclude device-mapper from block device ownership event locking

2014-06-10 Thread Christian Hesse
Arguments were wrong order, no? This fixes commits: e918a1b5a94f270186dca59156354acd2a596494 3d06f4183470d42361303086ed9dedd29c0ffc1b --- src/udev/udevd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 0f3f3f0..160360e 100644 ---

Re: [systemd-devel] networkd: create tun/tap device?

2014-06-03 Thread Christian Hesse
Tom Gundersen t...@jklm.no on Fri, 2014/05/16 14:54: On Fri, May 16, 2014 at 12:24 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 07.05.14 08:22, Christian Hesse (l...@eworm.de) wrote: Hello everybody, currently it is not possible to create tun/tap device with networkd

Re: [systemd-devel] unlocking encrypted hard disk two factor authentication (password and Yubikey)

2014-06-03 Thread Christian Hesse
Lennart Poettering lenn...@poettering.net on Fri, 2014/05/16 18:56: On Wed, 30.04.14 23:20, Christian Hesse (m...@eworm.de) wrote: 4. udev launches my executable 'ykfde' 5. ykfde asks for a second password (second factor) 6. user types second password on keyboard 7. ykfde reveives

[systemd-devel] networkd: create tun/tap device?

2014-05-07 Thread Christian Hesse
Hello everybody, currently it is not possible to create tun/tap device with networkd. Is this feature planned? Anybody working on it? -- main(a){char*c=/*Schoene Gruesse */B?IJj;MEH CX:;,b;for(a/*Chris get my mail address:*/=0;b=c[a++];)

[systemd-devel] unlocking encrypted hard disk two factor authentication (password and Yubikey)

2014-04-30 Thread Christian Hesse
Hello everybody, for encrypted hard disks systemd asks via password agent [0] request for a key to unlock the device. I coded a little program that can answer the request with information received from a Yubikey [1] in challenge/response HMAC-SHA1 mode: 1. systemd asks for password 2. Yubikey is

Re: [systemd-devel] brightness in tmpfiles.d

2013-08-13 Thread Christian Hesse
Mantas Mikulėnas graw...@gmail.com on Tue, 2013/08/13 00:27: On Mon, Aug 12, 2013 at 11:40 PM, Christian Hesse l...@eworm.de wrote: Hello everybody, I have a file /etc/tmpfiles.d/brightness.conf containing this line: w /sys/class/backlight/acpi_video0/brightness - - - - 10 This used

[systemd-devel] brightness in tmpfiles.d

2013-08-12 Thread Christian Hesse
Hello everybody, I have a file /etc/tmpfiles.d/brightness.conf containing this line: w /sys/class/backlight/acpi_video0/brightness - - - - 10 This used to set the brightness on boot, but broke lately. The path is correct, so I assume this is a race condition. Any chance to get this work again?

[systemd-devel] [PATCH 1/1] tests: skip test for test-unit-file when executed without privileges

2013-07-30 Thread Christian Hesse
/(/* gcc -o sig sig.c ./sig*/b/42*2-3)*42);} From 50ff13f7cf44f9e7e93c82f67ac777456b7e8364 Mon Sep 17 00:00:00 2001 From: Christian Hesse m...@eworm.de Date: Tue, 30 Jul 2013 11:35:25 +0200 Subject: [PATCH 1/1] tests: skip test for test-unit-file when executed without privileges --- src

Re: [systemd-devel] [PATCH 1/1] tests: skip test for test-unit-file when executed without privileges

2013-07-30 Thread Christian Hesse
Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl on Tue, 2013/07/30 13:52: On Tue, Jul 30, 2013 at 11:50:54AM +0200, Christian Hesse wrote: Hello everybody, for me this test fails and I think it is correct to skip it in case permission is denied. Patch attached. It *is* an error

Re: [systemd-devel] login problems

2013-05-03 Thread Christian Hesse
Lennart Poettering lenn...@poettering.net on Fri, 2013/05/03 16:30: On Tue, 30.04.13 00:03, Christian Hesse (m...@eworm.de) wrote: Hello everybody, ok, this looks very tricky... I have no idea what happens and I have no way to reproduce this. It just happens from time to time - very

[systemd-devel] login problems

2013-04-29 Thread Christian Hesse
Hello everybody, ok, this looks very tricky... I have no idea what happens and I have no way to reproduce this. It just happens from time to time - very seldom. If this happens I am not able to log in from lxdm and getty. The only way back into the system is getting a failed login from getty, it

Re: [systemd-devel] login problems

2013-04-29 Thread Christian Hesse
Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl on Tue, 2013/04/30 01:05: On Tue, Apr 30, 2013 at 12:03:24AM +0200, Christian Hesse wrote: Hello everybody, ok, this looks very tricky... I have no idea what happens and I have no way to reproduce this. It just happens from time to time

Re: [systemd-devel] Hybrid-sleep needs to be executed bu superuser

2012-12-17 Thread Christian Hesse
Federico Di Pierro nierr...@gmail.com on Mon, 2012/12/17 21:19: Hi! I'm using systemd 196 on my archlinux, with linux 3.7.0 . I found out that systemctl hybrid-sleep needs to be ran as root. While my session is active (using systemd-logind feature), and in fact i can

Re: [systemd-devel] Hybrid-sleep needs to be executed bu superuser

2012-12-17 Thread Christian Hesse
Christian Hesse l...@eworm.de on Mon, 2012/12/17 21:33: Federico Di Pierro nierr...@gmail.com on Mon, 2012/12/17 21:19: Hi! I'm using systemd 196 on my archlinux, with linux 3.7.0 . I found out that systemctl hybrid-sleep needs to be ran as root. While my session is active (using systemd

[systemd-devel] fix return code for systemctl in chroot

2012-10-17 Thread Christian Hesse
Hello everybody, if 'systemctl enable' (and friends) is run inside chroot it always exits with a bad return code. unit_file_enable() returns the number of symlink rules that were supposed to be created. So resetting r to 0 and exiting gracefully should be the correct way. At least it fixes it for

[systemd-devel] fix typo in comment

2012-10-17 Thread Christian Hesse
Hello everybody, I found a typo in comment. Patch is attached, thanks! -- main(a){char*c=/*Schoene Gruesse */B?IJj;MEH CX:;,b;for(a/*Chris get my mail address:*/=0;b=c[a++];) putchar(b-1/(/* gcc -o sig sig.c ./sig*/b/42*2-3)*42);}

[systemd-devel] journald: no such file or directory

2012-09-04 Thread Christian Hesse
Hello everybody, a daemon flooded my syslog and rsyslog filled my log partition. After that journald complains on startup: systemd-journald[260]: Failed to open /var/log/journal/d1ba4a2d5fc8ab0c4c46f6f74b607fdd/fss: No such file or directory How to fix that? Everything seems to work without

Re: [systemd-devel] journald: no such file or directory

2012-09-04 Thread Christian Hesse
Dave Reisner d...@falconindy.com on Tue, 2012/09/04 06:03: On Tue, Sep 04, 2012 at 09:44:26AM +0200, Christian Hesse wrote: Hello everybody, a daemon flooded my syslog and rsyslog filled my log partition. After that journald complains on startup: systemd-journald[260]: Failed

Re: [systemd-devel] pam_systemd.so and su

2012-03-28 Thread Christian Hesse
Lennart Poettering lenn...@poettering.net on Tue, 2012/03/27 12:58: On Thu, 22.03.12 12:11, Christian Hesse (l...@eworm.de) wrote: Do you have audit enabled in the kernel and are using pam_loginuid? Normally, when the pam session close hooks are called logind responds

Re: [systemd-devel] pam_systemd.so and su

2012-03-22 Thread Christian Hesse
Lennart Poettering lenn...@poettering.net on Thu, 2012/03/22 02:11: On Thu, 22.03.12 00:41, Lennart Poettering (lenn...@poettering.net) wrote: On Sun, 18.03.12 16:08, Canek Peláez Valdés (can...@gmail.com) wrote: Hi; I'm using systemd 43 in Gentoo, and I usally have this line at the

Re: [systemd-devel] special characters in console

2012-03-20 Thread Christian Hesse
Lennart Poettering lenn...@poettering.net on Tue, 2012/03/20 21:19: On Tue, 20.03.12 20:24, Christian Hesse (m...@eworm.de) wrote: Christian Hesse l...@eworm.de on Tue, 2012/03/20 18:16: I used to have problems with special characters in console, this includes German umlauts (ä, ö, ü

Re: [systemd-devel] systemd v4[01] and graphical login managers

2012-02-10 Thread Christian Hesse
Lennart Poettering lenn...@poettering.net on Thu, 9 Feb 2012 22:29:38 +0100: On Thu, 09.02.12 20:57, Christian Hesse (l...@eworm.de) wrote: systemd-logind tracks open sessions by keeping open a FIFO fd to the PAM session client. When the session client dies then systemd will see

Re: [systemd-devel] systemd v4[01] and graphical login managers

2012-02-10 Thread Christian Hesse
Lennart Poettering lenn...@poettering.net on Fri, 10 Feb 2012 21:02:03 +0100: On Fri, 10.02.12 09:48, Christian Hesse (l...@eworm.de) wrote: Lennart Poettering lenn...@poettering.net on Thu, 9 Feb 2012 22:29:38 +0100: On Thu, 09.02.12 20:57, Christian Hesse (l...@eworm.de) wrote

Re: [systemd-devel] systemd v4[01] and graphical login managers

2012-02-10 Thread Christian Hesse
Cristian Rodríguez crrodrig...@opensuse.org on Fri, 10 Feb 2012 18:05:42 -0300: On 09/02/12 14:50, Christian Hesse wrote: Hello everybody, starting with systemd v40 I have problems with graphical login managers (tested with lightdm and slim on Arch). After successful user authentication

[systemd-devel] systemd v4[01] and graphical login managers

2012-02-09 Thread Christian Hesse
Hello everybody, starting with systemd v40 I have problems with graphical login managers (tested with lightdm and slim on Arch). After successful user authentication the login manager is killed by systemd-logind with SIGTERM. I think this is because of the changes in commit logind: if we have to

Re: [systemd-devel] systemd v4[01] and graphical login managers

2012-02-09 Thread Christian Hesse
Lennart Poettering lenn...@poettering.net on Thu, 9 Feb 2012 19:38:39 +0100: On Thu, 09.02.12 18:50, Christian Hesse (l...@eworm.de) wrote: Hello everybody, starting with systemd v40 I have problems with graphical login managers (tested with lightdm and slim on Arch). After

Re: [systemd-devel] User services

2012-02-09 Thread Christian Hesse
Gustavo Sverzut Barbieri barbi...@profusion.mobi on Mon, 23 Jan 2012 12:22:46 -0200: On Mon, Jan 23, 2012 at 11:51 AM, Mike Kazantsev mk.frag...@gmail.com wrote: On Mon, 23 Jan 2012 09:16:52 +0100 Christian Hesse l...@eworm.de wrote: I think systemd caring about session is a great idea

Re: [systemd-devel] WorkingDirectory in service file

2011-11-24 Thread Christian Hesse
Colin Guthrie gm...@colin.guthr.ie on Thu, 24 Nov 2011 20:51:19 +: 'Twas brillig, and Christian Hesse at 23/11/11 20:07 did gyre and gimble: Christian Hesse l...@eworm.de on Tue, 22 Nov 2011 14:44:01 +0100: [...] Looks like WorkingDirectory is ignored and the real working directory

Re: [systemd-devel] WorkingDirectory in service file

2011-11-23 Thread Christian Hesse
Christian Hesse l...@eworm.de on Tue, 22 Nov 2011 14:44:01 +0100: [...] Looks like WorkingDirectory is ignored and the real working directory is / as I have to call scripts within the configuration with absolute paths. pwd run inside a script gives /. Everything works as expected

[systemd-devel] WorkingDirectory in service file

2011-11-22 Thread Christian Hesse
Hello everybody, I use a service file for openvpn from the Arch Linux systemd-arch-units package: [Unit] Description=OpenVPN connection to %i After=network.target [Service] Type=forking ExecStart=/usr/sbin/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i WorkingDirectory=/etc/openvpn

Re: [systemd-devel] Trying to build on a new LFS system.

2011-06-20 Thread Christian Hesse
Stef Bon stef...@gmail.com on Mon, 20 Jun 2011 15:15:57 +0200: Thanks a lot, And how do I select the services to be started at boot time?? I've seen lots of documentation, and possibly I did not read good enough. Just add init=/bin/systemd to you boot options. -- Schoene Gruesse Chris

[systemd-devel] tmux / screen

2011-05-27 Thread Christian Hesse
Hello everybody, I've set up pam to use pam_systemd.so. This way tmux and screen work, but other processes started in this session will continue to run after the user logs out. I would like to set kill-user=1 or kill-session=1, but that breaks tmux and screen. What is the correct fix for that?

Re: [systemd-devel] systemd - move /selinux to /sys/fs/selinux - maybe remove /srv ?

2011-04-29 Thread Christian Hesse
On Fri, 29 Apr 2011 08:41:37 +0200 Michał Piotrowski mkkp...@gmail.com wrote: W dniu 29 kwietnia 2011 04:09 użytkownik Jasper Boot jasper.b...@gmail.com napisał: Hi, 2011/4/29 Michał Piotrowski mkkp...@gmail.com Hi, By the way, maybe it would be good to think about the meaning of

Re: [systemd-devel] systemctl runs systemd-tty-ask-password-agent and hangs?

2011-04-20 Thread Christian Hesse
On Tue, 19 Apr 2011 17:02:51 +0200 Albert Strasheim full...@gmail.com wrote: Hello again I had the same problem again today trying to start a service. Hello everybody, I have the same problem on a number of Arch Linux Systems. The boot process stalls untill

Re: [systemd-devel] systemctl runs systemd-tty-ask-password-agent and hangs?

2011-04-20 Thread Christian Hesse
On Wed, 20 Apr 2011 16:04:55 +0200 Lennart Poettering lenn...@poettering.net wrote: On Wed, 20.04.11 12:12, Christian Hesse (l...@eworm.de) wrote: On Tue, 19 Apr 2011 17:02:51 +0200 Albert Strasheim full...@gmail.com wrote: Hello again I had the same problem again today trying