Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1289048

Bug#1132887: script: "script file -c command" stopped working

From Chris Hofstaedtler <zeha@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1132887: script: "script file -c command" stopped working
Date 2026-04-10 10:50 +0200
Message-ID <MIfIR-e2Hr-1@gated-at.bofh.it> (permalink)
References (1 earlier) <MH9Pc-djtI-5@gated-at.bofh.it> <MH64V-dgVg-1@gated-at.bofh.it> <MHeOR-dmAD-1@gated-at.bofh.it> <MH64V-dgVg-1@gated-at.bofh.it> <MHeOR-dmAD-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Apr 07, 2026 at 03:26:58PM +0200, Karel Zak wrote:
> On Tue, Apr 07, 2026 at 10:17:45AM +0200, Chris Hofstaedtler wrote:
> > thank you for the report, CC'ing upstream.
> > 
> > On Tue, Apr 07, 2026 at 07:07:59AM +0300, Evgeny Kapun wrote:
> > > If I run script(1) as "script file -c command", it returns an error:
> > > 
> > > script: unexpected number of arguments
> > > Try 'script --help' for more information.
> > > 
> > > It used to work in earlier versions, so now scripts that rely on the old
> > > behavior are broken.
> 
> I have created bugfix for this, see https://github.com/util-linux/util-linux/pull/4201

I've applied this fix to Debian as 2.42-2.

> Seems we will need v2.42.1 ASAP :-)

:-)


Thank you!
Chris

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar


Thread

Bug#1132887: script: "script file -c command" stopped working Evgeny Kapun <abacabadabacaba@gmail.com> - 2026-04-07 06:20 +0200
  Bug#1132887: script: "script file -c command" stopped working Chris Hofstaedtler <zeha@debian.org> - 2026-04-07 10:20 +0200
    Bug#1132887: script: "script file -c command" stopped working Karel Zak <kzak@redhat.com> - 2026-04-07 15:40 +0200
      Bug#1132887: script: "script file -c command" stopped working Chris Hofstaedtler <zeha@debian.org> - 2026-04-10 10:50 +0200

csiph-web