Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #268805

Re: inconsistency in the symlinks under /etc/systemd

From Jeffrey Walton <noloader@gmail.com>
Newsgroups linux.debian.user
Subject Re: inconsistency in the symlinks under /etc/systemd
Date 2024-04-10 21:00 +0200
Message-ID <IrLkR-5oON-3@gated-at.bofh.it> (permalink)
References <IrE01-5kDT-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Apr 10, 2024 at 7:00 AM Vincent Lefevre <vincent@vinc17.net> wrote:
>
> On one machine, I have
>
> lrwxrwxrwx 1 root root 35 2023-10-07 13:43:24 /etc/systemd/system/sockets.target.wants/dm-event.socket -> /lib/systemd/system/dm-event.socket
>
> and on another one, I have
>
> lrwxrwxrwx 1 root root 39 2024-01-05 16:54:09 /etc/systemd/system/sockets.target.wants/dm-event.socket -> /usr/lib/systemd/system/dm-event.socket
>
> These symlinks were created at Debian installation time, and in
> both cases, the dmeventd version is 2:1.02.196-1+b1.
>
> Shouldn't the system ensure that symlinks are consistent on different
> machines (even though the above symlinks are equivalent), for instance
> to ease the comparison of configurations between machines?
>
> For instance, shouldn't usr-is-merged convert the symlinks to a
> canonical path?

Be careful of fiddling with the Systemd symlinks. If you convert the
relative ones to absolute ones, then the machine will fail to boot.

Jeff

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

inconsistency in the symlinks under /etc/systemd Vincent Lefevre <vincent@vinc17.net> - 2024-04-10 13:10 +0200
  Re: inconsistency in the symlinks under /etc/systemd Dan Purgert <dan@djph.net> - 2024-04-10 16:20 +0200
    Re: inconsistency in the symlinks under /etc/systemd Vincent Lefevre <vincent@vinc17.net> - 2024-04-11 04:10 +0200
      Re: inconsistency in the symlinks under /etc/systemd Vincent Lefevre <vincent@vinc17.net> - 2024-04-11 19:50 +0200
        Re: inconsistency in the symlinks under /etc/systemd David Wright <deblis@lionunicorn.co.uk> - 2024-04-12 21:10 +0200
      Re: inconsistency in the symlinks under /etc/systemd David Wright <deblis@lionunicorn.co.uk> - 2024-04-11 07:10 +0200
  Re: inconsistency in the symlinks under /etc/systemd David Wright <deblis@lionunicorn.co.uk> - 2024-04-10 16:30 +0200
  Re: inconsistency in the symlinks under /etc/systemd Jeffrey Walton <noloader@gmail.com> - 2024-04-10 21:00 +0200
    Re: inconsistency in the symlinks under /etc/systemd David Wright <deblis@lionunicorn.co.uk> - 2024-04-12 21:10 +0200

csiph-web