[systemd-devel] [PATCH] unit-name: Fix unescaping
Lennart Poettering
lennart at poettering.net
Thu Oct 21 05:07:22 PDT 2010
On Sun, 17.10.10 00:11, Tom Gundersen (teg at jklm.no) wrote:
> 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.
Looks good. Applied. Thanks!
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list