Re: [systemd-devel] Bonding wireless and wired internet connection makes my internet really slow

2018-05-04 Thread Kai Krakow
Am Thu, 03 May 2018 14:34:34 +0300 schrieb Doron Behar: > Hi everyone, > > I'm trying to bond my wireless and wired network interfaces using > `systemd-networkd`. Since I didn't want to put any configuration in > `/etc/systemd/network/` I don't fully understand, this is the > configuration I've

Re: [systemd-devel] systemd-journald may crash during memory pressure

2018-02-10 Thread Kai Krakow
Am Sat, 10 Feb 2018 09:39:35 -0800 schrieb vcaputo: >> After some more research, I found that vm.watermark_scale_factor may be >> the knob I am looking for. I'm going to watch behavior now with a >> higher factor (default = 10, now 200). >> >> > Have you reporteed this to the kernel

Re: [systemd-devel] systemd-journald may crash during memory pressure

2018-02-10 Thread Kai Krakow
Am Sat, 10 Feb 2018 14:23:34 +0100 schrieb Kai Krakow: > Am Sat, 10 Feb 2018 02:16:44 +0200 schrieb Uoti Urpala: > >> On Fri, 2018-02-09 at 12:41 +0100, Lennart Poettering wrote: >>> This last log lines indicates journald wasn't scheduled for a long >>> time wh

Re: [systemd-devel] systemd-journald may crash during memory pressure

2018-02-10 Thread Kai Krakow
Am Sat, 10 Feb 2018 02:16:44 +0200 schrieb Uoti Urpala: > On Fri, 2018-02-09 at 12:41 +0100, Lennart Poettering wrote: >> This last log lines indicates journald wasn't scheduled for a long >> time which caused the watchdog to hit and journald was >> aborted. Consider increasing the watchdog

Re: [systemd-devel] systemd-journald may crash during memory pressure

2018-02-09 Thread Kai Krakow
entirely to make it more tolerant of thrashing. > > What I presume happened is the system was thrashing and a page fault in > the mapped journal took too long to complete. Oh thanks, this is a good pointer. I'll try that. > On Thu, Feb 08, 2018 at 11:50:45PM +0100, Kai Krakow wrote: &g

[systemd-devel] systemd-journald may crash during memory pressure

2018-02-08 Thread Kai Krakow
Hello! During memory pressure and/or high load, journald may crash. This is probably due to design using mmap but it should really not do this. On 32-bit systems, we are seeing such crashes constantly although the available memory is still gigabytes (it's a 32-bit userland running in a 64-bit

Re: [systemd-devel] systemctl --user user can't restart their own service?

2017-11-17 Thread Kai Krakow
Am Fri, 17 Nov 2017 10:00:35 -0800 schrieb Jeff Solomon : > Hi, > > Is it by-design that a user can't restart their own user service? > > I have worked around this by doing the following: > > Override /lib/systemd/system/user@.service with a new file: > >

Re: [systemd-devel] MemoryLimit for user unit

2017-11-12 Thread Kai Krakow
Am Sun, 12 Nov 2017 18:14:38 +0100 schrieb Stefan Schweter : > Hi systemd-users, > > I tried to add a memory limit for a user service unit (inspired by > [1]), it looks like: > > [Service] > # > MemoryAccounting=true > MemoryLimit=1G > > Now the problem is that the

Re: [systemd-devel] How to generate core file in system service

2017-09-26 Thread Kai Krakow
Am Mon, 25 Sep 2017 10:26:48 +0200 schrieb Miroslav Suchý : > Dne 25.9.2017 v 08:47 Mantas Mikulėnas napsal(a): > > But when I start the deamon by "teamd" directly, I could get core > > file. When I start it by systemctl start teamd@team0.service, no > > core file was generate

Re: [systemd-devel] Dedup timers?

2017-09-26 Thread Kai Krakow
Am Mon, 25 Sep 2017 22:45:23 -0700 schrieb Daniel Wang : > I have a number of timers that all look something like the following: > > cat /etc/systemd/system/foo.timer > [Unit] > Description=Run foo every hour > > [Timer] > OnCalendar=hourly > > cat

Re: [systemd-devel] Github systemd issue 6237

2017-07-08 Thread Kai Krakow
Am Sat, 8 Jul 2017 08:05:44 +0200 schrieb Kai Krakow <hurikha...@gmail.com>: > Am Sat, 8 Jul 2017 11:39:02 +1000 (AEST) > schrieb Michael Chapman <m...@very.puzzling.org>: > > > On Sat, 8 Jul 2017, Kai Krakow wrote: > > [...] > > > The bug h

Re: [systemd-devel] Github systemd issue 6237

2017-07-08 Thread Kai Krakow
Am Sat, 8 Jul 2017 11:39:02 +1000 (AEST) schrieb Michael Chapman <m...@very.puzzling.org>: > On Sat, 8 Jul 2017, Kai Krakow wrote: > [...] > > The bug here is that a leading number will "convert" to the number > > and it actually runs with the UID specified

Re: [systemd-devel] Github systemd issue 6237

2017-07-07 Thread Kai Krakow
Am Tue, 4 Jul 2017 21:23:01 + (UTC) schrieb Alexander Bisogiannis : > On Tue, 04 Jul 2017 17:21:01 +, Zbigniew Jędrzejewski-Szmek wrote: > > > If you need root permissions to create a unit, then it's not a > > security issue. An annoyance at most. > > The fact that

Re: [systemd-devel] Dropping core with Systemd.

2017-05-15 Thread Kai Krakow
Am Mon, 15 May 2017 11:54:08 -0400 schrieb Steve Dickson : > Hello, > > I want rpcbind to drop core so I can debug > something but systemd keeps getting in the way > > systemd: rpcbind.service: Main process exited, code=killed, > status=6/ABRT audit: ANOM_ABEND

Re: [systemd-devel] 11 MB cost of DefaultMemoryAccounting=yes

2017-05-11 Thread Kai Krakow
Am Thu, 11 May 2017 10:26:33 +0200 schrieb Umut Tezduyar Lindskog : > Hello, > > Even though this is not a systemd problem, I believe systemd mailing > list is a good place to discuss. > > Our kernel has CONFIG_MEMCG enabled. As soon as we set > DefaultMemoryAccounting=yes,

Re: [systemd-devel] systemd-resolved continuously switching DNS servers

2017-05-10 Thread Kai Krakow
Am Tue, 9 May 2017 20:37:16 +0200 schrieb Lennart Poettering <lenn...@poettering.net>: > On Tue, 09.05.17 00:42, Kai Krakow (hurikha...@gmail.com) wrote: > > > Am Sat, 6 May 2017 14:22:21 +0200 > > schrieb Kai Krakow <hurikha...@gmail.com>: > > >

Re: [systemd-devel] systemd-resolved continuously switching DNS servers

2017-05-08 Thread Kai Krakow
Am Sat, 6 May 2017 14:22:21 +0200 schrieb Kai Krakow <hurikha...@gmail.com>: > Am Fri, 5 May 2017 20:18:41 +0200 > schrieb Lennart Poettering <lenn...@poettering.net>: > > > On Fri, 05.05.17 01:01, Kai Krakow (hurikha...@gmail.com) wrote: > > > > > H

Re: [systemd-devel] systemd-resolved continuously switching DNS servers

2017-05-06 Thread Kai Krakow
Am Fri, 5 May 2017 20:18:41 +0200 schrieb Lennart Poettering <lenn...@poettering.net>: > On Fri, 05.05.17 01:01, Kai Krakow (hurikha...@gmail.com) wrote: > > > Hello! > > > > Why is systemd-resolved switching DNS servers all day long? This > > doesn't se

[systemd-devel] systemd-resolved continuously switching DNS servers

2017-05-04 Thread Kai Krakow
Hello! Why is systemd-resolved switching DNS servers all day long? This doesn't seem to be right... Mai 05 00:52:46 jupiter systemd-resolved[658]: Switching to DNS server 192.168.4.254 for interface enp5s0. Mai 05 00:52:53 jupiter systemd-resolved[658]: Switching to DNS server

Re: [systemd-devel] journal fragmentation on Btrfs

2017-04-17 Thread Kai Krakow
Am Mon, 17 Apr 2017 16:01:48 +0200 schrieb Kai Krakow <hurikha...@gmail.com>: > > We also ask btrfs to defrag the file as soon as we mark it as > > archived... > > This makes sense. And I've learned that journal on btrfs works much > better if you use many small file

Re: [systemd-devel] journal fragmentation on Btrfs

2017-04-17 Thread Kai Krakow
Am Mon, 17 Apr 2017 11:57:21 +0200 schrieb Lennart Poettering : > On Sun, 16.04.17 14:30, Chris Murphy (li...@colorremedies.com) wrote: > > > Hi, > > > > This is on a Fedora 26 workstation (systemd-233-3.fc26.x86_64) > > that's maybe a couple weeks old and was clean

Re: [systemd-devel] My experience with MySQL and systemctl

2017-04-11 Thread Kai Krakow
Am Tue, 11 Apr 2017 15:08:35 +0200 schrieb Lennart Poettering : > > Eventually, after checking all our backups, I decided to issue kill > > -9 to mysqld. I then decided to try restarting the daemon using > > systemctl. It did start up, the log output showed the crash

Re: [systemd-devel] more verbose debug info than systemd.log_level=debug?

2017-04-10 Thread Kai Krakow
Am Mon, 10 Apr 2017 13:54:27 +0200 schrieb Lennart Poettering <lenn...@poettering.net>: > On Mon, 10.04.17 13:43, Kai Krakow (hurikha...@gmail.com) wrote: > > > Am Mon, 10 Apr 2017 11:04:45 +0200 > > schrieb Lennart Poettering <lenn...@poettering.net>: > >

Re: [systemd-devel] high latency on systemd-resolved repsonses of LLMNR names

2017-04-10 Thread Kai Krakow
Am Mon, 10 Apr 2017 12:46:02 +0200 schrieb Lennart Poettering <lenn...@poettering.net>: > On Mon, 10.04.17 12:41, Kai Krakow (hurikha...@gmail.com) wrote: > > > > Queries and responses in LLMNR are supposed to be delayed by a > > > random time up to 1

Re: [systemd-devel] more verbose debug info than systemd.log_level=debug?

2017-04-10 Thread Kai Krakow
Am Mon, 10 Apr 2017 11:04:45 +0200 schrieb Lennart Poettering : > > Remember, all of this is because there *is* software that does the > > wrong thing, and it *is* possible for software to hang and be > > unkillable. It would be good for systemd to do the right thing even

Re: [systemd-devel] high latency on systemd-resolved repsonses of LLMNR names

2017-04-10 Thread Kai Krakow
Am Mon, 10 Apr 2017 10:26:14 +0200 schrieb Lennart Poettering : > On Sun, 09.04.17 19:22, Paul Freeman (p...@coredev.org.uk) wrote: > > > Hi, > > We are seeing high latency (>100ms) when resolving local names via > > LLMNR. > > Queries and responses in LLMNR are

Re: [systemd-devel] Add DATADOS, fat32 to fstab file

2017-04-06 Thread Kai Krakow
Am Fri, 7 Apr 2017 00:03:16 +0200 schrieb Reindl Harald : > Am 06.04.2017 um 22:15 schrieb Gary Evans: > > I tried to copy > > > > UUID=B813-BB28 /boot/efi vfat umask=0077 0 1 > > > > for my DOS data partition but it caused Debian not to boot. This is > > how it's

Re: [systemd-devel] Temporarily stopping a service while oneshot is running

2017-03-30 Thread Kai Krakow
Am Thu, 30 Mar 2017 16:13:25 +0200 schrieb Lennart Poettering : > On Tue, 21.03.17 07:47, Ian Pilcher (arequip...@gmail.com) wrote: > > > I have a oneshot service (run from a timer) that updates the TLS > > certificates in my mod_nss database. Because NSS doesn't support

Re: [systemd-devel] Temporarily stopping a service while oneshot is running

2017-03-21 Thread Kai Krakow
Am Tue, 21 Mar 2017 07:47:59 -0500 schrieb Ian Pilcher : > I have a oneshot service (run from a timer) that updates the TLS > certificates in my mod_nss database. Because NSS doesn't support > concurrent access to the database, I need to temporarily shut down > Apache while

Re: [systemd-devel] Can a systemd --user instance rely on After= of systemd --system instance?

2017-03-06 Thread Kai Krakow
Am Sat, 4 Mar 2017 22:07:57 +0300 schrieb Andrei Borzenkov : > 04.03.2017 13:49, Peter Hoeg пишет: > > Hi, > > > >> If I have a user service which needs to have the system database > >> server available: How do I construct a proper depend? > > > > As Lennart was

Re: [systemd-devel] Can a systemd --user instance rely on After= of systemd --system instance?

2017-03-03 Thread Kai Krakow
Am Sun, 26 Feb 2017 21:35:27 +0100 schrieb Lennart Poettering : > On Sat, 25.02.17 17:34, Patrick Schleizer > (patrick-mailingli...@whonix.org) wrote: > > > Hi, > > > > I read, that a systemd --user instance cannot use Requires=. > > > > But what about After=? Can a

Re: [systemd-devel] [networkd] Mixing DHCP & static IPs on 1 interface

2017-02-22 Thread Kai Krakow
Am Tue, 21 Feb 2017 18:30:07 -0600 schrieb Ian Pilcher : > I'm trying to find a way to do this with systemd-networkd. > > The reason is that my cable modem listens on a 192.168.X.X address. > Normally this "just works". My firewall tries to send traffic > destined for this

Re: [systemd-devel] 2017: systemd-readahead?

2017-02-06 Thread Kai Krakow
Am Mon, 6 Feb 2017 21:52:09 +0100 schrieb Lennart Poettering : > On Tue, 10.01.17 12:14, Che (comandantegri...@gmail.com) wrote: > > > What's the 2017 status of systemd-readahead..? Permanently dead? > > Well, we removed it from the systemd tree, and suggested other

Re: [systemd-devel] Stable interface names even when hardware is added or removed, not true

2016-12-01 Thread Kai Krakow
Am Thu, 17 Nov 2016 18:53:53 +0100 schrieb Lennart Poettering : > On Wed, 16.11.16 23:19, Pekka Sarnila (sarn...@adit.fi) wrote: > > > Well my first point was that the web page should not say > > > [...] > > I now added a small extension to this line: "(to the

Re: [systemd-devel] after=user.slice not enforced

2016-11-24 Thread Kai Krakow
Am Wed, 23 Nov 2016 09:14:34 +0100 schrieb Cédric BRINER : > Hi, > > For the context, we are trying to stop a daemon launched by a user... > > >> Hi, > >> > >> sapRunning service contains a "After=user.slice". But at the > >> shutdown, a process (write-sysv-test.pl)

Re: [systemd-devel] Script in /usr/lib/systemd/system-shutdown not executed on init 6

2016-11-24 Thread Kai Krakow
Am Thu, 24 Nov 2016 10:39:52 +0100 schrieb Benoit SCHMID : > Hello, > > On 11/23/2016 03:52 PM, Reindl Harald wrote: > > so why do you strip the whole context and rest of the response? > > > > what is your exactly problem? > > > I think my original question on this

Re: [systemd-devel] how to run a script which takes about 30 seconds before shutdown

2016-11-12 Thread Kai Krakow
Am Thu, 10 Nov 2016 13:07:52 +0800 schrieb zerons : > On 11/09/2016 09:43 PM, Andrei Borzenkov wrote: > > On Wed, Nov 9, 2016 at 4:11 PM, zerons > > wrote: > >> Hi everyone. > >> > >> Everyday, I need to do something like `git pull` after

Re: [systemd-devel] rpcbind.socket failing

2016-11-01 Thread Kai Krakow
Am Tue, 1 Nov 2016 12:05:43 -0400 schrieb Steve Dickson : > rpcbind.service: Failed at step EXEC spawning /usr/bin/rpcbind: No > such file or directory Do you still use DefaultDependencies=no? Then /usr is probably not available that early (now that it can start much earlier

Re: [systemd-devel] rpcbind.socket failing

2016-10-31 Thread Kai Krakow
Am Mon, 31 Oct 2016 13:19:24 -0400 schrieb Steve Dickson : > Upstream has come up with some new rpcbind service socket files > and I'm trying to incorporate them into f25. > > The rpcbind.socket is failing to come up >rpcbind.socket: Failed to listen on sockets: No such

Re: [systemd-devel] BUG: Huge Problem: systemd does not mount all filesystems on Boot

2016-10-14 Thread Kai Krakow
Am Fri, 14 Oct 2016 19:58:13 +0300 schrieb Andrei Borzenkov : > 14.10.2016 12:11, Juergen Sauer пишет: > > Moin, > > > > Systemd 231, Archlinux current > > > > The concept is /home is to be mounted from nfs server. Works. > > For performance reasons (email thunderbird,

Re: [systemd-devel] proper way for shutdown script

2016-10-07 Thread Kai Krakow
Am Wed, 05 Oct 2016 14:40:52 +0200 schrieb Xen : > Xen schreef op 05-10-2016 14:37: > > > And this works. But now the service must be started first before it > > will be called on shutdown... :-/. > > I guess the package installer would have to start the service after >

Re: [systemd-devel] Auto-start of a Service in systemd

2016-10-06 Thread Kai Krakow
Am Wed, 5 Oct 2016 18:00:41 +0530 schrieb "Raghavendra. H. R" : > Andrei, > > Your doubt is absolutely correct. Default target of the system as > nothing to do with auto start of services. > > I checked both graphical.target & multi-user.target, surprisingly I > don't see

Re: [systemd-devel] Is it possible to load unit files from paths other than default paths ?

2016-09-27 Thread Kai Krakow
Am Tue, 27 Sep 2016 06:33:40 +0300 schrieb Andrei Borzenkov <arvidj...@gmail.com>: > 27.09.2016 05:10, Kai Krakow пишет: > > Am Mon, 26 Sep 2016 14:30:37 +0530 > > schrieb "Raghavendra. H. R" <raghuh...@gmail.com>: > > > >> Andre

Re: [systemd-devel] Is it possible to load unit files from paths other than default paths ?

2016-09-26 Thread Kai Krakow
Am Mon, 26 Sep 2016 14:30:37 +0530 schrieb "Raghavendra. H. R" : > Andrei, > > How to set SYSTEMD_UNIT_PATH in Systemd ? Maybe try "systemctl set-environment"? You may need to run "systemctl daemon-reload" after this for the new unit files to pick up. BTW: Please stop

Re: [systemd-devel] Is it possible to load unit files from paths other than default paths ?

2016-09-23 Thread Kai Krakow
op} bash scripts. I think it is easy to adapt for you. > On Thu, Sep 22, 2016 at 12:34 AM, Kai Krakow <hurikha...@gmail.com> > wrote: > > > Am Wed, 21 Sep 2016 16:56:52 +0530 > > schrieb "Raghavendra. H. R" <raghuh...@gmail.com>: > > > > >

Re: [systemd-devel] Is it possible to load unit files from paths other than default paths ?

2016-09-21 Thread Kai Krakow
Am Wed, 21 Sep 2016 16:56:52 +0530 schrieb "Raghavendra. H. R" : > Hi, > > I'm newbie with systemd boot system and I need help in resolving one > issue. > > I would like to create a service under a customized path Eg:/mnt and > systemd should be able to pick my unit file

[systemd-devel] [229] systemd timers not triggered after resume

2016-09-06 Thread Kai Krakow
Hello! I found that systemd no longer triggers the timer after waking the system. I'm not sure since which version this is true because I couldn't use suspend for a longer time due to driver bugs in the kernel. # /etc/systemd/system/internal-backup.timer [Unit] Description=Daily Backup Timer

[systemd-devel] [229] systemd timers not triggered after resume

2016-09-06 Thread Kai Krakow
Hello! I found that systemd no longer triggers the timer after waking the system. I'm not sure since which version this is true because I couldn't use suspend for a longer time due to driver bugs in the kernel. # /etc/systemd/system/internal-backup.timer [Unit] Description=Daily Backup Timer

[systemd-devel] [229] systemd timers not triggered after resume

2016-08-30 Thread Kai Krakow
Hello! I found that systemd no longer triggers the timer after waking the system. I'm not sure since which version this is true because I couldn't use suspend for a longer time due to driver bugs in the kernel. # /etc/systemd/system/internal-backup.timer [Unit] Description=Daily Backup Timer

Re: [systemd-devel] Emulate two cron tab entries to start/stop service unit natively?

2016-08-02 Thread Kai Krakow
Am Mon, 1 Aug 2016 23:59:13 + (UTC) schrieb John : > Is it possible to use a systemd timer unit to start and stop a > service unit according to set times of the day? In my case, > openvpn.service is a forking type if that matters. I can do this > using cron, but am

Re: [systemd-devel] Question about changing systemd target during boot

2016-08-01 Thread Kai Krakow
Am Mon, 1 Aug 2016 16:09:36 +0300 schrieb Svetoslav Iliev : > Hi guys, > > Thank you for the prompt reply and your valuable input. Just to let > you know - I was able to do exactly what I intended. As it turns out > my mistake was indeed creating contradiction between the

Re: [systemd-devel] Zero downtime restart of Web application (Nginx, Puma, JRuby)

2016-07-15 Thread Kai Krakow
Am Sat, 18 Jun 2016 13:56:03 +0200 schrieb Paul Menzel : > Dear systemd folks, > > > the setup is as follows. > > Nginx is used as the Web server, which communicates with a Ruby on > Rails application over a socket. Puma [1] is used as the application >

Re: [systemd-devel] Adding a Timer section to .service files

2016-07-09 Thread Kai Krakow
Am Fri, 8 Jul 2016 19:34:48 +0300 schrieb One Infinite Loop <6po...@gmail.com>: > As I said before, I don't want to replace .service+.timer > combination. I just think there are cases when .service file > (containing, for example, ExecStart followed by many ExecStartPost) > can have a [Crontab]

Re: [systemd-devel] How to set a limit for mounting roofs?

2016-07-06 Thread Kai Krakow
Am Wed, 6 Jul 2016 06:21:17 +0200 schrieb Lennart Poettering : > On Mon, 04.07.16 12:32, Chris Murphy (li...@colorremedies.com) wrote: > > > I have a system where I get an indefinite > > > > "A start job is running for dev-vda2.device (xmin ys / no limit)" > > > > Is

Re: [systemd-devel] How to set a limit for mounting roofs?

2016-07-06 Thread Kai Krakow
Am Wed, 6 Jul 2016 06:26:03 +0200 schrieb Lennart Poettering : > On Tue, 05.07.16 14:00, Chris Murphy (li...@colorremedies.com) wrote: > > > On Tue, Jul 5, 2016 at 12:45 PM, Chris Murphy > > wrote: > > > OK it must be this. > > > > > > :/# cat

Re: [systemd-devel] Failed to restart ntpd

2016-05-21 Thread Kai Krakow
Am Thu, 12 May 2016 11:51:13 +0200 schrieb Reindl Harald : > Am 12.05.2016 um 11:46 schrieb liuxueping: > > Before i restart ntpd,ntpd process was running: > > ntp 3993 0.0 0.0 7404 4156 ?Ss 10:21 0:00 > > /usr/sbin/ntpd -u ntp:ntp -g > > root

Re: [systemd-devel] Is there a way to see if a script is run from systemd

2016-05-08 Thread Kai Krakow
Am Sun, 8 May 2016 13:05:34 +0200 schrieb Reindl Harald : > Am 07.05.2016 um 15:00 schrieb Cecil Westerhof: > > I have written a Bash script to be used for a service. Is it > > possible to see in the script if it is run from systemd? I could > > use this for debugging

Re: [systemd-devel] From command-line 'systemctl suspend' works' from cron it does not

2016-03-22 Thread Kai Krakow
Am Mon, 21 Mar 2016 09:21:39 +0100 schrieb Cecil Westerhof : > When executing > systemctl suspend || echo "Error code: ${?}" > from the command-line it outputs > Error code: 1 > and it puts my machine in suspend. > > When putting it in cron it gives the following

[systemd-devel] How to depend a user session service on a system service?

2016-03-09 Thread Kai Krakow
Hello! I have some user session services running (executing Rails background workers, e.g. sidekiq etc.). On one busy/bigger server, when booting the machine, these user sessions fail to start up due to timeouts. Actually, it feels wrong to just bump up the timeouts. I'd rather make them depend

Re: [systemd-devel] systemd output

2016-03-02 Thread Kai Krakow
Am Wed, 2 Mar 2016 11:41:32 -0800 schrieb William Taylor : > If you are starting/stopping a service manually, is it possible to > see its output as it's running? > > For example if I have a process that takes some time to start and > I want to periodically output

Re: [systemd-devel] nspawn networkd could not find udev device

2016-03-02 Thread Kai Krakow
Am Wed, 2 Mar 2016 16:53:01 +0800 (CST) schrieb kennedy : > Hi > > > On my first run systemd-nspawn everything that's OK. > When I shutdown the nspawn container, and re-run systemd-nspawn > again, this error comes. In container, it's only have 169.254.x.x > network, didn't

Re: [systemd-devel] howto systemd restart one network device

2016-03-01 Thread Kai Krakow
Am Mon, 29 Feb 2016 22:59:17 -0800 schrieb J Decker : > well that was the search > > after everything is up how do I restart a single device so it will > work in the meantime... I usually do "systemctl restart systemd-networkd" which probably restarts all devices. This

Re: [systemd-devel] tunnel configuration broken

2016-02-29 Thread Kai Krakow
Am Mon, 29 Feb 2016 19:12:11 -0800 schrieb J Decker : > I would have thought that naming 00-eth0.network; 01-eth1.network or > something would start devices in that order? No... It does say nothing about order in your sense. It's just ordering which configuration overwrites

Re: [systemd-devel] systemd-nspawn network ping

2016-02-29 Thread Kai Krakow
oundaries IPv6 has an additional site scope: Packets won't pass outbound network segments (read: don't leave via the public external interface of a boundary/edge router). https://en.wikipedia.org/wiki/Link-local_address > At 2016-02-29 15:40:10, "Kai Krakow" <hurikha...@gmail.com&

Re: [systemd-devel] systemd-nspawn network ping

2016-02-28 Thread Kai Krakow
Am Sun, 28 Feb 2016 23:41:22 +0800 (CST) schrieb kennedy : > how to ping container to container each other in systemd-nspawn ? > I've tried --network-veth option but it doesn't work enough. You need to join all host-side veth interfaces into the same bridge. Make two files

Re: [systemd-devel] systemd user sessions?

2016-02-24 Thread Kai Krakow
Am Wed, 24 Feb 2016 17:41:57 +0100 schrieb Krzysztof Kotlenga : > Jon Stanley wrote: > > > I'd like a systemd unit (and only that unit) to be controlled by a > > specific user. The unit runs as this user, so I thought about user > > instances of systemd. This service should

Re: [systemd-devel] nss-mymachines: slow name resolution

2016-02-16 Thread Kai Krakow
Am Tue, 16 Feb 2016 19:39:26 +0100 schrieb Kai Krakow <hurikha...@gmail.com>: > Am Tue, 16 Feb 2016 15:35:24 +0100 > schrieb Lennart Poettering <lenn...@poettering.net>: > > > On Mon, 15.02.16 21:32, Kai Krakow (hurikha...@gmail.com) wrote: > > > &g

Re: [systemd-devel] nss-mymachines: slow name resolution

2016-02-16 Thread Kai Krakow
Am Tue, 16 Feb 2016 15:35:24 +0100 schrieb Lennart Poettering <lenn...@poettering.net>: > On Mon, 15.02.16 21:32, Kai Krakow (hurikha...@gmail.com) wrote: > > > Am Mon, 15 Feb 2016 14:28:19 +0100 > > schrieb Lennart Poettering <lenn...@poettering.net>: > >

Re: [systemd-devel] nss-mymachines: slow name resolution

2016-02-15 Thread Kai Krakow
Am Mon, 15 Feb 2016 14:28:19 +0100 schrieb Lennart Poettering <lenn...@poettering.net>: > On Sun, 14.02.16 13:49, Kai Krakow (hurikha...@gmail.com) wrote: > > > Hello! > > > > I've followed the man page guide to setup mymachines name > > resolution in n

[systemd-devel] nss-mymachines: slow name resolution

2016-02-14 Thread Kai Krakow
Hello! I've followed the man page guide to setup mymachines name resolution in nsswitch.conf. It works. But it takes around 4-5 seconds to resolve a name. This is unexpected and cannot be used in production. I'm using systemd-networkd and systemd-resolved. This is my config: #

Re: [systemd-devel] nss-mymachines: slow name resolution

2016-02-14 Thread Kai Krakow
Am Sun, 14 Feb 2016 13:49:01 +0100 schrieb Kai Krakow <hurikha...@gmail.com>: > Hello! > > I've followed the man page guide to setup mymachines name resolution > in nsswitch.conf. It works. But it takes around 4-5 seconds to > resolve a name. This is unexpected and cannot

Re: [systemd-devel] systemd default target

2016-02-13 Thread Kai Krakow
Am Sat, 13 Feb 2016 14:34:59 -0800 schrieb Pathangi Janardhanan : > Hi, > > I have some services configured with the above, Restart=on-failure > and StartLimitInterval/StartLimitBurst and also StartLimitAction with > reboot. > > The problem I am trying to look at is, how

Re: [systemd-devel] Settings in /etc/systemd/journald.conf dont work

2016-02-02 Thread Kai Krakow
Am Tue, 2 Feb 2016 11:09:51 +0100 schrieb Tommy_Lu : > Hello > > I am an old retired boy from German and a short-time visitor here in > this list. And I apologize, because I put my user-question here. But > unfortunately nowhere in the network i can found a solution or people

Re: [systemd-devel] Should pam-activated systemd --user daemon quit after session has been closed?

2016-01-22 Thread Kai Krakow
Am Fri, 22 Jan 2016 23:19:11 +0100 schrieb "Armin K." : > I use KDE Plasma 5 and lightdm as a display manager to login to the > session. Once logged in, the lightdm (I guess it's using > pam_systemd.so) login service will also start systemd user session > and a session dbus

Re: [systemd-devel] Should pam-activated systemd --user daemon quit after session has been closed?

2016-01-22 Thread Kai Krakow
Am Fri, 22 Jan 2016 23:19:11 +0100 schrieb "Armin K." : > I have a following problem on my system and it has been bothering me > for some time. > > I use KDE Plasma 5 and lightdm as a display manager to login to the > session. Once logged in, the lightdm (I guess it's using >

Re: [systemd-devel] Should pam-activated systemd --user daemon quit after session has been closed?

2016-01-22 Thread Kai Krakow
Am Sat, 23 Jan 2016 00:20:34 +0100 schrieb "Armin K." : > > My first guess is: Does your Xsession try to spawn dbus itself? > > Have you tried commenting it out? Should be in /etc/X11 or > > somewhere in the session files installed by lightdm. > > > > There's only one dbus

Re: [systemd-devel] Additional error details when resource limits are exceeded

2015-12-23 Thread Kai Krakow
Am Wed, 23 Dec 2015 22:55:13 +0800 schrieb Peter Hoeg : > Hi, > > >Type=simple cannot detect when a service is ready. Systemd simply > >of teamviewerd but with service inter-dependencies this becomes > >important. > > > >Type=simple considers the service up immediatly thus

Re: [systemd-devel] Query regarding "EnvironmentFile"

2015-12-21 Thread Kai Krakow
Am Thu, 10 Dec 2015 01:08:34 +0100 schrieb Reindl Harald : > Am 09.12.2015 um 20:46 schrieb Lennart Poettering: > > I probably should never have added EnvironmentFile= in the first > > place. Packagers misunderstand that unit files are subject to admin > > configuration

Re: [systemd-devel] Query regarding "EnvironmentFile"

2015-12-21 Thread Kai Krakow
Am Mon, 21 Dec 2015 22:41:04 +0100 schrieb Marc Haber <mh+systemd-de...@zugschlus.de>: > On Mon, Dec 21, 2015 at 10:18:05PM +0100, Kai Krakow wrote: > > Thus: Please maintainers and developers, remove it. Do not let > > Lennart remove this useful option to force others i

Re: [systemd-devel] Additional error details when resource limits are exceeded

2015-12-21 Thread Kai Krakow
Am Tue, 22 Dec 2015 08:41:14 +0800 schrieb Peter Hoeg : > Hi, > > >[Service] > >Type=forking > >PIDFile=/run/teamviewerd.pid > >ExecStart=/opt/teamviewer10/tv_bin/teamviewerd -d > >Restart=on-abort > >StartLimitInterval=60 > >StartLimitBurst=10 > > The alternative ExecStart I'm

Re: [systemd-devel] Additional error details when resource limits are exceeded

2015-12-21 Thread Kai Krakow
Am Wed, 9 Dec 2015 11:45:00 +0800 schrieb Peter Hoeg : > Hi, > > it turns out that the teamviewer daemon wasn't behaving correctly and > double-forked before the PID file was written. Fixed by running it as > Type=simple and in the foreground. > > It however, still doesn't

Re: [systemd-devel] systemd (user) and (sd-pam) (user) processes in login shell

2015-12-21 Thread Kai Krakow
Am Tue, 8 Dec 2015 01:36:01 +0200 schrieb Mantas Mikulėnas : > What uid does "oracle" have – is it within the system account range > (usually 1–999) or user account (1000–)? I wonder if it's the latter, > which would mean systemd-logind would clean up various things like > IPC

Re: [systemd-devel] Query regarding "EnvironmentFile"

2015-12-21 Thread Kai Krakow
Am Mon, 21 Dec 2015 23:29:57 +0100 schrieb Marc Haber <mh+systemd-de...@zugschlus.de>: > On Mon, Dec 21, 2015 at 11:14:43PM +0100, Kai Krakow wrote: > > I cannot see anything here in the thread which would disallow > > continue using non-systemd installations. > &g

Re: [systemd-devel] systemd (user) and (sd-pam) (user) processes in login shell

2015-12-21 Thread Kai Krakow
Am Mon, 21 Dec 2015 21:43:24 -0500 schrieb Mike Gilbert <flop...@gentoo.org>: > On Mon, Dec 21, 2015 at 7:36 PM, Kai Krakow <hurikha...@gmail.com> > wrote: > > Am Tue, 8 Dec 2015 01:36:01 +0200 > > schrieb Mantas Mikulėnas <graw...@gmail.com>: > > >

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] systemd-nspawn: cannot join existing macvlan

2015-05-30 Thread Kai Krakow
Lennart Poettering lenn...@poettering.net schrieb: On Mon, 25.05.15 16:26, Kai Krakow (hurikha...@gmail.com) wrote: Lennart Poettering lenn...@poettering.net schrieb: On Fri, 08.05.15 20:53, Kai Krakow (hurikha...@gmail.com) wrote: # systemd-nspawn -b --link-journal=try-guest

Re: [systemd-devel] resolved: Assertion 'n 0' failed

2015-05-25 Thread Kai Krakow
Lennart Poettering lenn...@poettering.net schrieb: On Sat, 18.04.15 17:38, Kai Krakow (hurikha...@gmail.com) wrote: Hello! Sometimes I'm seeing messages like this: [ 5780.379921] systemd-resolved[685]: Assertion 'n 0' failed at /var/tmp/portage/sys-apps/systemd-219- r2/work/systemd

Re: [systemd-devel] Rebooting systemd-nspawn container results in shutdown

2015-05-25 Thread Kai Krakow
Lennart Poettering lenn...@poettering.net schrieb: [...] systemd-219 on the host, 218 in the container. This is fixed in git since a while now, please test. Yes, works for me in v220. Thanks. -- Replies to list only preferred. ___ systemd-devel

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

2015-05-25 Thread Kai Krakow
Lennart Poettering lenn...@poettering.net schrieb: On Fri, 08.05.15 20:53, Kai Krakow (hurikha...@gmail.com) wrote: # systemd-nspawn -b --link-journal=try-guest --network-macvlan=enp4s0 # -- bind=/usr/portage --bind-ro=/usr/src --machine=test Spawning container test on /var/lib

Re: [systemd-devel] Booting to systemd in a chroot

2015-05-14 Thread Kai Krakow
JT Olds jto...@xnet5.com schrieb: Thanks Lennart, I tried pivot_root briefly last night after emailing but my initial attempt didn't work. Unfortunately I next tried switch_root, which, lol, wiped my root partition. I'll try pivot_root when I get a working computer again. Since you are

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

2015-05-08 Thread Kai Krakow
Kai Krakow hurikha...@gmail.com schrieb: Kai Krakow hurikha...@gmail.com schrieb: Hello again! And again... Amended below... I'm not sure about this but I suspect that I cannot start a second nspawn container with --network-macvlan when another nspawn instance has created it before

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

2015-05-03 Thread Kai Krakow
Kai Krakow hurikha...@gmail.com schrieb: Hello again! Amended below... I'm not sure about this but I suspect that I cannot start a second nspawn container with --network-macvlan when another nspawn instance has created it before: # systemd-nspawn -b --network-macvlan=enp4s0 Spawning

[systemd-devel] systemd-nspawn --template: should it delete /etc/hostname?

2015-05-01 Thread Kai Krakow
Hello! If I create a new machine by cloning using systemd-nspawn --template, should it remove etc/hostname? It already creates a new machine-id etc, and the hostname should probably not be set for a new container in this case, regardless of whether the template is a real template or a cloned

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

2015-05-01 Thread Kai Krakow
Hello! I'm not sure about this but I suspect that I cannot start a second nspawn container with --network-macvlan when another nspawn instance has created it before: # systemd-nspawn -b --network-macvlan=enp4s0 Spawning container gentoo-mysql-base on /var/lib/machines/gentoo-mysql-base. Press

Re: [systemd-devel] tmpfiles versus tmpwatch

2015-04-29 Thread Kai Krakow
Roger Qiu roger@polycademy.com schrieb: I'm planning to use tmpwatch's `fuser` feature. But I'd prefer to run this simple service using systemd's tmpfiles. Does systemd tmpfiles support running `fuser` so that way it won't delete any files that have an open file descriptor? I

[systemd-devel] man systemd.network question

2015-04-27 Thread Kai Krakow
Hello! The man page reads: [MATCH] SECTION OPTIONS The network file contains a [Match] section, which determines if a given network file may be applied to a given device; and a [Network] section specifying how the device should be configured. The first (in lexical

Re: [systemd-devel] systemd-nspawn and IPv6

2015-04-27 Thread Kai Krakow
Lennart Poettering lenn...@poettering.net schrieb: On Mon, 27.04.15 20:17, Kai Krakow (hurikha...@gmail.com) wrote: Tomasz Torcz to...@pipebreaker.pl schrieb: Well, would that enable automatic, correcting routing between the container and the host's external network? That's kinda what

Re: [systemd-devel] systemd-nspawn and IPv6

2015-04-27 Thread Kai Krakow
Lennart Poettering lenn...@poettering.net schrieb: On Mon, 27.04.15 20:08, Kai Krakow (hurikha...@gmail.com) wrote: Or in other words: ipv6 setup needs some manual networking setup on the host. Or there... Any pointers? Not really. You have to set up ipv6 masquerading with ip6tables

Re: [systemd-devel] Rebooting systemd-nspawn container results in shutdown

2015-04-27 Thread Kai Krakow
Lennart Poettering lenn...@poettering.net schrieb: On Sun, 26.04.15 16:55, Kai Krakow (hurikha...@gmail.com) wrote: Hello! I've successfully created a Gentoo container on top of a Gentoo host. I can start the container with machinectl, as I can with systemctl start Inside

Re: [systemd-devel] systemd-nspawn and IPv6

2015-04-27 Thread Kai Krakow
Tomasz Torcz to...@pipebreaker.pl schrieb: Well, would that enable automatic, correcting routing between the container and the host's external network? That's kinda what this all is about... If you have radvd running, it should. By the way, speaking of NAT in context of IPv6 is a heresy.

  1   2   >