Bug#865528: don't escape dash (\x2d) when logging
積丹尼 Dan Jacobson
jidanni at jidanni.org
Thu Jun 22 12:28:29 BST 2017
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
# journalctl|perl -nwle 'print for /\\x../g;'|sort|uniq -c
92 \x2d
# journalctl|perl -nwle 'next unless /\\x../; s/...........................//; m/(.{1,77})/; print $1;'|sort -u
systemd[1]: dev-disk-by\x2did-usb\x2dTS\x2dRDF5_SD_Transcend_000000000037\x2d
systemd[1]: dev-disk-by\x2did-usb\x2dTS\x2dRDF5_SD_Transcend_000000000039\x2d
systemd[1]: dev-disk-by\x2dpath-pci\x2d0000:00:1d.7\x2dusb\x2d0:3.1:1.0\x2dsc
systemd[1]: dev-disk-by\x2dpath-pci\x2d0000:00:1d.7\x2dusb\x2d0:3.2:1.0\x2dsc
systemd[1]: dev-disk-by\x2duuid-4ff328e3\x2da3a7\x2d44f7\x2da998\x2d6c0404616
systemd[1]: dev-disk-by\x2duuid.mount: Collecting.
systemd[1]: dev-disk-by\x2duuid.mount: Failed to load configuration: No such
systemd[1]: dev-serial-by\x2did-usb\x2dSemiTech_Semiconductor_USB_to_Serial\x
systemd[1]: dev-serial-by\x2dpath-pci\x2d0000:00:1d.1\x2dusb\x2d0:2:1.0\x2dpo
systemd[1]: sys-devices-pci0000:00-0000:00:1d.1-usb3-3\x2d2-3\x2d2:1.0-ttyUSB
systemd[1]: sys-devices-pci0000:00-0000:00:1d.7-usb2-2\x2d3-2\x2d3.1-2\x2d3.1
systemd[1]: systemd-fsck at dev-disk-by\x2duuid-34610b6a\x2d70a3\x2d48d9\x2db135
systemd[1]: var-cache-flashplugin\x2dnonfree.mount: Changed dead -> mounted
systemd[243]: dev-disk-by\x2duuid-ce5499e2\x2d019e\x2d44cc\x2d8f95\x2dd027832
systemd[252]: systemd-fsck at dev-disk-by\x2duuid-34610b6a\x2d70a3\x2d48d9\x2db1
systemd[260]: systemd-fsck at dev-disk-by\x2duuid-355d426a\x2dcbfc\x2d4faf\x2d91
-- System Information:
Debian Release: 9.0
APT prefers experimental
APT policy: (990, 'experimental'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 4.9.0-3-686-pae (SMP w/1 CPU core)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8), LANGUAGE=zh_TW.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages systemd depends on:
ii adduser 3.115
ii libacl1 2.2.52-3+b1
ii libapparmor1 2.11.0-3
ii libaudit1 1:2.6.7-2
ii libblkid1 2.29.2-1
ii libc6 2.24-11
ii libcap2 1:2.25-1
ii libcryptsetup4 2:1.7.3-4
ii libgcc1 1:7.1.0-6
ii libgcrypt20 1.7.7-2
ii libgpg-error0 1.27-2
ii libidn11 1.33-1
ii libip4tc0 1.6.1-1~exp1
ii libkmod2 24-1
ii liblz4-1 0.0~r131-2+b1
ii liblzma5 5.2.2-1.2+b1
ii libmount1 2.29.2-1
ii libpam0g 1.1.8-3.6
ii libseccomp2 2.3.1-2.1
ii libselinux1 2.6-3+b1
ii libsystemd0 233-8
ii mount 2.29.2-1
ii procps 2:3.3.12-3
ii util-linux 2.29.2-1
Versions of packages systemd recommends:
ii dbus 1.11.12-1
pn libpam-systemd <none>
Versions of packages systemd suggests:
pn policykit-1 <none>
pn systemd-container <none>
Versions of packages systemd is related to:
pn dracut <none>
ii initramfs-tools 0.130
ii udev 233-8
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list