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


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

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

From Karel Zak <kzak@redhat.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1132887: script: "script file -c command" stopped working
Date 2026-04-07 15:40 +0200
Message-ID <MHeOR-dmAD-1@gated-at.bofh.it> (permalink)
References <MH64V-dgVg-1@gated-at.bofh.it> <MH9Pc-djtI-5@gated-at.bofh.it> <MH64V-dgVg-1@gated-at.bofh.it> <MH9Pc-djtI-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Apr 07, 2026 at 10:17:45AM +0200, Chris Hofstaedtler wrote:
> Hi,
> 
> thank you for the report, CC'ing upstream.
> 
> On Tue, Apr 07, 2026 at 07:07:59AM +0300, Evgeny Kapun wrote:
> > Package: bsdutils
> > Version: 1:2.42-1
> > 
> > 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.
> 
> Can you check if reverting this commit makes it work again?

I have created bugfix for this, see https://github.com/util-linux/util-linux/pull/4201

Seems we will need v2.42.1 ASAP :-)

    Karel


-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next 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