Package: linuxlogo
Version: 5.11-8
Severity: normal
Tags: patch
Dear Maintainer,
when using /etc/issue.linuxlogo or /etc/issue.linuxlogo.ascii with getty
as described in /usr/share/doc/linuxlogo/README.Debian, backslashes in
the logo don't get escaped and hence get stripped or misinterpreted by
getty as escape sequences.
This doesn't show up with the default banner or any of the Debian logos,
but it does happen with "ubuntu" as well as the "raspi" logo. Both are
probably common with Debian derivatives, but since Debian also runs on
the Raspberry Pi directly, the "raspi" banner is definitely on-topic for
a Debian package and not just a downstream issue.
Currently the "raspi" and "ubuntu" logo look like this when shown by
getty:
.~~. .~~. ___ __ ___ _
'. ' ' / .' / _ ___ ___ ___ / / ___ ___ ___ _ __ / _ (_)
.~ .~~~..~. / , _/ _ `(_-</ _ / _ / -_) __/ __/ // / / ___/ /
: .~.'~'.~. : /_/|_|_,_/___/ .__/_.__/__/_/ /_/ _, / /_/ /_/
~ ( ) ( ) ~ /_/ /___/
( : '~'.~.'~' : )
~ .~ ( ) ~. ~ Linux Version 3.18.0-trunk-rpi2
( : '~' : ) Compiled #1 SMP PREEMPT Debian 3.18.5-1~exp1.co1
(2015-02-02)
'~ .~~~. ~' Four ARM Processors, 944M RAM
'~' 153.60 Bogomips Total
sid-rpi
.-.
.-'``(|||)
,` `-`. 88 88
/ '``-. ` 88 88
.-. , `___: 88 88 88,888, 88 88 ,88888, 88888 88 88
(:::) : ___ 88 88 88 88 88 88 88 88 88 88 88
`-` ` , : 88 88 88 88 88 88 88 88 88 88 88
/ ,..-` , 88 88 88 88 88 88 88 88 88 88 88
`./ / .-.` '88888' '88888' '88888' 88 88 '8888 '88888'
`-..-( )
`-`
Linux Version 3.18.0-trunk-rpi2, Compiled #1 SMP PREEMPT Debian
3.18.5-1~exp1.co1 (2015-02-02)
Four ARM Processors, 944M RAM, 153.60 Bogomips Total
sid-rpi
The following patch fixes this issue:
--- linuxlogo.dpkg-old 2014-02-12 10:46:44.000000000 +0000
+++ linuxlogo 2016-04-03 23:01:12.047083798 +0000
@@ -30,8 +30,8 @@
mkdir -p /var/run/linuxlogo
- "${DAEMON}" -t "Debian Version $(cat /etc/debian_version)" -f >
/etc/issue.linuxlogo
- "${DAEMON}" -t "Debian Version $(cat /etc/debian_version)" -a
-f > /etc/issue.linuxlogo.ascii
+ "${DAEMON}" -t "Debian Version $(cat /etc/debian_version)" -f
| sed -e 's/\\/\\\\/g' > /etc/issue.linuxlogo
+ "${DAEMON}" -t "Debian Version $(cat /etc/debian_version)" -a
-f | sed -e 's/\\/\\\\/g' > /etc/issue.linuxlogo.ascii
for FILE in /etc/issue.linuxlogo /etc/issue.linuxlogo.ascii
do
The issue happens with both, systemd as well as sysvrc as init system
and the patch works in both cases, at least currently.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: armhf (armv7l)
Kernel: Linux 3.18.0-trunk-rpi2 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages linuxlogo depends on:
ii libc6 2.22-5
ii lsb-base 9.20160110
linuxlogo recommends no packages.
linuxlogo suggests no packages.
-- Configuration Files:
/etc/linux_logo.conf changed:
-L raspi
-- no debconf information