[systemd-devel] Antw: [EXT] Immutable Images: Single Data Patition

2023-03-21 Thread Ulrich Windl
>>> Adrian Vovk schrieb am 21.02.2023 um 22:50 in >>> Nachricht : [...] > Part of the A/B approach involves two classes of user data partitions: > ones that are encrypted (/var, /etc) and ones that are not (/home). I don't know the OS, nor the concepts behind, but it surprises me that the data

[systemd-devel] Antw: [EXT] Launch a mount unit from udev rule via ENV{SYSTEMD_WANTS}

2023-02-20 Thread Ulrich Windl
>>> Jacopo schrieb am 15.02.2023 um 17:59 in Nachricht : > I'be been having issues lately trying to automatically remount an external > USB drive that is mounted at boot from an fstab entry: > LABEL=data-ssd /opt/data-ssd ext4 defaults,nofail,users 0 2 > > I'm using systemd 244 and after

[systemd-devel] Antw: [EXT] Re: Extend systemd-resolved service to override DNS response

2023-02-20 Thread Ulrich Windl
>>> Barry Scott schrieb am 15.02.2023 um 15:29 in Nachricht <9ce7d348-327c-4c22-9a54-c57fef4df...@barrys-emacs.org>: > >> On 15 Feb 2023, at 10:31, Aditya Sharma wrote: >> >> Hi Kevin, >> >> When the TTLs expire, those records in the cache become 'stale', and are > normally purged. Your

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] Using IPAddressAllow/IPAddressDeny on ‑‑user scopes

2022-12-17 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 14.12.2022 um 18:34 in Nachricht : > On Di, 13.12.22 22:34, Farblos (akfkqu.9df...@vodafonemail.de) wrote: > >> I can imagine that the latter scenario is not supported or requires >> additional configuration (which?), but I have not found any hints on that, >>

[systemd-devel] Antw: Re: Re: Antw: [EXT] [systemd???devel] starting networking from within single user mode?

2022-11-14 Thread Ulrich Windl
>>> Mantas Mikulenas schrieb am 14.11.2022 um 09:17 in Nachricht : > On Mon, Nov 14, 2022 at 9:00 AM Ulrich Windl < > ulrich.wi...@rz.uni-regensburg.de> wrote: > >> >>> Mantas Mikulenas schrieb am 11.11.2022 um 15:49 in >> Nachricht >> :

[systemd-devel] Antw: Re: [systemd‑devel] Antw: Re: Antw: [EXT] [systemd???devel] starting networking from within single user mode?

2022-11-14 Thread Ulrich Windl
>>> Michael Chapman schrieb am 14.11.2022 um 09:03 in Nachricht <2888d487-984a-b071-fa79-b18f662ef...@very.puzzling.org>: > On Mon, 14 Nov 2022, Ulrich Windl wrote: > [...] >> > Boot with "systemd.debug‑shell" and use tty9 to investigate from the inside

[systemd-devel] Antw: Re: Antw: [EXT] [systemd???devel] starting networking from within single user mode?

2022-11-13 Thread Ulrich Windl
>>> Mantas Mikulenas schrieb am 11.11.2022 um 15:49 in Nachricht : > On Fri, Nov 11, 2022 at 4:19 PM Brian Reichert wrote: > >> On Fri, Nov 11, 2022 at 08:02:00AM +0100, Ulrich Windl wrote: >> > >>> Brian Reichert schrieb am 10.11.2022 um >>

Re: [systemd-devel] Antw: [EXT] [systemd???devel] starting networking from within single user mode?

2022-11-13 Thread Ulrich Windl
>>> Brian Reichert schrieb am 11.11.2022 um 15:19 in Nachricht <2022141913.gc17...@numachi.com>: > On Fri, Nov 11, 2022 at 08:02:00AM +0100, Ulrich Windl wrote: >> >>> Brian Reichert schrieb am 10.11.2022 um 23:04 in >> Nachricht <202211102204

[systemd-devel] Antw: [EXT] [systemd‑devel] starting networking from within single user mode?

2022-11-10 Thread Ulrich Windl
>>> Brian Reichert schrieb am 10.11.2022 um 23:04 in Nachricht <20221110220426.ga17...@numachi.com>: > I've managed to hose a SLES12 SP5 host; it starts to boot, then hangs. And what did you do to mess it up? And what do the boot messages say? > > If I get it into single‑user mode (getting

[systemd-devel] Antw: [EXT] Re: Support for unmerged-usr systems will be REMOVED in the second half of 2023

2022-11-06 Thread Ulrich Windl
>>> Luca Boccassi schrieb am 05.11.2022 um 12:32 in Nachricht : > On Sat, 5 Nov 2022, 10:53 TJ, wrote: > >> On 05/11/2022 10:36, Mantas Mikulėnas wrote: >> > On Sat, Nov 5, 2022 at 12:06 PM TJ wrote: >> > >> >> Just seen this announcement in the v252 changelog: >> >> >> >> "We intend to remove

[systemd-devel] Antw: [EXT] Re: Support for unmerged-usr systems will be REMOVED in the second half of 2023

2022-11-06 Thread Ulrich Windl
>>> TJ schrieb am 05.11.2022 um 10:59 in Nachricht : > Just seen this announcement in the v252 changelog: > > "We intend to remove support for split-usr (/usr mounted separately > during boot) ..." Actually I think this is because systemd is everything but a small boot environment (so wanting

[systemd-devel] Antw: Re: Antw: [EXT] Re: SOLVED: daemon-reload does not pick up changes to /etc/systemd/system during boot

2022-10-24 Thread Ulrich Windl
>>> Andrei Borzenkov schrieb am 24.10.2022 um 10:26 in Nachricht : > On Mon, Oct 24, 2022 at 9:48 AM Ulrich Windl > wrote: >> >> >>> Alex Aminoff schrieb am 21.10.2022 um 18:11 in >> >>> Nachricht >> : >> >> ... >> >

[systemd-devel] Antw: [EXT] Re: SOLVED: daemon-reload does not pick up changes to /etc/systemd/system during boot

2022-10-24 Thread Ulrich Windl
>>> Alex Aminoff schrieb am 21.10.2022 um 18:11 in Nachricht : ... > Just to close out this thread, I am happy to report that > > ExecStart=systemctl start --no-block multi-user.target > > worked great. Makes me wonder: How does systemd handle indirect recursive starts (like the one shown)?

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] Finding network interface name in different distro

2022-10-19 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 19.10.2022 um 12:21 in Nachricht : [...] > Uninstall biosdevname. It's 2022. Make Lennart happy: Uninstall everything except systemd ;-) (Sorry, I couldn't resist) > > It's a bit contradictory to install it explicitly and then turn it off > via

[systemd-devel] Antw: Re: [systemd‑devel] [EXT] Finding network interface name in different distro

2022-10-19 Thread Ulrich Windl
>>> Brian Reichert schrieb am 18.10.2022 um 19:39 in Nachricht <20221018173901.ga5...@numachi.com>: >> > : >> > > Hi All, >> > > >> > > When changing distro or distro major versions, network interfaces' >> > > names sometimes change. >> > > For example on some Dell server running CentOS 7 the

[systemd-devel] Antw: Re: [EXT] Finding network interface name in different distro

2022-10-19 Thread Ulrich Windl
>>> Etienne Champetier schrieb am 18.10.2022 um 17:15 in Nachricht : > Le mar. 18 oct. 2022 à 10:04, Ulrich Windl > a écrit : >> >> >>> Etienne Champetier schrieb am 15.10.2022 um >> 02:41 in Nachricht >> : >> > Hi All, >> > >

[systemd-devel] Antw: [EXT] Finding network interface name in different distro

2022-10-18 Thread Ulrich Windl
>>> Etienne Champetier schrieb am 15.10.2022 um 02:41 in Nachricht : > Hi All, > > When changing distro or distro major versions, network interfaces' > names sometimes change. > For example on some Dell server running CentOS 7 the interface is > named em1 and running Alma 8 it's eno1. Wasn't

[systemd-devel] Antw: [EXT] [systemd‑devel] Is it possible to let systemd create a listening socket and yet be able to have that socket activate nothing, at least temporarily?

2022-10-18 Thread Ulrich Windl
Wouldn't the most logical solution be?: Integrate that backup facility in your daemon (like before terminating). >>> Klaus Ebbe Grue schrieb am 07.10.2022 um 09:24 in Nachricht <91a90e97f41a4da3b7f716727262d...@di.ku.dk>: > Hi systemd‑devel, > > I have a user question which I take the liberty

[systemd-devel] Antw: Re: [EXT] Re: Q: handling generator-like dependency: target won't start on boot

2022-09-29 Thread Ulrich Windl
>>> Andrei Borzenkov schrieb am 29.09.2022 um 13:57 in Nachricht : ... >> I don't quite understand what an "initial transaction" is, > > The set of (start) jobs starting with default.targtet (or whatever > target was given to systemd as "initial target") and following > dependency chain (Wants

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] jailrooting services with RootDirectory ‑ how ?

2022-09-29 Thread Ulrich Windl
>>> Branko schrieb am 29.09.2022 um 01:01 in Nachricht <20220928230155.783c1a69@\040none\041brane_wrks>: ... > It's hard to sift through all those piles of manpages without missing > something. I agree: It's all very complex.

[systemd-devel] Antw: [EXT] Re: Q: handling generator-like dependency: target won't start on boot

2022-09-29 Thread Ulrich Windl
>>> Andrei Borzenkov schrieb am 28.09.2022 um 20:34 in Nachricht : > On 28.09.2022 09:25, Ulrich Windl wrote: >> Hi! >> >> I'm trying to establish a mechanism that uses a generator-like mechanism as > described below. Unfortunately it starts when triggering the

[systemd-devel] Q: handling generator-like dependency: target won't start on boot

2022-09-28 Thread Ulrich Windl
Hi! I'm trying to establish a mechanism that uses a generator-like mechanism as described below. Unfortunately it starts when triggering the target manually, but it never starts on system boot. I could need some advice how to make it work. Basically I have a generator-like unit, say

[systemd-devel] Antw: [EXT] [systemd‑devel] jailrooting services with RootDirectory ‑ how ?

2022-09-28 Thread Ulrich Windl
And WHAT EXACTLY does not work? >>> schrieb am 28.09.2022 um 05:35 in Nachricht <20220928033517.3ffbcce4@\040none\041brane_wrks>: > I'm trying to start services within controlled jailroot. So I tried > using RootDirectory directive as described in systemd‑exec man page. > > It should be simple,

[systemd-devel] Antw: [EXT] Re: Q: "Loaded: not-found (Reason: No such file or directory)"

2022-09-22 Thread Ulrich Windl
>>> Michael Chapman schrieb am 22.09.2022 um 08:50 in Nachricht : > On Thu, 22 Sep 2022, Ulrich Windl wrote: >> Hi! >> >> I wonder: >> # systemctl status i* >> ● inst-sys.service >>Loaded: not-found (Reason: No such file or directory) >>

[systemd-devel] Antw: [EXT] networkd D-Bus API for link up/down?

2022-09-22 Thread Ulrich Windl
>>> "Kevin P. Fleming" schrieb am 21.09.2022 um 12:48 in >>> Nachricht : > When the D-Bus API for systemd-networkd was added there were > indications that it could be used for bringing links up and down. > However, when I review the API docs at: > >

[systemd-devel] Q: "Loaded: not-found (Reason: No such file or directory)"

2022-09-22 Thread Ulrich Windl
Hi! I wonder: # systemctl status i* ● inst-sys.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead) ● iptables.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead) So I ttied to find out what's the problem with these

[systemd-devel] Antw: [EXT] Re: systemd service causing bash to miss signals?

2022-09-20 Thread Ulrich Windl
>>> Mantas Mikulenas schrieb am 19.09.2022 um 19:25 in Nachricht : > Pipelines somewhat rely on the kernel delivering SIGPIPE to the writer as > soon as the read end is closed. So if you have `foo | head -1`, then as > soon as head reads enough and exits, foo gets killed via SIGPIPE. But as >

[systemd-devel] Antw: [EXT] [systemd‑devel] systemd service causing bash to miss signals?

2022-09-20 Thread Ulrich Windl
>>> Brian Reichert schrieb am 19.09.2022 um 19:18 in Nachricht <20220919171812.gf74...@numachi.com>: > I apologize for the vague subject. > > The background: I've inherited some legacy software to manage. > > This is on SLES12 SP5, running: > > systemd‑228‑157.40.1.x86_64 > > One

[systemd-devel] Antw: [EXT] [systemd‑devel] xen shutdown question

2022-09-14 Thread Ulrich Windl
>>> Richard Kojedzinszky schrieb am 13.09.2022 um 17:53 in Nachricht <9c1b2b00d69ee9e996e96102a9771...@kojedz.in>: > Dear systemd users/developers, > > I am using a shutdown inhibitor (kubelet), which seems to be working > when issuing `systemctl reboot` or `systemctl poweroff`, but when the vm

[systemd-devel] Antw: Re: Antw: Re: Re: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-13 Thread Ulrich Windl
>>> THomas HUMMEL schrieb am 12.09.2022 um 18:22 in Nachricht <5e07de0a-c365-ce03-987a-b974ef522...@pasteur.fr>: >> On 9/9/22 18:09, Andrei Borzenkov wrote: > > Hello, > > maybe referring to > https://lists.freedesktop.org/archives/systemd-devel/2022-January/047342.htm > l > would help

[systemd-devel] Antw: Re: Re: Antw: Re: Re: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-09 Thread Ulrich Windl
>>> Michael Biebl schrieb am 09.09.2022 um 14:15 in Nachricht : > Am Fr., 9. Sept. 2022 um 14:12 Uhr schrieb Michael Biebl : >> >> Am Fr., 9. Sept. 2022 um 14:01 Uhr schrieb Ulrich Windl >> : >> > >> > >>> Andrei Borzenkov s

[systemd-devel] Antw: Re: Antw: Re: Re: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-09 Thread Ulrich Windl
>>> Andrei Borzenkov schrieb am 09.09.2022 um 13:41 in Nachricht : > On Fri, Sep 9, 2022 at 2:13 PM Ulrich Windl > wrote: > ... >> > >> > If you are interested in services that pull in e.g. time-sync.target >> > via Wants (or Requires) and order t

[systemd-devel] Antw: Re: Re: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-09 Thread Ulrich Windl
>>> Michael Biebl schrieb am 09.09.2022 um 12:54 in Nachricht : > Am Fr., 9. Sept. 2022 um 12:31 Uhr schrieb Michael Biebl : >> >> Am Fr., 9. Sept. 2022 um 12:08 Uhr schrieb Ulrich Windl >> : >> > >> > >>> Michael Biebl schrieb am 09

[systemd-devel] Antw: Re: Re: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-09 Thread Ulrich Windl
>>> Michael Biebl schrieb am 09.09.2022 um 12:31 in Nachricht : > Am Fr., 9. Sept. 2022 um 12:08 Uhr schrieb Ulrich Windl > : >> >> >>> Michael Biebl schrieb am 09.09.2022 um 10:55 in >> Nachricht >> : >> > Example: s

[systemd-devel] Antw: Re: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-09 Thread Ulrich Windl
(/usr/lib/systemd/system/time-sync.target; static) Active: active since Mon 2022-09-05 14:32:00 CEST; 3 days ago Docs: man:systemd.special(7) Sep 05 14:32:00 host16 systemd[1]: Reached target System Time Synchronized. Clear now? Regards, Ulrich > > Am Fr., 9. Sept. 2022 um

[systemd-devel] Antw: [EXT] Re: Q: Querying units for "what provides" a target

2022-09-09 Thread Ulrich Windl
>>> Michael Biebl schrieb am 09.09.2022 um 10:30 in Nachricht : > I'd probably just use `systemctl status` Can you give some details? I don't see what I'm expecting to see. Regards, Ulrich > > Am Fr., 9. Sept. 2022 um 10:18 Uhr schrieb Ulrich Windl > : >> >>

[systemd-devel] Q: Querying units for "what provides" a target

2022-09-09 Thread Ulrich Windl
Hi! I'm wondering: having some specific target, e.g. time-set.target, how can I find out what actually "provides" that target? I see that I can query what "requires" the given target, but how to I get the other direction? I mean by using a tool like systemctl, not by finding and grepping some

[systemd-devel] Antw: Antw: [EXT] SRe: VirtualBox VM as a unit failures

2022-09-02 Thread Ulrich Windl
>>> "Ulrich Windl" schrieb am 02.09.2022 um 10:12 in Nachricht <6311bafe02a10004d...@gwsmtp.uni-regensburg.de>: > Hi! > > The other thing that came to my mind was the ASCI power button: The system Time for the week-end: s/ASCI/ACPI/ > might a

[systemd-devel] Antw: [EXT] SRe: VirtualBox VM as a unit failures

2022-09-02 Thread Ulrich Windl
Hi! The other thing that came to my mind was the ASCI power button: The system might actually block or ignore it (or asking for the admin password). So I think it would be a good idea to have a "second line of defense" causing a hard stop (power off) if the first method fails within a reasonable

[systemd-devel] Antw: Re: Antw: [EXT] [systemd‑devel] systemd‑tmpfiles: behavior of ‑‑clean

2022-08-31 Thread Ulrich Windl
>>> Wols Lists schrieb am 31.08.2022 um 09:25 in Nachricht <6c25970f-c7cb-2728-a827-1452e1937...@youngman.org.uk>: > On 31/08/2022 07:16, Ulrich Windl wrote: >>> 'tomcat.<>' with other associated files (or directories below this). > >> I think

Re: [systemd-devel] Antw: [EXT] Re: Help required for configuring a blocking service during shutdown

2022-08-31 Thread Ulrich Windl
e hood". > Gesendet: Mittwoch, 31. August 2022 um 08:07 UhrVon: "Ulrich Windl" > An: "Michael Biebl" , > newssc...@gmx.decc: "systemd-devel@lists.freedesktop.org" > Betreff: Antw: [EXT] Re: [systemd-devel] > Help required for configuring a bl

[systemd-devel] Antw: [EXT] [systemd‑devel] systemd‑tmpfiles: behavior of ‑‑clean

2022-08-31 Thread Ulrich Windl
>>> SCOTT FIELDS schrieb am 30.08.2022 um 21:15 in Nachricht > I'm currently running systemd 219‑78. > > I realize there's significant behavior differences in the current release, > but per the documentation, I take it the behavior of '‑clean' hasn't changed > in regards to directly

[systemd-devel] Antw: [EXT] Re: Help required for configuring a blocking service during shutdown

2022-08-31 Thread Ulrich Windl
>>> Henning Moll schrieb am 30.08.2022 um 16:24 in Nachricht : > Hi, > > This is an interesting mechanism, but unfortunately it is to weak for my use > case: It does only delay reboots which are initiated via "systemctl ...". A > "sudo reboot" is not delayed At least in the past there was a

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] logind: discontinuous TTYs?

2022-08-30 Thread Ulrich Windl
>>> Toomas Rosin schrieb am 26.08.2022 um 19:22 in Nachricht <6751.1661534553@toomas>: > Hi, > > Arseny Maslennikov wrote: > >> $ TTYID=tty2 # for example >> $ ln ‑s /dev/null /etc/systemd/system/autovt@$TTYID.service > > This works, thank you! Would the command above be the same as

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] Ordering units and targets with devices

2022-08-26 Thread Ulrich Windl
>>> Michael Cassaniti schrieb am 26.08.2022 um 06:46 >>> in Nachricht <01000182d8797b39-375650cc-485b-43ec-84e0-9be3a66f22f4-000...@email.amazonses.co >: > On 25/8/22 22:22, Lennart Poettering wrote: >> On Do, 25.08.22 10:50, Michael Cassaniti (mich...@cassaniti.id.au) wrote: >> >>> It seems

[systemd-devel] Antw: Re: [EXT] Re: org.freedesktop.timedate1.NTPSynchronized not signaled: rationale?

2022-08-18 Thread Ulrich Windl
>>> Mantas Mikulenas schrieb am 18.08.2022 um 10:20 in Nachricht : > On Thu, Aug 18, 2022 at 10:47 AM Ulrich Windl < > ulrich.wi...@rz.uni-regensburg.de> wrote: > >> >>> Mantas Mikulenas schrieb am 17.08.2022 um 15:17 in >> Nachricht >>

[systemd-devel] Antw: [EXT] Re: org.freedesktop.timedate1.NTPSynchronized not signaled: rationale?

2022-08-18 Thread Ulrich Windl
>>> Mantas Mikulenas schrieb am 17.08.2022 um 15:17 in Nachricht : > On Wed, Aug 17, 2022 at 1:59 PM Etienne Doms wrote: > >> Hi, >> >> I'm developing an application for an embedded system that needs to >> wait for proper NTP synchronization. systemd-timesyncd is running and >> I can read

[systemd-devel] Antw: Re: [EXT] org.freedesktop.timedate1.NTPSynchronized not signaled: rationale?

2022-08-18 Thread Ulrich Windl
) What will your software do if NTP sync is lost? Regards, Ulrich > > Le mer. 17 août 2022 à 14:01, Ulrich Windl > a écrit : >> >> >>> Etienne Doms schrieb am 17.08.2022 um 12:58 in >> Nachricht >> : >> > Hi, >> > >> > I'm d

[systemd-devel] Antw: [EXT] org.freedesktop.timedate1.NTPSynchronized not signaled: rationale?

2022-08-17 Thread Ulrich Windl
>>> Etienne Doms schrieb am 17.08.2022 um 12:58 in Nachricht : > Hi, > > I'm developing an application for an embedded system that needs to > wait for proper NTP synchronization. systemd-timesyncd is running and What's wrong with time-sync.target? Or maybe even time-set.target? > I can read

[systemd-devel] Antw: [EXT] [systemd‑devel] Q: Activating persistent Journal in SLES15

2022-08-11 Thread Ulrich Windl
>>> "Ulrich Windl" schrieb am 11.08.2022 um 09:29 in Nachricht <62f4afee02a10004c...@gwsmtp.uni-regensburg.de>: > Hi! > > I had activated the persistent journal in SLES15 SP2 using these commands: > # mkdir /var/log/journal > # systemctl restart syste

[systemd-devel] Antw: Re: Antw: [EXT] Re: [systemd‑devel] systemd‑nspawn container not starting on RHEL9.0

2022-08-11 Thread Ulrich Windl
>>> Neal Gompa schrieb am 11.08.2022 um 09:22 in Nachricht : > On Thu, Aug 11, 2022 at 3:15 AM Ulrich Windl > wrote: >> >> >>> Lennart Poettering schrieb am 10.08.2022 um 22:09 >> in >> Nachricht : >> > On Mi, 10.08.22 10:13, Thomas Arc

[systemd-devel] Q: Activating persistent Journal in SLES15

2022-08-11 Thread Ulrich Windl
Hi! I had activated the persistent journal in SLES15 SP2 using these commands: # mkdir /var/log/journal # systemctl restart systemd-journald.service A directory had been created automatically: systemd-journald[4273]: System journal (/var/log/journal/e766c8d06f144b1588487221640f55b5) is 8.0M,

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] systemd‑nspawn container not starting on RHEL9.0

2022-08-11 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 10.08.2022 um 22:09 in Nachricht : > On Mi, 10.08.22 10:13, Thomas Archambault (t...@tparchambault.com) wrote: > >> Thank you again Lennart, and thx Kevin. >> >> That makes total sense, and accounts for the application's high level >> start‑up delay which

[systemd-devel] Antw: [systemd‑devel] Antw: [EXT] What is the shutdown sequence with systemd and dracut?

2022-08-08 Thread Ulrich Windl
>>> "Ulrich Windl" schrieb am 08.08.2022 um 14:50 in Nachricht <62f1069002a10004c...@gwsmtp.uni-regensburg.de>: >>>> Patrick Schleizer schrieb am 08.08.2022 um > 14:24 in Nachricht <7abb7852‑c097‑34d6‑c4ea‑f2101fc5d...@whonix.org>: >> H

[systemd-devel] Antw: [EXT] What is the shutdown sequence with systemd and dracut?

2022-08-08 Thread Ulrich Windl
>>> Patrick Schleizer schrieb am 08.08.2022 um 14:24 in Nachricht <7abb7852-c097-34d6-c4ea-f2101fc5d...@whonix.org>: > Hi! > > This is what I think but please correct me if I am wrong. > > 1. systemd runs systemd units for systemd shutdown.target > > 2. /lib/systemd/system-shutdown

[systemd-devel] Antw: Re: Antw: [EXT] Re: Q: Change a kernel setting

2022-07-29 Thread Ulrich Windl
>>> Thomas HUMMEL schrieb am 29.07.2022 um 12:13 in Nachricht <1a6092bd-e540-1642-87a4-811ca9413...@pasteur.fr>: > > On 29/07/2022 11:41, Ulrich Windl wrote: > >>>You can use tmpfiles. In the manpage > > Hello, well it seems to depend on the

[systemd-devel] Antw: [EXT] Re: Q: Change a kernel setting

2022-07-29 Thread Ulrich Windl
>>> Tomasz Torcz schrieb am 29.07.2022 um 11:01 in Nachricht : > On Fri, Jul 29, 2022 at 08:45:51AM +0200, Ulrich Windl wrote: >> Hi! >> >> I wonder: What is the recommended way to do this with systemd?: >> --- >> Add the following command to a scrip

[systemd-devel] Q: Change a kernel setting

2022-07-29 Thread Ulrich Windl
Hi! I wonder: What is the recommended way to do this with systemd?: --- Add the following command to a script executed on system boot, such as /etc/init.d/boot.local: # echo 0 > /sys/kernel/mm/ksm/run --- Do I have to write a unit for it, or is there some generic mechanism already? Regards,

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] Feedback sought: can we drop cgroupv1 support soon?

2022-07-28 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 22.07.2022 um 17:35 in Nachricht : > On Fr, 22.07.22 12:15, Lennart Poettering (mzerq...@0pointer.de) wrote: > >> > I guess that would mean holding on to cgroup1 support until EOY 2023 >> > or thereabout? >> >> That does sound OK to me. We can mark it deprecated

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] Feedback sought: can we drop cgroupv1 support soon?

2022-07-28 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 22.07.2022 um 12:15 in Nachricht : > On Do, 21.07.22 16:24, Stéphane Graber (stgra...@ubuntu.com) wrote: > >> Hey there, >> >> I believe Christian may have relayed some of this already but on my >> side, as much as I can sympathize with the annoyance of having

[systemd-devel] Antw: [EXT] Re: Feedback sought: can we drop cgroupv1 support soon?

2022-07-28 Thread Ulrich Windl
Hi! What about making cgroup1 support _configurable_ as a first step? So maybe people could try how well things work when there is no cgroups v1 support in systemd. Regards, Ulrich >>> Stéphane Graber schrieb am 21.07.2022 um 22:24 in Nachricht : > Hey there, > > I believe Christian may have

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] Running actual systemd‑based distribution image in systemd‑nspawn

2022-07-11 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 30.06.2022 um 22:23 in Nachricht : > On Do, 16.06.22 09:27, Colin Guthrie (gm...@colin.guthr.ie) wrote: > >> Andrei Borzenkov wrote on 15/06/2022 16:56: >> > I tried it (loop mounting qemu image): >> > >> > systemd‑nspawn ‑D ./hd0 ‑b >> > >> > and it failed

[systemd-devel] Antw: Re: Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Ulrich Windl
>>> Andrei Borzenkov schrieb am 14.06.2022 um 10:01 in Nachricht : > On Tue, Jun 14, 2022 at 10:57 AM Wols Lists wrote: >> >> On 14/06/2022 06:57, Ulrich Windl wrote: >> >> So you're not running an init system but you want the (not-running) init >> >

[systemd-devel] Antw: Re: Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Ulrich Windl
>>> Wols Lists schrieb am 14.06.2022 um 08:34 in Nachricht : > On 14/06/2022 06:57, Ulrich Windl wrote: >>> So you're not running an init system but you want the (not-running) init >>> system to run something for you? > >> I don't understand: >> T

[systemd-devel] Antw: Re: Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Ulrich Windl
>>> Michal Zegan schrieb am 14.06.2022 um 09:25 in >>> Nachricht ... >>> Sure when "init" was just a bundle of scripts, you could run one of the >>> scripts it runs and hope for the best. You can generally still do that, >>> but just don't expect asking a non-running program to do it for you

[systemd-devel] Antw: Re: Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Ulrich Windl
>>> Andrei Borzenkov schrieb am 14.06.2022 um 08:36 in Nachricht <41ccac7a-bae8-47a9-f14e-6c9452478...@gmail.com>: > On 14.06.2022 08:57, Ulrich Windl wrote: >>>>> Colin Guthrie schrieb am 13.06.2022 um 16:34 in >> Nachricht : >> >>> Ulrich

[systemd-devel] Antw: [EXT] Re: Q: Start network in chroot?

2022-06-14 Thread Ulrich Windl
>>> Topi Miettinen schrieb am 13.06.2022 um 18:45 in Nachricht <70cd12d1-6372-8d8c-90bd-144d1f7b3...@gmail.com>: > On 13.6.2022 11.09, Ulrich Windl wrote: >> Hi! >> >> Two questions: >> 1) Why can't I use "systemctl start network" in a

[systemd-devel] Antw: Re: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-13 Thread Ulrich Windl
>>> Colin Guthrie schrieb am 13.06.2022 um 16:34 in Nachricht : > Ulrich Windl wrote on 13/06/2022 14:42: >>>>> Colin Guthrie schrieb am 13.06.2022 um 14:58 in >> Nachricht : >>> Ulrich Windl wrote on 13/06/2022 09:09: >>>> Hi! >>>

[systemd-devel] Antw: [EXT] Re: Q: Start network in chroot?

2022-06-13 Thread Ulrich Windl
>>> Colin Guthrie schrieb am 13.06.2022 um 14:58 in Nachricht : > Ulrich Windl wrote on 13/06/2022 09:09: >> Hi! >> >> Two questions: >> 1) Why can't I use "systemctl start network" in a chroot environment (e.g. > mounting the system from a

[systemd-devel] Wtrlt: Antw: [EXT] Re: Q: Start network in chroot?

2022-06-13 Thread Ulrich Windl
Forgot the list when replying... >>> Ulrich Windl schrieb am 13.06.2022 um 10:44 in Nachricht <62a7152a.ed38.00a...@rz.uni-regensburg.de>: >>>> Mantas Mikulenas schrieb am 13.06.2022 um 10:13 in > Nachricht > : > > On Mon, Jun 13, 2022 at 11:09 AM

[systemd-devel] Q: Start network in chroot?

2022-06-13 Thread Ulrich Windl
Hi! Two questions: 1) Why can't I use "systemctl start network" in a chroot environment (e.g. mounting the system from a rescue medium to fix a defective kernel)? When I try I get: "Running in chroot, ignoring command 'start'" 2) How can I start the network using systemd? (systemd-246-16 of

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] cgroupsv2 and realtime processes

2022-06-07 Thread Ulrich Windl
>>> Michal Koutný schrieb am 06.06.2022 um 18:29 in Nachricht <20220606162925.gh6...@blackbody.suse.cz>: > On Mon, Jun 06, 2022 at 05:59:32PM +0200, Michał Zegan > wrote: >> I assume if it would be on it would break any and all realtime >> usage...? > > Most likely (you'd not be able either:

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] MaxRetentionSec does not delete entries older than the specified time

2022-05-30 Thread Ulrich Windl
>>> Barry Scott schrieb am 29.05.2022 um 14:22 in Nachricht <038e8fce-5820-4188-91e4-e42b6b448...@barrys-emacs.org>: > >> On 29 May 2022, at 12:36, baba wrote: >> >> ‑ Mail original ‑ >> De: "Andrei Borzenkov" >> >>> In which case? Current active journal file gets archived when it

[systemd-devel] https://github.com/QubesOS/qubes-issues/issues/7335

2022-05-30 Thread Ulrich Windl
Hi! Just in case: Does anybody have any idea what might be causing this effect (https://github.com/QubesOS/qubes-issues/issues/7335)? Regards, Ulrich

[systemd-devel] Antw: [EXT] Re: Q: logger: "invalid structured data parameter: 'fo\o="b\"a\"r"'"

2022-05-02 Thread Ulrich Windl
>>> Mantas Mikulenas schrieb am 02.05.2022 um 10:50 in Nachricht : > On Mon, May 2, 2022 at 11:40 AM Ulrich Windl < > ulrich.wi...@rz.uni-regensburg.de> wrote: > >> Hi! >> >> If I understand it corrctly the logger from >> util-linux-systemd-2

[systemd-devel] Q: logger: "invalid structured data parameter: 'fo\o="b\"a\"r"'"

2022-05-02 Thread Ulrich Windl
Hi! If I understand it corrctly the logger from util-linux-systemd-2.33.2-4.18.1.x86_64 of SLES12 is part of systemd; if not, then please ignore. I'm testing my implementation of RFC5424 syslog daemon, and I tried this command: logger -d --id --msgid=test1 -n 127.0.0.1 --port 10514 \ --rfc5424

[systemd-devel] Antw: [EXT] Re: Splitting sd-boot from systemd/bootctl for enabling sd-boot in Fedora

2022-05-02 Thread Ulrich Windl
>>> Jóhann B. Guðmundsson schrieb am 30.04.2022 um 12:03 in Nachricht : > On 30.4.2022 07:53, Jóhann B. Guðmundsson wrote: >> On 30.4.2022 05:08, Andrei Borzenkov wrote: >>> On 28.04.2022 10:54, Lennart Poettering wrote: > * systemd-boot is an additional bootloader, rather than replacing

[systemd-devel] Antw: [EXT] Re: Starting transient services securely from other service without root

2022-04-29 Thread Ulrich Windl
>>> Vašek Šraier schrieb am 28.04.2022 um 19:47 in Nachricht : > On Thu, 2022-04-28 at 19:53 +0300, Mantas Mikulėnas wrote: ... > > Interesting. The issue also seems to be quite old meaning it's probably > not a problem in practise. ... That's a cool definition! So for any bug just sit and wait

[systemd-devel] Antw: [EXT] [systemd‑devel] Query degraded state

2022-04-29 Thread Ulrich Windl
>>> Barry Scott schrieb am 28.04.2022 um 17:03 in Nachricht : > Is there a command I can use to test for the degraded state? > > I could parsing the output of systemctl‑failed or > syetemctl status but was looking for something less fragile. Do you mean "systemctl --state=failed list-units"? >

[systemd-devel] Antw: Re: Antw: [EXT] Re: [systemd‑devel] Splitting sd‑boot from systemd/bootctl for enabling sd‑boot in Fedora

2022-04-29 Thread Ulrich Windl
>>> Ian Pilcher schrieb am 28.04.2022 um 16:40 in >>> Nachricht : > On 4/28/22 05:30, Ulrich Windl wrote: >> So are there any distros that have /etc/fstab in initrd? >> Having to start mount units manually is just terrible when a simple "mount >

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] Waiting for all jobs to finish

2022-04-28 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 28.04.2022 um 10:47 in Nachricht : > On Mi, 27.04.22 18:29, Barry Scott (barry@barrys‑emacs.org) wrote: > >> I have two target files that I use. >> >> prod.target is used to start up all the production services. >> When I use systemctl start prod.target it

Re: [systemd-devel] Antw: [EXT] Re: [systemd‑devel] Splitting sd‑boot from systemd/bootctl for enabling sd‑boot in Fedora

2022-04-28 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 28.04.2022 um 10:33 in Nachricht : > On Do, 28.04.22 10:25, Ulrich Windl (ulrich.wi...@rz.uni‑regensburg.de) wrote: > >> > Well, it sounds backwards to focus on the boot loader UI side of >> > "recovery" so much if y

[systemd-devel] Antw: Re: [systemd‑devel] Antw: [EXT] Re: Q: non‑ASCII in syslog

2022-04-28 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 28.04.2022 um 10:27 in Nachricht : > On Do, 28.04.22 09:32, Ulrich Windl (ulrich.wi...@rz.uni‑regensburg.de) wrote: > >> Actually I wasn't quite sure about the default config in SLES12. >> It seems the flow is journald ‑> lo

[systemd-devel] Antw: Re: [EXT] Re: Q: non-ASCII in syslog

2022-04-28 Thread Ulrich Windl
>>> Mantas Mikulenas schrieb am 28.04.2022 um 09:39 in Nachricht : > On Thu, Apr 28, 2022 at 10:32 AM Ulrich Windl < > ulrich.wi...@rz.uni-regensburg.de> wrote: > >> >>> Mantas Mikulenas schrieb am 27.04.2022 um 12:03 in >> Nachricht >> :

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] Splitting sd‑boot from systemd/bootctl for enabling sd‑boot in Fedora

2022-04-28 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 27.04.2022 um 18:04 in Nachricht : > On Mi, 27.04.22 11:10, Neal Gompa (ngomp...@gmail.com) wrote: > >> > Rebooting from the DE has advantages: nice UI without much work, l10n, >> > accessibility, help, integration with normal auth mechanisms (e.g. polkit >> >

[systemd-devel] Antw: [EXT] Re: Splitting sd-boot from systemd/bootctl for enabling sd-boot in Fedora

2022-04-28 Thread Ulrich Windl
>>> Neal Gompa schrieb am 27.04.2022 um 17:26 in Nachricht : ... >> E.g. the biggest development in how the boot looks in recent years >> in Fedora has been hiding on the boot menus and boot messages by >> default. I.e. the _design_ is that you start with the logo of the >> manufacturer which is

[systemd-devel] Antw: [EXT] Re: Q: non-ASCII in syslog

2022-04-28 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 27.04.2022 um 13:10 in Nachricht : > On Mi, 27.04.22 09:09, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) > wrote: > >> Hi! >> >> Having written an RFC 3164 compatible syslog daemon, I noticed that systemd >> created

[systemd-devel] Antw: [EXT] Re: Q: non-ASCII in syslog

2022-04-28 Thread Ulrich Windl
>>> Mantas Mikulenas schrieb am 27.04.2022 um 12:03 in Nachricht : > On Wed, Apr 27, 2022 at 10:09 AM Ulrich Windl < > ulrich.wi...@rz.uni-regensburg.de> wrote: > >> Hi! >> >> Having written an RFC 3164 compatible syslog daemon, I noticed that systemd

[systemd-devel] Q: non-ASCII in syslog

2022-04-27 Thread Ulrich Windl
Hi! Having written an RFC 3164 compatible syslog daemon, I noticed that systemd created syslog messages with non-ASCII characters. The problem is that a remote syslogd can hardly guess the correct character set (I'm using rsyslog to forward local messages to a remote server). Example of such

Re: [systemd-devel] Antw: [EXT] Re: Disallowing fingerprint authentication if pam_systemd_home.so needs a password

2022-04-26 Thread Ulrich Windl
>>> juice schrieb am 26.04.2022 um 09:11 in Nachricht <2a780de8-efb2-749b-de43-62978958f...@swagman.org>: > On 4/26/22 09:41, Ulrich Windl wrote: >>> >>> Using fingerprint for *authentication* is totally broken concept which >>> should never be a

[systemd-devel] Antw: [systemd‑devel] Antw: [EXT] Re: Disallowing fingerprint authentication if pam_systemd_home.so needs a password

2022-04-26 Thread Ulrich Windl
>>> "Ulrich Windl" schrieb am 26.04.2022 um 08:41 in Nachricht <6267942302a100049...@gwsmtp.uni-regensburg.de>: >>>> juice schrieb am 25.04.2022 um 17:03 in Nachricht ... >> Fingerprints can be used on place of username, that is OK and does not

[systemd-devel] Antw: [EXT] Re: Disallowing fingerprint authentication if pam_systemd_home.so needs a password

2022-04-26 Thread Ulrich Windl
>>> juice schrieb am 25.04.2022 um 17:03 in Nachricht <4cbf03ca-7a0a-4dbe-ad00-c6f3938ff...@swagman.org>: > > 25. huhtikuuta 2022 16.39.56 GMT+03:00 Benjamin Berg > kirjoitti: >>On Mon, 2022-04-25 at 13:28 +0200, Lennart Poettering wrote: >>> >>> Hmm, not sure I follow? I don't know how

[systemd-devel] Antw: [EXT] Re: Waiting for (transient) hostname configuration

2022-04-21 Thread Ulrich Windl
>>> Alessio Igor Bogani schrieb am 20.04.2022 um >>> 22:09 in Nachricht : ... > The %H specifier in the commented ExecStart always returns > "localhost". The following ExecStart is my workaround to have the I wonder whether a future version could interpret "\%H" as "substitute %H when it's

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] Waiting for (transient) hostname configuration

2022-04-20 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 19.04.2022 um 11:41 in Nachricht : > On Di, 19.04.22 11:14, Alessio Igor Bogani (alessio.bog...@elettra.eu) wrote: > >> Dear systemd developers, >> >> Sorry for my very bad english. > > Not bad at all. > >> We use the hostname provided by DHCP to start the

Re: [systemd-devel] Antw: [EXT] Re: [systemd‑devel] device unit files

2022-04-14 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 14.04.2022 um 09:45 in Nachricht : > On Do, 14.04.22 08:00, Ulrich Windl (ulrich.wi...@rz.uni‑regensburg.de) wrote: > >> >>> Lennart Poettering schrieb am 13.04.2022 um 17:38 >> in >> Nachricht : >> >

[systemd-devel] Antw: [EXT] Re: device unit files

2022-04-14 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 13.04.2022 um 17:38 in Nachricht : > On Di, 12.04.22 14:38, Elbek Mamajonov (emm.boxin...@gmail.com) wrote: > >> On graph I have mmcblk.device taking 1.624s. From the point that >> this partition is where my rootfs lies, and systems does remounting >> of rootfs,

[systemd-devel] Q: Forwarding journal to "remote" syslogd?

2022-04-13 Thread Ulrich Windl
Hi! When trying to configure forwarding of journal messages to a remote syslogd, I realized that it seems not possible (systemd 228 of SLES12 SP5). Is that true? What I want is forwarding to "host:port" via UDP. Forwarding to a local syslogd just to be able to forward to a remote syslogd seems

[systemd-devel] Antw: [systemd‑devel] Antw: [EXT] Re: Samba Config Reload

2022-04-11 Thread Ulrich Windl
>>> "Ulrich Windl" schrieb am 11.04.2022 um 08:26 in Nachricht <6253ca1802a100049...@gwsmtp.uni-regensburg.de>: > Hi! > Sorry for the typos: > I thin Lennart had pointed it out: If the sapplication being reloaded does s/thin/think/ > not provide any fe

[systemd-devel] Antw: [EXT] Re: Samba Config Reload

2022-04-11 Thread Ulrich Windl
Hi! I thin Lennart had pointed it out: If the sapplication being reloaded does not provide any feedback when the reloading is complete, you can never be sure what it did complete. Adding some sleep may catch a grat number of cases whule waiting too long in most cases. So before discussing

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] Intercepting/Delaying the boot process

2022-04-10 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 08.04.2022 um 15:14 >>> in Nachricht : ... > This reminds of an RFE we have had for a while, and which I think > would make sense to add directly to systemd: a generator that detects > whether the battery is nearly empty at boot, and if so redirects boot > to

  1   2   3   4   5   6   >