[systemd-devel] [PATCH] unit-name: Fix unescaping
Tom Gundersen
teg at jklm.no
Sat Oct 16 15:11:23 PDT 2010
Hi,
I ran across this bug when I was trying to make my fsck at .service work.
I wanted to fsck /dev/disk/by-label/boot, but systemd misstakenly
escaped and unescaped the path to /dev/disk/by\x2dlabel/boot.
The reason is that invalid characters in unit names are escaped as
\xFF. However, when
unescaping we were looking for \FF.
The attached patch fixes it for me.
Cheers,
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-unit-name-Fix-unescaping.patch
Type: application/octet-stream
Size: 1341 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20101017/2281c121/attachment.obj>
More information about the systemd-devel
mailing list