Hi,
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?
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?
I'd hazard it's a consequence of usrmerge being the "default state" in
one installation and not the other.
On 2024-04-10 09:52:51 -0400, Dan Purgert wrote:
I'd hazard it's a consequence of usrmerge being the "default state" in
one installation and not the other.
Both machines have always been usr-merged (i.e. from the Debian installation).
On Thu 11 Apr 2024 at 03:36:59 (+0200), Vincent Lefevre wrote:
On 2024-04-10 09:52:51 -0400, Dan Purgert wrote:
I'd hazard it's a consequence of usrmerge being the "default state" in one installation and not the other.
Both machines have always been usr-merged (i.e. from the Debian installation).
This is trixie, is it not, so perhaps bugs are being fixed
in package installation support programs. You should be able
to see the symlinks being created in /var/log/apt/term.log*
if they haven't yet rotated away.
Or else, have you run systemctl on dmeventd, in order to change its
status?
On Wed, Apr 10, 2024 at 7:00 AM Vincent Lefevre <[email protected]> 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.
On 2024-04-10 23:47:36 -0500, David Wright wrote:
On Thu 11 Apr 2024 at 03:36:59 (+0200), Vincent Lefevre wrote:
On 2024-04-10 09:52:51 -0400, Dan Purgert wrote:
I'd hazard it's a consequence of usrmerge being the "default state" in one installation and not the other.
Both machines have always been usr-merged (i.e. from the Debian installation).
This is trixie, is it not, so perhaps bugs are being fixed
in package installation support programs. You should be able
to see the symlinks being created in /var/log/apt/term.log*
if they haven't yet rotated away.
On the first machine:
Setting up dmeventd (2:1.02.185-2) ...
Created symlink /etc/systemd/system/sockets.target.wants/dm-event.socket → /lib/systemd/system/dm-event.socket.
Setting up lvm2 (2.03.16-2) ...
Created symlink /etc/systemd/system/sysinit.target.wants/blk-availability.service → /lib/systemd/system/blk-availability.service.
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-monitor.service → /lib/systemd/system/lvm2-monitor.service.
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-lvmpolld.socket → /lib/systemd/system/lvm2-lvmpolld.socket.
On the second machine:
Setting up dmeventd (2:1.02.185-2) ...
Created symlink /etc/systemd/system/sockets.target.wants/dm-event.socket → /usr/lib/systemd/system/dm-event.socket.
Setting up lvm2 (2.03.16-2) ...
Created symlink /etc/systemd/system/sysinit.target.wants/blk-availability.service → /usr/lib/systemd/system/blk-availability.service.
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-monitor.service → /usr/lib/systemd/system/lvm2-monitor.service.
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-lvmpolld.socket → /usr/lib/systemd/system/lvm2-lvmpolld.socket.
Or else, have you run systemctl on dmeventd, in order to change its
status?
I'm not sure what to do.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 146:11:31 |
| Calls: | 12,089 |
| Calls today: | 2 |
| Files: | 15,000 |
| Messages: | 6,517,501 |