Package: screen
Version: 4.8.0-7
Severity: serious
File: /usr/bin/screen
Tags: upstream
Justification: data loss
X-Debbugs-Cc: t...@womack.net

Steps to reproduce and observed behaviour:

  $ cat t.sh
  #!/bin/sh
  echo $#        
  sleep 5
  $ ./t.sh {0..999}
  1000
  $ screen ./t.sh {0..999}
  [ displays 1000 and exits ]
  $ screen screen ./t.sh {0..999}
  [ displays 62 and exits ]
  $

Expected behaviour: 1000 in all cases.

Tolerable behaviour:

  1000 where currently supported.  Where not supported, a fatal error
  (message on stderr plus nonzero exit status).

This is a potential data loss bug so might justify even "grave" but I
thought that was overkill.  I hope you will agree that this deserves
an RC bug.

This has been reported upstream here:
  https://savannah.gnu.org/bugs/?61504

Ian.


-- Package-specific info:
File Existence and Permissions
------------------------------

drwxr-xr-x 8 root root   4096 Nov 18 13:01 /run
lrwxrwxrwx 1 root ian       4 Jun  3  2016 /var/run -> /run
-rwxr-xr-x 1 root root 482312 Sep  2 00:25 /usr/bin/screen
-rw-r--r-- 1 root root    119 Nov 18 13:01 /etc/tmpfiles.d/screen-cleanup.conf
lrwxrwxrwx 1 root root      9 Nov 18 13:01 
/lib/systemd/system/screen-cleanup.service -> /dev/null
-rwxr-xr-x 1 root root   1222 Feb 18  2021 /etc/init.d/screen-cleanup
lrwxrwxrwx 1 root root     24 Nov 18 13:01 /etc/rcS.d/S10screen-cleanup -> 
../init.d/screen-cleanup

File contents
-------------

### /etc/tmpfiles.d/screen-cleanup.conf
______________________________________________________________________
# This file is generated by /var/lib/dpkg/info/screen.postinst upon package 
configuration
d /run/screen 1777 root utmp
______________________________________________________________________

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-0.bpo.9-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages screen depends on:
ii  libc6         2.32-4
ii  libcrypt1     1:4.4.26-1
ii  libpam0g      1.4.0-10
ii  libtinfo6     6.3-1
ii  libutempter0  1.2.1-2

screen recommends no packages.

Versions of packages screen suggests:
pn  byobu | screenie | iselect  <none>
pn  ncurses-term                <none>

-- no debconf information

Reply via email to