[systemd-devel] Debian Repeals The Merged "/usr" Movement Moratorium

2023-10-17 Thread Kenneth Porter
https://www.phoronix.com/news/Debian-Repeats-Merged-Usr-Block https://lists.debian.org/debian-devel-announce/2023/10/msg3.html

Re: [systemd-devel] Getting delegated IPv6 prefix from systemd-networkd

2022-10-22 Thread Kenneth Porter
The command "ip addr" will display your address assignments.

Re: [systemd-devel] Prefix delegation and IPv6 subnetting

2022-07-11 Thread Kenneth Porter
This issue for ISC's Kea DHCPv6 server has some useful insights into what's required of a program that manages prefix delegation. See the long comment from Tomek Mrugalski 2 years ago. https://gitlab.isc.org/isc-projects/kea/-/issues/856

Re: [systemd-devel] Prefix delegation and IPv6 subnetting

2022-07-07 Thread Kenneth Porter
--On Thursday, July 07, 2022 6:25 PM +0200 Bent Bagger wrote: I have become fascinated by prefix delegation and ipv6 subnetting - to the extent that I have decided to learn more about it. I'm learning the same stuff. FWIW, I'm on a RHEL-based system with systemd+NetworkManager and am

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

2022-04-21 Thread Kenneth Porter
On 4/20/2022 1:09 PM, Alessio Igor Bogani wrote: # ExecStart=/usr/bin/Starter %H ExecStart=/bin/sh -c 'sleep 1; exec /usr/bin/Starter `hostname`' Is there a significant advantage to using the systemd macro over the backtick operator applied to the hostname program? Is the overhead of a

Re: [systemd-devel] Samba Config Reload

2022-04-07 Thread Kenneth Porter
--On Thursday, April 07, 2022 12:30 PM +0200 Lennart Poettering wrote: The other two options are likely similar, i.e. synchronous and talk to smbd directly. But I don't know samba that well, so it's just an assumption. In fact, if ExecStop= in smbd.service just calls the smbcontrol they

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

2022-04-05 Thread Kenneth Porter
On 4/5/2022 1:07 PM, Luca Boccassi wrote: As part of our spring cleaning effort, we are considering when to drop support for split/unmerged-usr filesystem layouts. For others like me who don't know this term. (I'd seen and appreciate the concept but didn't know what people called it.)

Re: [systemd-devel] Passive vs Active targets

2022-02-15 Thread Kenneth Porter
Given that interfaces can come and go, does network.target imply that all possible interfaces are up? Or does it just mean that the infrastructure is there for DHCP-capable interfaces to begin searching for an address?

Re: [systemd-devel] Passive vs Active targets

2022-02-15 Thread Kenneth Porter
--On Tuesday, February 15, 2022 11:52 AM +0100 Lennart Poettering wrote: Yes, rsyslog.service should definitely not pull in network.target. (I am not sure why a syslog implementation would bother with network.target at all, neither Wants= nor After= really makes any sense. i.e. if people want

[systemd-devel] OnCalendar weekday range syntax

2022-02-04 Thread Kenneth Porter
Shows a range of weekdays separated by two dots: Mon..Fri When I use this on CentOS 7.9.2009, systemd-219-78.el7_9.5.x86_64, I get this error from systemd-analyze verify: Failed to parse calendar specification, ignoring:

Re: [systemd-devel] PIDFile creation logic

2021-10-18 Thread Kenneth Porter
On 10/18/2021 1:08 PM, Silvio Knizek wrote: OTOH, systemd-networkd itself has inbuilt NDPProxy capabilities. How well does it coexist with RHEL/CentOS 7? I don't really understand how the various network management ecosystems interact. Pointers welcome.

[systemd-devel] PIDFile creation logic

2021-10-18 Thread Kenneth Porter
I just installed the new-to-EPEL ndppd service and am seeing this in my log: Oct 17 21:10:08 saruman systemd: Can't open PID file /var/run/ndppd/ndppd.pid (yet?) after start: No such file or directory Examining the source, I see that the pidfile is created by the child process, not the

Re: [systemd-devel] Examples to distinguish Before=/After= and Wants=/Requires=/BindsTo=

2021-09-17 Thread Kenneth Porter
--On Friday, September 17, 2021 12:49 PM +0200 Lennart Poettering wrote: more specific example: you can use apache without mysql, and you can use mysql without apache, but quite often they are used together, and if so you likely want to start mysql first, and apache second, since it likely

Re: [systemd-devel] Alias for SMTP providers [ie. mutually exclusive service alternatives]

2021-06-16 Thread Kenneth Porter
--On Wednesday, June 16, 2021 11:46 AM +0300 Mantas MikulÄ—nas wrote: What does "needs to send mail" even mean? That /usr/sbin/sendmail can be called to queue a message? That you can talk to localhost:25? A well behaving MTA actually make /usr/sbin/sendmail work without the main mail daemon

Re: [systemd-devel] Alias for SMTP providers [ie. mutually exclusive service alternatives]

2021-06-15 Thread Kenneth Porter
What happens if I list multiple services in a Wants= and After= clause that are mutually exclusive (eg. sendmail/postfix/exim? How can I say "This unit needs to send mail" without knowing which is enabled? ___ systemd-devel mailing list

[systemd-devel] Alais for SMTP providers

2021-06-12 Thread Kenneth Porter
I just finished adding a custom service to send an email on system shutdown/startup, based on this article: I ended up coding an After for postfix.service so the mail would get get delivered before the system shut

Re: [systemd-devel] early mounts in systemd

2021-04-30 Thread Kenneth Porter
--On Friday, April 30, 2021 11:39 AM -0400 Rick Winscot wrote: Early in the project it was decided to make the rootfs read-only... in an effort to improve durability in environments where power fluctuations might cause problems on the eMMC. At the same time, making logging (e.g. /var)

[systemd-devel] Article on systemd-homed talk at FOSDEM

2020-11-28 Thread Kenneth Porter
Account of Lennart's talk at FOSDEM. Direct link to video: ___ systemd-devel mailing list

Re: [systemd-devel] systemd unit timer

2020-08-10 Thread Kenneth Porter
On 8/10/2020 12:19 PM, Dave Howorth wrote: Most of that has gone over my head so some examples would probably help me to understand. Perhaps they're in the git logs? The key word is "activation". Modern systems are event-driven. Events include hardware plugging in, powering up, another

Re: [systemd-devel] firewalld subject: allowing icmp echo-request

2019-12-06 Thread Kenneth Porter
--On Friday, December 06, 2019 12:17 PM + Andy Pieters wrote: This is on Centos 7.7.1908 and firewalld 0.6.3 I could not find a firewalld-specific mailing list and I hope it is ok to ask it here. firewalld list is here. It's been pretty quiet lately.

Re: [systemd-devel] Service that runs with network credentials

2019-12-06 Thread Kenneth Porter
--On Thursday, December 05, 2019 10:37 AM +0100 Lennart Poettering wrote: I am not sure what "network credentials" is supposed to mean Here's where this came up. The problem reported was pretty vague.

[systemd-devel] VPN connections subject to hijack attack

2019-12-06 Thread Kenneth Porter
This affects all VPNs and is a consequence of using "loose" reverse path filtering for anti-spoofing. Technical details: According to

[systemd-devel] Service that runs with network credentials

2019-12-04 Thread Kenneth Porter
What's the best practice for defining a service that might require network credentials to run? Are there example unit files that do this? How does one set up the dependencies to access an LDAP or Active Directory server, for example? ___

Re: [systemd-devel] Temporarily add DHCP DNS as fallback

2019-10-08 Thread Kenneth Porter
--On Tuesday, October 08, 2019 11:12 AM +0200 Jurek Olden wrote: For instance when using a WLAN to connect via AnyConnect, i need to be able to resolve the AnyConnect server via the local DNS. Company networks with local name resolution would be another example. Is there a way to make

Re: [systemd-devel] StandardOutput=append

2019-09-01 Thread Kenneth Porter
--On Sunday, September 01, 2019 8:55 AM +0200 Lennart Poettering wrote: Whcih version of systemd are you running? append: is available since 240. See NEWS. Ah, that's it. I'm using the ancient 219 from CentOS 7.6. ___ systemd-devel mailing list

Re: [systemd-devel] When will my timer next run?

2019-08-31 Thread Kenneth Porter
--On Saturday, August 31, 2019 10:06 AM + Zbigniew Jędrzejewski-Szmek wrote: This needs to be OnBootSec=13m. (systemd-analyze verify is your friend in cases like this.) After fixing that, the service starts immediately and list-timers looks good both during the first run and after it

[systemd-devel] When will my timer next run?

2019-08-30 Thread Kenneth Porter
I've created my service timer with the following: [Timer] # wait a bit after boot to let our victim catch up with its work OnBoot=13m # let the victim get some work done between backups # we use inactive to prevent back-to-back backups if they run long OnUnitInactiveSec=1h I then run

[systemd-devel] StandardOutput=append

2019-08-30 Thread Kenneth Porter
I have a backup script that runs periodically via cron. Instead of mailing me a large log, I wanted to have it append to a log file that can be rotated and compressed by logrotate. So I removed my link from /etc/cron.hourly and created service and timer units. My first cut at writing a log

Re: [systemd-devel] /bin/systemctl vs /usr/bin/systemctl

2019-08-06 Thread Kenneth Porter
I wasn't aware of this change to the Filesystem Hierarchy Standard and looked it up. Here's the details on what happened: ___ systemd-devel mailing list

[systemd-devel] Overriding OnCalendar

2019-03-29 Thread Kenneth Porter
I'm using the certbot package from EPEL to renew my letsencrypt certificates. I want to change the default renewal interval from daily to weekly. I created /etc/systemd/system/certbot-renew.timer.d/weekly.conf with the following content: [Timer] # default is daily but that generates too many

[systemd-devel] Secondary mounts

2018-12-13 Thread Kenneth Porter
How could I trigger mounting of additional filesystems from the mounting of a CIFS share? The additional mounts would be to subfolders within the primary mount. I'd use symlinks but I get a "this filesystem doesn't support that operation" when I attempt a "ln -s". The primary is automounted

Re: [systemd-devel] Environment-variable security?

2018-11-13 Thread Kenneth Porter
--On Tuesday, November 13, 2018 6:59 PM +0100 Lennart Poettering wrote: Maybe following "random articles" blindly is not really the best approach to computer security... OTOH, most of us learned from reading the writings of others in the industry. So perhaps the wisdom of this thread

Re: [systemd-devel] Add timer exception

2018-11-05 Thread Kenneth Porter
--On Monday, November 05, 2018 2:37 PM +0100 Lennart Poettering wrote: I would be great to add a concept for that, but so far nobody suggested a nice syntax and a patch for it yet. For prior art, take a look at the RRULE syntax in calendar files.

Re: [systemd-devel] non-dev systemd-devel package for Linux

2018-08-31 Thread Kenneth Porter
--On Friday, August 31, 2018 3:41 PM -0700 Sayeed hyder wrote: My understanding is with the devel package, when I include in my project, I am downloading all the header files and redistributing the code. You don't distribute the headers with your code. You add a dependency on the -devel

[systemd-devel] Getting unit configuration from /etc file

2018-08-16 Thread Kenneth Porter
Is there some way to fetch a unit variable's value from another file in /etc, instead of having it hard-coded in the unit file? I'd like to use IOSchedulingClass in a unit file, but I'd like to fetch the value (idle or none) from a file in the service's /etc directory, so the admin doesn't

Re: [systemd-devel] Stacked automount dependencies

2018-03-30 Thread Kenneth Porter
--On Friday, March 30, 2018 2:25 PM +1100 Michael Chapman wrote: This probably isn't going to work the way you want. Starting the share1 automount will itself cause share0 to be mounted, since systemd needs to ensure that the share1 directory exists, and to mount an

[systemd-devel] Stacked automount dependencies

2018-03-29 Thread Kenneth Porter
I need to automount a couple cifs shares on a NAS box, with one share mounted to a directory within another share: /srv/share0/share1 I've created the unit files for .mount and .automount for the two shares, with mount disabled and automount enabled and started. This seems to work fine once