Public bug reported:

Filenames contain a literal "\x2d" instead of a "-". To whit:

```
root@rama:/etc/systemd/system/snapd.mounts.target.wants# ls -l
total 0
lrwxrwxrwx 1 root root 37 Jul  1  2024  snap-bare-5.mount -> 
/etc/systemd/system/snap-bare-5.mount
lrwxrwxrwx 1 root root 57 Dec  3 08:15 'snap-canonical\x2dlivepatch-372.mount' 
-> '/etc/systemd/system/snap-canonical\x2dlivepatch-372.mount'
lrwxrwxrwx 1 root root 57 Jan 15 15:19 'snap-canonical\x2dlivepatch-375.mount' 
-> '/etc/systemd/system/snap-canonical\x2dlivepatch-375.mount'
lrwxrwxrwx 1 root root 41 Aug 18 16:32  snap-core-17247.mount -> 
/etc/systemd/system/snap-core-17247.mount
lrwxrwxrwx 1 root root 41 Dec 19 05:43  snap-core-17272.mount -> 
/etc/systemd/system/snap-core-17272.mount
lrwxrwxrwx 1 root root 42 Nov 19 07:42  snap-core22-2163.mount -> 
/etc/systemd/system/snap-core22-2163.mount
lrwxrwxrwx 1 root root 42 Dec 23 06:48  snap-core22-2193.mount -> 
/etc/systemd/system/snap-core22-2193.mount
lrwxrwxrwx 1 root root 54 Sep 22 04:10 'snap-gnome\x2d42\x2d2204-226.mount' -> 
'/etc/systemd/system/snap-gnome\x2d42\x2d2204-226.mount'
lrwxrwxrwx 1 root root 54 Jan 16 21:39 'snap-gnome\x2d42\x2d2204-247.mount' -> 
'/etc/systemd/system/snap-gnome\x2d42\x2d2204-247.mount'
lrwxrwxrwx 1 root root 59 Jul  1  2024 
'snap-gtk\x2dcommon\x2dthemes-1535.mount' -> 
'/etc/systemd/system/snap-gtk\x2dcommon\x2dthemes-1535.mount'
lrwxrwxrwx 1 root root 42 Oct 20 22:27  snap-snapd-25577.mount -> 
/etc/systemd/system/snap-snapd-25577.mount
lrwxrwxrwx 1 root root 42 Jan  8 20:21  snap-snapd-25935.mount -> 
/etc/systemd/system/snap-snapd-25935.mount
```

(I happened to notice this today when I saw `etckeeper` reporting
uncommitted changes prior to an `apt full-upgrade`. Both the old
filenames and the new were wonky.)

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "A terminal capture of the filenames in case the bug 
description word-wraps"
   
https://bugs.launchpad.net/bugs/2138546/+attachment/5939590/+files/filenames.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2138546

Title:
  Malformed filenames in /etc/systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2138546/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to