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


Groups > linux.debian.user > #268802

Re: inconsistency in the symlinks under /etc/systemd

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: inconsistency in the symlinks under /etc/systemd
Date 2024-04-10 16:30 +0200
Message-ID <IrH7z-5moG-7@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 10 Apr 2024 at 12:33:21 (+0200), Vincent Lefevre 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?

No, that's the role of usrmerge. All usr-is-merged does is check
whether usr /is/ merged already and, if it isn't, report the fact
and fail to install. The only code in usr-is-merged is its preinst.

There's an FAQ in /usr/share/doc/usrmerge/README.Debian.

Cheers,
David.

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