It was certainly there in Debian 10, which I noticed as soon as I created a
systemd unit file for weewx.
The other aspect that can trip up old scripts (usually my home-made ones)
is that /run is mounted as tmpfs so subdirectories lose their properties on
reboot. The ones under /var/run assume
Vince Skahan writes:
> I checked /etc/os-release for what version they reported being based on.
> The following have a /var/run => /run symlink.
>
>- centos 7.9
>- almalinux 8.5 (rhel-8-like)
>- ubuntu 18.04 LTS and newer
>- raspbian based on deb-10 and newer
>- deb-11
>-
Maybe nobody ever noticed this one before until I saw the syslog message in
debian-11.
I checked /etc/os-release for what version they reported being based on.
The following have a /var/run => /run symlink.
- centos 7.9
- almalinux 8.5 (rhel-8-like)
- ubuntu 18.04 LTS and newer
- ras
i will put an explicit conditional in the .deb installer. if the system
has systemd, it will install a unit file and use the new pid location
conventions. otherwise it will use the traditional locations and the rc
script.
that will keep both systemd (new debian) and init.d (devuan and older
Grumble. I wonder why they felt they had to do that?
Let's leave it at /var/run for now, in order to accommodate older systems.
On Sun, Dec 19, 2021 at 8:27 PM Vince Skahan wrote:
> Found in /var/log/syslog on a cleanly setup.py installed deb-11 vagrant vm
>
> Dec 20 03:56:34 bullseye systemd[1