Bug#865528: don't escape dash (\x2d) when logging

Michael Biebl biebl at debian.org
Thu Jun 22 14:48:03 BST 2017


Am 22.06.2017 um 13:28 schrieb 積丹尼 Dan Jacobson:
> Package: systemd
> Version: 233-8
> Severity: minor
> 
> $ journalctl -f
> 
> Please don't write
> 
>  6月 22 19:10:47 jidanni2 systemd[1]: dev-serial-by\x2dpath-pci\x2d0000:00:1d.1\x2dusb\x2d0:2:1.0\x2dport0.device: Changed dead -> plugged
>  6月 22 19:10:47 jidanni2 systemd[1]: dev-serial-by\x2did-usb\x2dSemiTech_Semiconductor_USB_to_Serial\x2dif00\x2dport0.device: Changed dead -> plugged
> 
> Please write

>  6月 22 19:10:47 jidanni2 systemd[1]: dev-serial-by-path-pci:00:1d.1-usbː:2:1.0-port0.device: Changed dead -> plugged
>  6月 22 19:10:47 jidanni2 systemd[1]: dev-serial-by-id-usb-SemiTech_Semiconductor_USB_to_Serial-if00-port0.device: Changed dead -> plugged
> 

Can you please elaborate why?
These are the names that systemd uses internally and by unescaping you
can no longer C&P the names from the journal and feed it to e.g.

systemctl status "$device"

That would be a major usability regression in my opinion.


Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170622/83a9ec13/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list