Your message dated Fri, 25 Nov 2022 16:52:40 +0000 with message-id <e1oybwo-0026ls...@fasolo.debian.org> and subject line Bug#1016193: fixed in util-linux 2.38.1-4 has caused the Debian Bug report #1016193, regarding util-linux: script a b c d just does nothing with b c d instead of erroring to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 1016193: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016193 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: util-linux Version: 2.38-5 Severity: normal Tags: patch Dear Maintainer, util-linux script takes one (1) operand: the output file. It does not, however, reject extraneous operands. This alone is bad enough. Conversely, FreeBSD script takes [file [program [argument]...]]. Imagine my surprise when script utmp utmp said it made 'utmp', but I didn't see a new utmp entry for the pty! Very confusing IMO. Attaching patch to assert there's no excess operands like for a normal utility. Best, наб -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: x32 (x86_64) Foreign Architectures: amd64, i386 Kernel: Linux 5.18.0-2-amd64 (SMP w/2 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages util-linux depends on: ii libblkid1 2.38-5 ii libc6 2.33-8 ii libcap-ng0 0.8.3-1+b1 ii libcrypt1 1:4.4.28-2 ii libmount1 2.38-5 ii libpam0g 1.4.0-13 ii libselinux1 3.4-1+b1 ii libsmartcols1 2.38-5 ii libsystemd0 251.3-1 ii libtinfo6 6.3+20220423-2 ii libudev1 251.3-1 ii libuuid1 2.38-5 ii util-linux-extra 2.38-5 ii zlib1g 1:1.2.11.dfsg-4 Versions of packages util-linux recommends: ii sensible-utils 0.0.17 Versions of packages util-linux suggests: ii dosfstools 4.2-1 ii kbd 2.3.0-3 pn util-linux-locales <none> -- no debconf information--- util-linux-2.38.orig/term-utils/script.c +++ util-linux-2.38/term-utils/script.c @@ -887,6 +887,9 @@ int main(int argc, char **argv) argc -= optind; argv += optind; + if(argc > 1) + usage(); + /* default if no --log-* specified */ if (!outfile && !infile) { if (argc > 0)signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---Source: util-linux Source-Version: 2.38.1-4 Done: Chris Hofstaedtler <z...@debian.org> We believe that the bug you reported is fixed in the latest version of util-linux, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1016...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Chris Hofstaedtler <z...@debian.org> (supplier of updated util-linux package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 25 Nov 2022 15:19:08 +0000 Source: util-linux Architecture: source Version: 2.38.1-4 Distribution: unstable Urgency: medium Maintainer: util-linux packagers <util-li...@packages.debian.org> Changed-By: Chris Hofstaedtler <z...@debian.org> Closes: 1016193 1024794 Changes: util-linux (2.38.1-4) unstable; urgency=medium . [ Helmut Grohne ] * Build-Depend on libcrypt-dev explicitly (Closes: #1024794) . [ Chris Hofstaedtler ] * script: abort if unused arguments given (Closes: #1016193) Checksums-Sha1: 9a1faddc67cc00b5a5f2c91e6b1c00b92c877aec 4547 util-linux_2.38.1-4.dsc 5251813c94a088b62bac2d9b9d022cad27315e6f 112900 util-linux_2.38.1-4.debian.tar.xz 8e615f2aa478e681b100ab9da858323fdcd00dd0 8003 util-linux_2.38.1-4_source.buildinfo Checksums-Sha256: 8dfc9ae578db3957c49cffe9bd892dacbfe4828cbc7e32b33ec976c3e6531c9d 4547 util-linux_2.38.1-4.dsc 7d5feda63f7d9fbbde7e1a174c955da29dbc8030047bb6696b0a4baced0a142a 112900 util-linux_2.38.1-4.debian.tar.xz d01855659f0ebe661f7d51ffb2f7d15b66042717136695a59c3efb5f1b9a261a 8003 util-linux_2.38.1-4_source.buildinfo Files: f875929260ab51258f2018c60413d6f0 4547 base required util-linux_2.38.1-4.dsc 1a5dcc024625757ef448e24e43e0a0d7 112900 base required util-linux_2.38.1-4.debian.tar.xz a59312f276bd1166040aa279b817d6a8 8003 base required util-linux_2.38.1-4_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmOA7eoACgkQXBPW25MF LgMBxQ//ZL9Aik2NTeri054ebX426TOJpHxW0HdZrbwAAtMuxVnBlg1lwczOP+xR pQWL5yvLwvj0DmLOm8kyH5J8FBZx0kvO22A0WXzHMr4wzWW7wqVneGwgt8phzFyv aroernGnAF40Usk9cnNd20uEC5c7i6UOkebBr0v6f6QeXKiAtOwSt4N0OlDb6c+X LBbTHD/lsWkCacHpbyCZRaxyiOytX4kRPdyAUUUlJrI71OWmeJsQTN8gGJn5plSK MhSK4lAOMRTfnJxINt4tkItRF8J044FkMrOhS9/OIwwybUd3TMlXytV/zswLG9fo H7vg8Dsu1zz2Y7rPkUX20lVh1FmSjL9dKaUvctwnKkdabmMJTRO2trORdqDBmzv0 4pnIGFOu1qaghlaNnw7Mj4WsXLsIcpMphOYJ+rrHqZjX1xP2Xi8bYCxcqRaAkLDo A/2fjhu9wGDypcXlBU2QtdGwhKpcF/0Q9lTiyx6fLhnV3wulVxIwnm4X7kGxOLGP YPgvf6KFkle2qbw/OQNP58OW09yj6072HgrgOJrFyNnqS+jlT9ci4Fy5eR8yP/RY haBPYCUxDHs9R51JpuDEUJfuEGPwL9ReY4kOx9DE8Ue1hJuCdIEYHDFGEKrpVt/G 8NFMFDe1UGHD3GJI6f/Qc4M6jNJailT0lcerwxTCVkMcDA2Xtqg= =geq2 -----END PGP SIGNATURE-----
--- End Message ---