[systemd-devel] systemd-boot and USB serial

2025-03-23 Thread Michael Cassaniti
lBox but can easily test with QEMU if needed. Let me know what EFI shell commands you'd like me to get the output of. If there's some debugging I can enable for systemd-boot then let me know and I'll rebuilt it as required. Thank you, Michael OpenPGP_signature.asc Description: OpenPGP digital signature

Re: [systemd-devel] How to stop child cgroup caused by PAMName=

2025-02-07 Thread Dluhosch, Michael
ctl. This is exactly the clean solution I was looking for. Thanks and Kind Regards, Michael -Original Message- From: Lennart Poettering Sent: Thursday, February 6, 2025 4:01 PM To: Dluhosch, Michael Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] How to stop child cg

Re: [systemd-devel] How to stop child cgroup caused by PAMName=

2025-02-06 Thread Dluhosch, Michael
(ab)use some systemd logout features? If I log out my user from my Linux PC then all the processes I had running are killed. Maybe I can trigger such a logout for the ‘Foo’ user on a service stop as well? Kind Regards Michael From: Mantas Mikulėnas Sent: Thursday, February 6, 2025 11:41 AM To

[systemd-devel] How to stop child cgroup caused by PAMName=

2025-02-06 Thread Dluhosch, Michael
in service which does that: #!/bin/bash systemctl stop $(systemctl status $(pidof ) | grep user.*slice | grep -o session.*scope) Is there a clean solution to accomplish something like this? Thanks and Kind Regards, Michael Dluhosch The information in this e-mail is confidential. The conten

Re: [systemd-devel] user service dependency on udev's uaccess rules

2024-11-25 Thread Michael Kilburn
) in seat.c) but there are no uevents that I > could see during a VT switch. > Does logind do smth after the ACL update is complete? Something that could be used in systemd unit definition as a dependency (to wait for)... Regards, Michael.

Re: [systemd-devel] user service dependency on udev's uaccess rules

2024-11-25 Thread Michael Kilburn
On Mon, Nov 25, 2024 at 4:50 AM Lennart Poettering wrote: > On So, 24.11.24 12:35, Michael Kilburn (crusader.m...@gmail.com) wrote: > > > Hi, > > > > OS: Pop!_OS 22.04 LTS (Debian-based distro). User service (fluidsynth) > > fails to start on user login:

[systemd-devel] user service dependency on udev's uaccess rules

2024-11-24 Thread Michael Kilburn
? Or (if this is a wrong approach) -- what is the correct way to deal with this? Regards, Michael.

Re: [systemd-devel] [EXT] Re: systemd-coredump[25256]: AT_NULL terminator not found, cannot parse auxv structure.

2024-08-27 Thread Michael Chapman
On Tue, 27 Aug 2024, Windl, Ulrich wrote: > Hi! > > When I checked a few samples, they all look valid. As (as I said) I > don't really can explain why Perl crashes, it seems to be some kind of > bad corruption (in the kernel?)... The auxiliary vector lives in the process itself (just like the a

Re: [systemd-devel] [EXT] Re: Re: "OnUnitInactiveSec Timer not firing" issue

2024-07-31 Thread Michael Chapman
On Wed, 31 Jul 2024, Windl, Ulrich wrote: [...] > You wrote "... starting the service manually (or "enabling" it, to be > started on boot) would be redundant.", but you also wrote " > OnUnitInactiveSec begins counting when service gets stopped. How is this > timer supposed to start a service tha

Re: networkd: learned DNS server not propagated to rdnss option in RA

2023-12-13 Thread Michael Heimpold
Am Mittwoch, 13. Dezember 2023, 09:01:46 CET schrieb Andrei Borzenkov: > On Wed, Dec 13, 2023 at 10:46 AM Michael Heimpold wrote: > > Dear all, > > > > I'm trying to setup an embedded system as IPv6 router using IPv6 > > prefix delegation. The system has two netwo

networkd: learned DNS server not propagated to rdnss option in RA

2023-12-12 Thread Michael Heimpold
ot an issue on the client itself. On my system, I'm using systemd-networkd v250.5 from Yocto kirkstone, but I also tested v254.4 with no difference in behavior. My question is whether I have a wrong understanding or might this be a bug? Any hints are appreciated. Thanks, Michael --snip: /l

Re: [systemd-devel] Normal user can ask status of services

2023-08-28 Thread Michael Biebl
Am Sa., 26. Aug. 2023 um 15:25 Uhr schrieb Andrei Borzenkov : > > On 26.08.2023 15:46, Michael Biebl wrote: > > > > Reading system logs is a privileged operation. > > > > It is not about reading logs but about being able to "systemctl status > some-sys

Re: [systemd-devel] Normal user can ask status of services

2023-08-26 Thread Michael Biebl
Am Sa., 26. Aug. 2023 um 09:44 Uhr schrieb Cecil Westerhof : > > I am at last implementing systemd timers. The service I created can have its > status queried by a normal user. I thought I must have made a mistake. But > when I do: > systemctl status cron > > I get: > ● cron.service - Reg

[systemd-devel] Does systemd-homed require changes for larger sector sizes

2023-08-14 Thread Michael Cassaniti
error might be best. Let's see what we get to and I'll attempt a PR. Thank you, Michael A Cassaniti NSW, Australia OpenPGP_signature Description: OpenPGP digital signature

Re: [systemd-devel] Splitting large message written to stdout, explanation?

2023-05-21 Thread Michael Biebl
Am So., 21. Mai 2023 um 18:26 Uhr schrieb Stephen Hemminger : > Syslog was never really intended for large size messages. It is not Windows > event log. > If you are sending large complex things then using dbus to communicate > directly > is a better option. dbus is not a suitable protocol for l

Re: [systemd-devel] systemctl daemon-reexec forgets running services and starts everything new

2023-04-10 Thread Michael Biebl
Am Mo., 10. Apr. 2023 um 09:46 Uhr schrieb Mantas Mikulėnas : > > On Tue, Apr 4, 2023 at 11:33 AM Wasser, Erik wrote: >> >> # Some details to the hardware # >> >> Our metal runs OpenVZ/Virtuozzo with this kernel (without any problems): >> >> > Linux FQDN_REDACTED 3.10.0-1127.18.2.vz7.163.46 #1 SMP

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-04-03 Thread Michael Chapman
On Mon, 3 Apr 2023, Lennart Poettering wrote: > On Sa, 01.04.23 06:16, Michael Chapman (m...@very.puzzling.org) wrote: > > > > Well, in larger environments the goal is typically to saturate all > > > hosts, but not overload them. i.e. maximizing your ROI. No need to >

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-31 Thread Michael Chapman
On Sat, 1 Apr 2023, Uoti Urpala wrote: > On Sat, 2023-04-01 at 06:16 +1100, Michael Chapman wrote: > > On Fri, 31 Mar 2023, Lennart Poettering wrote: > > [...] > > > Presumably your system mmaps ELF binaries, VM images, and similar > > > stuff into memory. if yo

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-31 Thread Michael Chapman
On Fri, 31 Mar 2023, Lennart Poettering wrote: [...] > Presumably your system mmaps ELF binaries, VM images, and similar > stuff into memory. if you don't allow anonymous memory to backed out > onto swap, then you basically telling the kernel "please page out > my program code out instead". Which i

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-31 Thread Michael Chapman
On Fri, 31 Mar 2023, Lennart Poettering wrote: > On Fr, 31.03.23 07:57, Michael Chapman (m...@very.puzzling.org) wrote: > > > On Fri, 31 Mar 2023, Luca Boccassi wrote: > > [...] > > > No, it does not make "little difference", there are entire subsystems &

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-31 Thread Michael Chapman
On Fri, 31 Mar 2023, Lennart Poettering wrote: > On Fr, 31.03.23 18:24, Michael Chapman (m...@very.puzzling.org) wrote: > > > On Fri, 31 Mar 2023, Barry wrote: > > [...] > > > If you want to run in ram only then you must turn off the kernel > > > overcommit. &

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-31 Thread Michael Chapman
On Fri, 31 Mar 2023, Lennart Poettering wrote: > On Do, 30.03.23 18:56, Michael Chapman (m...@very.puzzling.org) wrote: > > > On Thu, 30 Mar 2023, Lennart Poettering wrote: > > > On Mi, 29.03.23 13:53, Christoph Anton Mitterer (cales...@scientia.org) > > > wrote:

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-31 Thread Michael Chapman
On Fri, 31 Mar 2023, Tomasz Torcz wrote: > On Fri, Mar 31, 2023 at 06:24:09PM +1100, Michael Chapman wrote: > > On Fri, 31 Mar 2023, Barry wrote: > > [...] > > > If you want to run in ram only then you must turn off the kernel > > > overcommit. > > >

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-31 Thread Michael Chapman
On Fri, 31 Mar 2023, Barry wrote: [...] > If you want to run in ram only then you must turn off the kernel overcommit. > Have you done that? If not then you risk processes getting SEGV signals. Seriously. It's almost as if nobody here is actually reading anything of what I've written! EVERYTHING

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-30 Thread Michael Chapman
On Fri, 31 Mar 2023, Phillip Susi wrote: > > Michael Chapman writes: > > > What specifically is the difference between: > > > > * swap does not exist at all; > > * swap is full of data that will not be swapped in for weeks or months; > > That's

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-30 Thread Michael Chapman
On Fri, 31 Mar 2023, Luca Boccassi wrote: [...] > No, it does not make "little difference", there are entire subsystems > which are much worse off, if not completely useless, without swap. > Post-cgroupsv2 memory controller things are considerably different on > this front, and old "common wisdom"

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-30 Thread Michael Chapman
On Thu, 30 Mar 2023, Greg KH wrote: > On Thu, Mar 30, 2023 at 09:09:19PM +1100, Michael Chapman wrote: > > On Thu, 30 Mar 2023, Luca Boccassi wrote: > > > On Thu, 30 Mar 2023 at 10:15, Michael Chapman > > > wrote: > > > > > > > > On Thu, 30

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-30 Thread Michael Chapman
On Thu, 30 Mar 2023, Luca Boccassi wrote: > On Thu, 30 Mar 2023 at 10:15, Michael Chapman wrote: > > > > On Thu, 30 Mar 2023, Lennart Poettering wrote: > > > On Mi, 29.03.23 13:53, Christoph Anton Mitterer (cales...@scientia.org) > > > wrote: > > > >

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-30 Thread Michael Chapman
ad any swap space configured in the first place -- except that it was now _a lot_ slower to migrate those swapped-out guests to other hypervisors. - Michael

Re: [systemd-devel] Smooth upgrades for socket activated services

2023-02-20 Thread Michael Biebl
Am Mo., 20. Feb. 2023 um 11:06 Uhr schrieb Mike Hearn : > > Hi, > > I'm exploring socket activation as part of work on a tool that makes > systemd-controlled servers easier to deploy and use. Given a config > file the tool builds a package that contains the app and systemd > units, uploads it, inst

Re: [systemd-devel] systemd-stable and Debian's systemd release strategy

2023-01-18 Thread Michael Biebl
And as always: help is more then welcome. If you want to get involved, please contact us at #debian-systemd on OFTC Am Mi., 18. Jan. 2023 um 16:57 Uhr schrieb Michael Biebl : > > Quite simple: > stable releases: Debian policy is rather strict regarding stable > uploads and some of

Re: [systemd-devel] systemd-stable and Debian's systemd release strategy

2023-01-18 Thread Michael Biebl
Quite simple: stable releases: Debian policy is rather strict regarding stable uploads and some of the changes that landed in systemd-stable are not really considered suitable for a stable upload to Debian. That's why we only cherry-pick select fixes. If the Debian policy was more lax in that regar

Re: [systemd-devel] systemd-timer way of queuing jobs like 'at' command does ?

2022-12-22 Thread Michael Chapman
On Thu, 22 Dec 2022, Andrei Borzenkov wrote: > On Thu, Dec 22, 2022 at 11:17 AM Nicolas Pillot > wrote: > > > > Hello > > > > I am wondering if i can dynamically plan jobs (once) using systemd timer. > > What i mean by that is kind of replicating the usage of the 'at' command > > > > systemd-run

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

2022-11-14 Thread Michael Biebl
Yeah, can we please block this Ulrich Windl guy. He's been more of a nuisance than a benefit to this community. Am Mo., 14. Nov. 2022 um 09:17 Uhr schrieb Mantas Mikulėnas : > > On Mon, Nov 14, 2022 at 9:00 AM Ulrich Windl > wrote: >> >> >>> Mantas Mikulenas schrieb am 11.11.2022 um 15:49 in >>

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

2022-11-14 Thread Michael Chapman
On Mon, 14 Nov 2022, Ulrich Windl wrote: [...] > Wow! never heard of that option. Is that a kind of target, or what is the > mechanism? > Which of the 196 (man -k systemd | wc -l) systemd-related manual pages would > describe it? ;-) A small correction to my previous email: this particular boot

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

2022-11-14 Thread Michael Chapman
On Mon, 14 Nov 2022, Ulrich Windl wrote: [...] > > Boot with "systemd.debug-shell" and use tty9 to investigate from the inside. > > Wow! never heard of that option. Is that a kind of target, or what is the > mechanism? > Which of the 196 (man -k systemd | wc -l) systemd-related manual pages would

Re: [systemd-devel] systemd-container: Trying to use a bookworm chroot with a buster host fails / Failed to create /init.scope control group

2022-10-16 Thread Michael Biebl
:38 Uhr schrieb Michael Biebl : > > What are you Missing? > > Lennart Poettering schrieb am So., 16. Okt. 2022, > 23:45: >> >> On So, 16.10.22 21:02, Michael Biebl (mbi...@gmail.com) wrote: >> >> > Am So., 16. Okt. 2022 um 16:23 Uhr schrieb Lennart Poetteri

Re: [systemd-devel] systemd-container: Trying to use a bookworm chroot with a buster host fails / Failed to create /init.scope control group

2022-10-16 Thread Michael Biebl
What are you Missing? Lennart Poettering schrieb am So., 16. Okt. 2022, 23:45: > On So, 16.10.22 21:02, Michael Biebl (mbi...@gmail.com) wrote: > > > Am So., 16. Okt. 2022 um 16:23 Uhr schrieb Lennart Poettering > > : > > > > > > On Fr, 14.10.22 22:57, Mi

Re: [systemd-devel] systemd-container: Trying to use a bookworm chroot with a buster host fails / Failed to create /init.scope control group

2022-10-16 Thread Michael Biebl
Am So., 16. Okt. 2022 um 16:23 Uhr schrieb Lennart Poettering : > > On Fr, 14.10.22 22:57, Michael Biebl (mbi...@gmail.com) wrote: > > > Hi, > > > > since the issue came up on the Debian bug tracker at > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019147 ,

[systemd-devel] systemd-container: Trying to use a bookworm chroot with a buster host fails / Failed to create /init.scope control group

2022-10-14 Thread Michael Biebl
Hi, since the issue came up on the Debian bug tracker at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019147 , I figured I ask here: Am 04.09.22 um 18:40 schrieb Bernhard Übelacker: > > Package: systemd-container > Severity: wishlist > X-Debbugs-Cc: bernha...@mailbox.org > > > Dear Maintain

Re: [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-07 Thread Michael Biebl
Am Fr., 7. Okt. 2022 um 09:24 Uhr schrieb Klaus Ebbe Grue : > QUESTION: Is it possible to let systemd create a listening socket and yet be > able to have that socket activate nothing, at least temporarily? Unfortunately not. You'd need some kind of "maintenance" mode you could put a service in, w

Re: [systemd-devel] *****SPAM***** Re: problem understanding why I am 'forced' to run systemd-journald

2022-10-05 Thread Michael Biebl
ything. > > Not really, as the man page (that Michael already linked) states [0] using > Storage=volatile will cause the journals to be stored only in memory (under > /run/log/journal) without any disk writes. You can also disable journal > completely using Storage=none, in which c

Re: [systemd-devel] problem understanding why I am 'forced' to run systemd-journald

2022-10-05 Thread Michael Biebl
https://www.freedesktop.org/software/systemd/man/journald.conf.html#Storage= → volatile Am Mi., 5. Okt. 2022 um 11:40 Uhr schrieb Marc : > > > Hello, > > I have started to upgrade a few machines from CentOS7 to recent versions of > CentOS/Rocky. However I don't really get why there is a systemd-

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

2022-09-28 Thread Michael Chapman
On Wed, 28 Sep 2022, Branko wrote: > On Wed, 28 Sep 2022 19:07:14 +1000 (AEST) > Michael Chapman wrote: > > 1. ExecSTart is relative to RootDirectory (at least for me). > > 2. I've just simpliefied my service file to equal yours - simle static > executable in RootDirec

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

2022-09-28 Thread Michael Chapman
On Wed, 28 Sep 2022, Branko wrote: > OK. You have bound one path. Is the executable within it or is it > irrelevant for the case ( and the executable is in /tmp) ? No, the executable was in the chroot's root directory. That's why I referred to it with: ExecStart=/hello You could put the ex

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

2022-09-28 Thread Michael Chapman
On Wed, 28 Sep 2022, Branko wrote: > On Wed, 28 Sep 2022 18:11:14 +1000 (AEST) > Michael Chapman wrote: > > Sure, but this example is kind of useless as it doesn't bind-mount > anything into chroot. Sure, but you didn't mention anything about bind mounts. I added:

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

2022-09-28 Thread Michael Chapman
> Is there a simple demo example that uses it that I could try ? This worked for me: $ cd /tmp/root $ cat hello.c #include int main(void) { puts("Hello, world!"); } $ clang -static -o hello hello.c $ cat /etc/systemd/system/hello.service [Service] Ty

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

2022-09-21 Thread Michael Chapman
> > What can I do to resolve this (remove obsolete files, maybe)? > > Regards, > Ulrich There is no problem here. systemd knows about those units because they are referenced by other units, such as in Wants= directives. - Michael

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

2022-09-09 Thread Michael Biebl
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 schrieb am 09.09.2022 um 13:41 in > > Nachricht > > : > > > On Fr

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

2022-09-09 Thread Michael Biebl
Am Fr., 9. Sept. 2022 um 14:01 Uhr schrieb 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 Wan

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

2022-09-09 Thread Michael Biebl
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.09.2022 um 10:55 in > > Nachricht > > : > > > Example: syslog.se

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

2022-09-09 Thread Michael Biebl
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: syslog.service > > > > $ systemctl status syslog.service > > ● rsyslog.service - System Logging Service

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

2022-09-09 Thread Michael Biebl
l see that syslog.service is provided by provided by rsyslog.service (and the actual name of the file on the disk) Isn't this what you wanted? If not, I must have misunderstood what you are looking for. Am Fr., 9. Sept. 2022 um 10:52 Uhr schrieb Ulrich Windl : > > >>> Michael Bie

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

2022-09-09 Thread Michael Biebl
I'd probably just use `systemctl status` Am Fr., 9. Sept. 2022 um 10:18 Uhr schrieb 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, bu

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

2022-08-30 Thread Michael Biebl
Would the systemd inhibit interface be an option? https://www.freedesktop.org/wiki/Software/systemd/inhibit/ It was designed for that use case after all. Am Mo., 29. Aug. 2022 um 14:01 Uhr schrieb Mantas Mikulėnas : > > On Mon, Aug 29, 2022 at 1:31 PM Henning Moll wrote: >> >> Hi, >> >> back in

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

2022-08-25 Thread Michael Cassaniti
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 to be somewhat more complicated than that, and perhaps it has more to do with my setup. Here's my /etc/crypttab which just might explain a bit:     # Mount roo

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

2022-08-25 Thread Michael Cassaniti
On 25/8/22 20:43, Lennart Poettering wrote: On Mi, 17.08.22 13:23, Michael Cassaniti (mich...@cassaniti.id.au) wrote: Hi, I'm trying to order my units and targets during early boot so that: 1. A symlink to the specific FIDO2 token I'm using gets created. I already have a udev rul

Re: [systemd-devel] Issues with /usr GPT auto-mount

2022-07-14 Thread Michael Cassaniti
Should I at least raise a feature request in GitHub? Trust me when I say you don't want a PR from me. I've been poking around mkosi and my Python skills are a much better fit over there than my lack of C skills. On 14/7/22 22:38, Lennart Poettering wrote: On Do, 14.07.22 12:0

Re: [systemd-devel] Service output missing from journal?

2022-07-04 Thread Michael Biebl
Am Mo., 4. Juli 2022 um 19:36 Uhr schrieb Lennart Poettering : > > eOn So, 03.07.22 19:29, Uwe Geuder (systemd-devel-ugeu...@snkmail.com) wrote: > > > Hi! > > > > When I run the command given below on a current Fedora CoreOS system > > (systemd 250 (v250.6-1.fc36)) I get a result I absolute cannot

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

2022-05-02 Thread Michael Biebl
Am Mo., 2. Mai 2022 um 11:26 Uhr schrieb Lennart Poettering : > > On Sa, 30.04.22 14:54, Andrea Pappacoda (and...@pappacoda.it) wrote: > > > > > If current bootloader already works on platforms supported by > > > > distribution, what is gained by adding yet another one? > > > Freedom of choice > >

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

2022-04-27 Thread Michael Biebl
Am Mi., 27. Apr. 2022 um 18:02 Uhr schrieb Michael Biebl : > > Am Mi., 27. Apr. 2022 um 17:16 Uhr schrieb Dan Nicholson : > > > > On Wed, Apr 27, 2022 at 9:01 AM Michael Biebl wrote: > > > > > > Slightly related > > > https://salsa.debian.org/system

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

2022-04-27 Thread Michael Biebl
Am Mi., 27. Apr. 2022 um 17:16 Uhr schrieb Dan Nicholson : > > On Wed, Apr 27, 2022 at 9:01 AM Michael Biebl wrote: > > > > Slightly related > > https://salsa.debian.org/systemd-team/systemd/-/merge_requests/138 > > [sd-boot split] > > https://s

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

2022-04-27 Thread Michael Biebl
Slightly related https://salsa.debian.org/systemd-team/systemd/-/merge_requests/138 [sd-boot split] https://salsa.debian.org/systemd-team/systemd/-/merge_requests/132 [Draft: Prepare for EFI signing] Am Mi., 27. Apr. 2022 um 16:13 Uhr schrieb Zbigniew Jędrzejewski-Szmek : > > On Wed, Apr 27, 2022

Re: [systemd-devel] Dropping split-usr/unmerged-usr support

2022-04-05 Thread Michael Biebl
Am Di., 5. Apr. 2022 um 22:07 Uhr schrieb Luca Boccassi : > > Hi, > > As part of our spring cleaning effort, we are considering when to drop > support for split/unmerged-usr filesystem layouts. > > A build-time warning was added last year: > > https://github.com/systemd/systemd/commit/9afd5e7b975e8

Re: [systemd-devel] version bump of minimal kernel version supported by systemd?

2022-03-24 Thread Michael Biebl
ss is more common among Debian then e.g. Fedora users. Regards, Michael Am Di., 22. März 2022 um 17:34 Uhr schrieb Zbigniew Jędrzejewski-Szmek : > > Hi all, > > we are considering dropping upstream support for kernel versions < 4.4. > Would this be a problem for anyone? (*). >

Re: [systemd-devel] version bump of minimal kernel version supported by systemd?

2022-03-23 Thread Michael Biebl
Am Mi., 23. März 2022 um 22:11 Uhr schrieb Zbigniew Jędrzejewski-Szmek : > Or in other words: I'd prefer for such people to speak up for > themselves, rather than us trying to figure out what somebody else > *might* be planning to do. That's laudable but keep in mind that users typically don't fo

Re: [systemd-devel] making firewalld an early boot service

2022-03-08 Thread Michael Biebl
Am Mi., 9. März 2022 um 06:49 Uhr schrieb Andrei Borzenkov : > > On 09.03.2022 00:59, Michael Biebl wrote: > > Hi, > > > > I need help with firewalld issue, specifically > > https://github.com/firewalld/firewalld/issues/414 > > > > the TLDR: both firewalld

[systemd-devel] making firewalld an early boot service

2022-03-08 Thread Michael Biebl
Hi, I need help with firewalld issue, specifically https://github.com/firewalld/firewalld/issues/414 the TLDR: both firewalld.service and cloud-init-local.service hook into network-pre.target and have a Before=network-pre.target ordering. cloud-init-local.service is an early boot service using D

Re: [systemd-devel] Q: journalctl -g

2022-03-04 Thread Michael Chapman
On Fri, 4 Mar 2022, Ulrich Windl wrote: > Hi! > > In SLES15 SP3 (systemd-246.16-7.33.1.x86_64) I have this effect, wondering > whether it is a bug or a feature: > When using "journalctl -b -g raid" I see that _ome_ matches are highlighted > in red, but others aren't. For example: > Mar 01 01:37:

Re: [systemd-devel] Passive vs Active targets

2022-02-16 Thread Michael Biebl
Fwiw, the Debian rsyslog package does not have any such dependencies/orderings. But there is https://github.com/rsyslog/rsyslog-pkg-rhel-centos/issues/72

Re: [systemd-devel] Antw: [EXT] Service activation

2022-02-14 Thread Michael Biebl
Am Mo., 14. Feb. 2022 um 09:42 Uhr schrieb Wols Lists : > I doubt it. Documentation is excellent at reminding you what you already > knew. It's piss poor at getting a newbie started. The existing documentation of systemd is extensive and well written but indeed probably not very well suited to get

Re: [systemd-devel] Service activation

2022-02-13 Thread Michael Biebl
Am So., 13. Feb. 2022 um 17:01 Uhr schrieb Wols Lists : > > On 13/02/2022 15:46, Mantas Mikulėnas wrote: > > On Sun, Feb 13, 2022 at 1:09 PM Wols Lists > > wrote: > > > > On 13/02/2022 09:54, Mantas Mikulėnas wrote: > > > On Sun, Feb 13, 2022 at 2:03 AM Wo

Re: [systemd-devel] systemd.sockets vs xinetd

2022-02-10 Thread Michael Chapman
On Thu, 10 Feb 2022, Yolo von BNANA wrote: > Hello, > > i read the following in an LPIC 1 Book: > > " If you’ve done any investigation into systemd.sockets, you may believe > that it makes super servers like xinetd obsolete. At this point in time, > that is not true. The xinetd super server off

Re: [systemd-devel] eth2: Failed to rename network interface 6 from 'eth2' to 'eno1': File exists

2022-01-06 Thread Michael Biebl
Am Do., 6. Jan. 2022 um 10:00 Uhr schrieb Mantas Mikulėnas : > Grep your entire /etc for those interface names (starting with /etc/udev), > find out where they're defined, and remove them Please also make sure to rebuild your initramfs after doing that. Files from /etc/udev are usually embedded

Re: [systemd-devel] eth2: Failed to rename network interface 6 from 'eth2' to 'eno1': File exists

2022-01-05 Thread Michael Biebl
Am Mi., 5. Jan. 2022 um 13:50 Uhr schrieb Mantas Mikulėnas : > It does, yes, but note this part: > > Jan 03 11:30:14 nasl002b.example.com kernel: igb :02:00.2 eth4: renamed > from eth2 > Jan 03 11:30:14 nasl002b.example.com kernel: igb :02:00.3 eth5: renamed > from eth3 > > Here the kerne

Re: [systemd-devel] [RFC] Switching to OpenSSL 3?

2021-11-10 Thread Michael Biebl
For some reason I sent this message to Lennart only back then, which wasn't my intention. Re-sending it to the mailing list. Am Do., 16. Sept. 2021 um 19:25 Uhr schrieb Michael Biebl : > > Hi Lennart, hi everyone! > > First, a couple of remarks regarding the Debian package: >

Re: [systemd-devel] Systemd hang when restarting a service during shutdown

2021-11-08 Thread Michael Chapman
On Mon, 8 Nov 2021, Sean Nyekjaer wrote: > Hi, > > Regarding, > https://github.com/systemd/systemd/issues/21203 > > I think the point of the issue missed when the issue got closed. > > We have a service that is changing configs for systemd-networkd and > issuing a `systemctl restart systemd-netw

Re: [systemd-devel] [EXT] Re: Output from `tee' is not showing up in system journal consistently on some systems

2021-10-28 Thread Michael Biebl
Might be another instance of https://github.com/systemd/systemd/issues/2913 You can verify by checking your whole journal, not just "-u tee_test.service". Am Do., 28. Okt. 2021 um 21:54 Uhr schrieb Mitchel Humpherys : > > On Thu, Oct 28, 2021 at 12:35 AM Ulrich Windl > wrote: > > > > ANother ran

[systemd-devel] SocketBindAllow= / SocketBindDeny=any

2021-10-14 Thread Michael Ströder
opensuse.org/package/show/Base:System/systemd Ciao, Michael. # /etc/systemd/system/ae-apache.service #--- # initiate: systemctl enable ae-apache.service # start: systemctl start ae-apache.service # get status: systemctl

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-21 Thread Michael Biebl
Just curious: Can someone familiar with KDE/Plasma tell us, if they nowadays (can) use "systemd --user" to manage a login session. Am Di., 21. Sept. 2021 um 12:52 Uhr schrieb Ed Greshko : > > On 21/09/2021 18:20, Colin Guthrie wrote: > > Ed Greshko wrote on 19/09/2021 12:11: > >> OK.. > >> >

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-19 Thread Michael Biebl
Am So., 19. Sept. 2021 um 15:48 Uhr schrieb Ed Greshko : > > On 19/09/2021 21:39, Michael Biebl wrote: > > A useful command in this context is > > systemctl --user show-environment > > > OK, that was helpful. But leads to another question. > > How to run the serv

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-19 Thread Michael Biebl
A useful command in this context is systemctl --user show-environment Am So., 19. Sept. 2021 um 11:53 Uhr schrieb Mantas Mikulėnas : > > On Sun, Sep 19, 2021 at 4:05 AM Ed Greshko wrote: >> >> Not a everyday systemd service writer >> >> I've written a user service file to start an app on log

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-18 Thread Michael Biebl
You don't hard-code it, you just use it? In your case, since you have a user service which appears bound to the lifetime of a graphical (X/Wayland) session, I guess graphical-session.target is what you want. See man systemd.special. So far, I think only GNOME implements graphical-session.target t

Re: [systemd-devel] masking --global, but allowing --user

2021-09-17 Thread Michael Chapman
On Sat, 18 Sep 2021, Matt Zagrabelny wrote: > Greetings, > > I believe the Debian package of mpd enables a --global .service and > .socket unit for the mpd daemon/service. > > I'd like to mask that and install it just to a single --user service. Why do you need to mask the socket and service at

Re: [systemd-devel] Why systemd-journald is creating '/var/log/journal/machine_id" directory when Storage=auto

2021-08-29 Thread Michael Chapman
On Sun, 29 Aug 2021, Nishant Nayan wrote: > Awesome, thanks! > > Also, where can I find the code section where services And kernel logs to > journald? > After tracing from 'main' at journald.c I came across the part where > various sockets are opened and validated (/run/systemd/journal/stdout, > /

Re: [systemd-devel] Why systemd-journald is creating '/var/log/journal/machine_id" directory when Storage=auto

2021-08-29 Thread Michael Chapman
On Sun, 29 Aug 2021, Nishant Nayan wrote: > Also I was wondering where in the code does journald.config file changes > are parsed? > For example in the above code , the line :- > if (s->storage == STORAGE_PERSISTENT) > Here, s->storage corresponds to 'Storage' option of conf file right? > How

Re: [systemd-devel] Why systemd-journald is creating '/var/log/journal/machine_id" directory when Storage=auto

2021-08-29 Thread Michael Chapman
On Sun, 29 Aug 2021, Nishant Nayan wrote: > I was looking into the code of systemd-journald and found this (in > system_journal_open() ) :- > > if (!s->system_journal && IN_SET(s->storage, STORAGE_PERSISTENT, > STORAGE_AUTO) && (flush_requested || flushed_flag_is_set())) { > > /* If i

Re: [systemd-devel] Why systemd-journald is creating '/var/log/journal/machine_id" directory when Storage=auto

2021-08-29 Thread Michael Chapman
On Sun, 29 Aug 2021, Nishant Nayan wrote: > I was looking into the code of systemd-journald and found this (in > system_journal_open() ) :- > > if (!s->system_journal && IN_SET(s->storage, STORAGE_PERSISTENT, > STORAGE_AUTO) && (flush_requested || flushed_flag_is_set())) { > > /* If i

Re: [systemd-devel] [hostnamed] Why the service will automatically exit after 30 seconds

2021-08-18 Thread Michael Chapman
On Thu, 19 Aug 2021, Michael Chapman wrote: > On Thu, 19 Aug 2021, Cristian Rodríguez wrote: > > On Tue, Aug 17, 2021 at 9:35 PM 李成刚 wrote: > > > > > > How to configure this service so that it will not automatically exit > > > > > > So what are yo

Re: [systemd-devel] [hostnamed] Why the service will automatically exit after 30 seconds

2021-08-18 Thread Michael Chapman
On Thu, 19 Aug 2021, Cristian Rodríguez wrote: > On Tue, Aug 17, 2021 at 9:35 PM 李成刚 wrote: > > > > How to configure this service so that it will not automatically exit > > > So what are you trying to accomplish with this ? why do you need yet > another service running when it is totally idle ?

Re: [systemd-devel] [hostnamed] Why the service will automatically exit after 30 seconds

2021-08-18 Thread Michael Biebl
Am Mi., 18. Aug. 2021 um 03:35 Uhr schrieb 李成刚 : > > How to configure this service so that it will not automatically exit You can't. The exit-on-idle timeout of 30s is hard-coded.

Re: [systemd-devel] Antw: [EXT] Re: [systemd‑devel] systemctl log verbosity

2021-08-18 Thread Michael Chapman
On Wed, 18 Aug 2021, Ulrich Windl wrote: > >>> Michael Chapman schrieb am 18.08.2021 um 08:38 in > Nachricht : > > On Wed, 18 Aug 2021, Ulrich Windl wrote: > >> >>> Michael Chapman schrieb am 17.08.2021 um 02:52 > in > >> Nachricht <885331af-

Re: [systemd-devel] Antw: [EXT] Re: [systemd‑devel] systemctl log verbosity

2021-08-17 Thread Michael Chapman
On Wed, 18 Aug 2021, Ulrich Windl wrote: > >>> Michael Chapman schrieb am 17.08.2021 um 02:52 in > Nachricht <885331af-bb7-41d0-e8-26c92023b...@very.puzzling.org>: > > On Tue, 17 Aug 2021, Dave Close wrote: > >> I'm trying to run "systemctl show&quo

Re: [systemd-devel] systemctl log verbosity

2021-08-16 Thread Michael Chapman
On Tue, 17 Aug 2021, Dave Close wrote: > I'm trying to run "systemctl show" in a cron script. It works but I get > a huge number of extra lines in my log for each run. Why? Can this be > suppressed. I don't want to overfill the log. > > There is nothing in the man page (that I noticed) indicating

Re: [systemd-devel] Antw: [EXT] Upgraded multiple systems to systemd 249.3 and all had eth1 not started / configured

2021-08-16 Thread Michael Biebl
How exactly do you rename your interfaces? Do you use a udev rule? Can you post those scripts/rules?

Re: [systemd-devel] Is `kernel-install` called automatically?

2021-07-16 Thread Michael Chapman
On Sat, 17 Jul 2021, Mike Beaton wrote: > > I've managed to get it to be called > automatically on both Fedora and CentOS/Rocky 8 > > Thank you. How? I'm not asking for excruciating detail, just roughly. Your > own scripts, or something in the distribution? On Fedora, the kernel-core RPM's %postt

Re: [systemd-devel] Resource ( systemd )

2021-07-14 Thread Michael Biebl
There is no such property in .service units. What you might do is have .path unit which monitors your python script and triggers a restart.service which restarts server.service Am Mi., 14. Juli 2021 um 04:38 Uhr schrieb Webstrucs : > > I'm developing a web server in python that is referenced in

[systemd-devel] UNSUSCRIBE

2021-06-18 Thread Saint Michael
UNSUSCRIBE ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Block systemd from adding new services

2021-06-13 Thread Saint Michael
The attacker is a robot trying to copy a *.service to /etc/systemd/services. This single measure may keep me in business. Thanks for the information. On Sun, Jun 13, 2021 at 11:45 AM Silvio Knizek wrote: > Am Sonntag, dem 13.06.2021 um 10:49 -0400 schrieb Saint Michael: > > This is no

Re: [systemd-devel] Block systemd from adding new services

2021-06-13 Thread Saint Michael
:32 -0400 schrieb Saint Michael: > > One of the most dramatic hacks to 50+ servers of mine is a bitcoin > > miner, xmrig. It installs a service file at /etc/systemd/system, > > enables it and kills the machine. > > Nobody knows how it propagates. I think that SSHD has been brok

  1   2   3   4   5   6   7   8   9   10   >