Re: [systemd-devel] Detecting when running under systemd

2022-08-16 Thread Mantas Mikulėnas
On Wed, Aug 17, 2022 at 5:05 AM Peter Hoeg wrote: > > Hi all, > > I have a small program that queries an external web API, massages the data > and passes it off to something else. As I only need it to run during > certain windows and I didn't want to have to bother with making sure it was > alive

[systemd-devel] Detecting when running under systemd

2022-08-16 Thread Peter Hoeg
Hi all, I have a small program that queries an external web API, massages the data and passes it off to something else. As I only need it to run during certain windows and I didn't want to have to bother with making sure it was alive, I am starting it using a systemd timer which is sufficien

Re: [systemd-devel] "networkctl reload" complains about "Macvlan" unknown section

2022-08-16 Thread Maxim Blinov
Hi all, I just wanted to give an update about how I solved this issue: Firstly, the "error" I was seeing was actually stale and completely unrelated. To explain, here's what happened: 1). I created my `.netdev` file, with a "[Macvlan]" section. 2). I ran `$ networkctl reload` 3). I ran `$ network

[systemd-devel] systemd-nspawn: unpriviledged non systemd container

2022-08-16 Thread Ede Wolf
Hi, not sure, wether it is appropiate to ask here, but in lack of a better alternative, I'll give it a go. I am trying to boot an alpine container (openrc), works as root. but when changing to a user id, the bootup fails with getty error messages: getty: console: TIOCSCTTY: Operation not pe

Re: [systemd-devel] homectl error: "System does not support selected file system"

2022-08-16 Thread Arian van Putten
Systemd-homed Support is not available yet in NixOS but there are some active PRs. I think we can better assist you in the #nixos-systemd channel in the NixOS matrix than on the systemd mailing list. Care to drop questions there? Happy to assist. On Tue, 16 Aug 2022, 18:03 Doron Behar, wrote:

[systemd-devel] homectl error: "System does not support selected file system"

2022-08-16 Thread Doron Behar
I'm trying to setup homed on NixOS and I get the following error when trying to create the 1st homed user: ``` > sudo homectl create doron-test [sudo] password for doron: 🔐 Please enter new password for user doron-test: 🔐 Please enter new password for user doron-test (repeat): (no echo) Operation

[systemd-devel] make pystemd part of systemd repo.

2022-08-16 Thread aleivag
Hello systemd developers: We talked last week about entertaining the idea of make pystemd part of systemd github org and eventually merge (in functionalities, not literally merge both) with the current python-systemd, This is our proposal to do this. happy to hear feedback :) What do we propose t

[systemd-devel] "networkctl reload" complains about "Macvlan" unknown section

2022-08-16 Thread Maxim Blinov
Hi all, I am using Ubuntu 20.04 server, and `networkctl --version` returns: systemd 245 (245.4-4ubuntu3.17) +PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid ## The pr