[Bug 1990755] Re: HYPHEN character escaped in filenames with BACKSLASH
Nick Rosbrook
1990755 at bugs.launchpad.net
Wed Jul 5 14:44:54 UTC 2023
Is this actually causing you problems somewhere? Or do you just disagree
with this concept? Please see
https://www.freedesktop.org/software/systemd/man/systemd.unit.html#String%20Escaping%20for%20Inclusion%20in%20Unit%20Names
for an explanation of this naming.
** Changed in: systemd (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1990755
Title:
HYPHEN character escaped in filenames with BACKSLASH
Status in systemd package in Ubuntu:
Invalid
Bug description:
current Ubuntu 22.04 LTS shows
oot at prod:~# find / -xdev -name '*\\x*'
/usr/lib/systemd/system/system-systemd\x2dcryptsetup.slice
/etc/systemd/system/snap-gtk\x2dcommon\x2dthemes-1535.mount
/etc/systemd/system/snap-gnome\x2d3\x2d38\x2d2004-115.mount
/etc/systemd/system/multi-user.target.wants/snap-gtk\x2dcommon\x2dthemes-1535.mount
/etc/systemd/system/multi-user.target.wants/snap-gnome\x2d3\x2d38\x2d2004-115.mount
/etc/systemd/system/multi-user.target.wants/snap-snapd\x2ddesktop\x2dintegration-14.mount
/etc/systemd/system/multi-user.target.wants/snap-snap\x2dstore-592.mount
/etc/systemd/system/multi-user.target.wants/var-snap-firefox-common-host\x2dhunspell.mount
/etc/systemd/system/multi-user.target.wants/snap-snap\x2dstore-599.mount
/etc/systemd/system/snap-snapd\x2ddesktop\x2dintegration-14.mount
/etc/systemd/system/snap-snap\x2dstore-592.mount
/etc/systemd/system/var-snap-firefox-common-host\x2dhunspell.mount
/etc/systemd/system/snap-snap\x2dstore-599.mount
/etc/systemd/system/default.target.wants/snap-gnome\x2d3\x2d38\x2d2004-115.mount
/etc/systemd/system/default.target.wants/snap-snap\x2dstore-592.mount
/etc/systemd/system/default.target.wants/var-snap-firefox-common-host\x2dhunspell.mount
/etc/systemd/system/default.target.wants/snap-snap\x2dstore-599.mount
HYPHEN is normal ASCII character or escaped by "\x2d"
HYPHEN needs no escape , but the BACKSLASH is making troubles.
no BACKSLASH allowed in filenames and directory names.
seems to be a bad habit of "systemd" and "snap"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1990755/+subscriptions
More information about the foundations-bugs
mailing list