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


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

Bug#1029140: cron-apt refuses to run when RUNSLEEP is set

From Ola Lundqvist <ola@inguza.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1029140: cron-apt refuses to run when RUNSLEEP is set
Date 2024-06-10 23:40 +0200
Message-ID <INUU9-20nP-3@gated-at.bofh.it> (permalink)
References (2 earlier) <FPhsd-1iaS-3@gated-at.bofh.it> <FRvU6-RJW-5@gated-at.bofh.it> <IEiO5-dukd-3@gated-at.bofh.it> <FPhsd-1iaS-3@gated-at.bofh.it> <IEiO5-dukd-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Marc

Sorry, I meant to run with dash -x. Or do dash not have that option?

Cheers

// Ola

On Wed, 15 May 2024 at 10:36, Marc Haber <mh+debian-bugs@zugschlus.de> wrote:
>
> > Can you run it with bash -x from cron? Hopefully it tells where it breaks
>
> Using bash will not help here, that's the problem. cron-apt is a /bin/sh
> script, and on many systems /bin/sh is dash. And, $RANDOM doesn't exist
> in dash.
>
> Change cron-apt's shebang line to use /bin/bash and it should be fine.
>
> Now we probably can move on to stage 6 of debugging "how did that
> ever work?", since we're having /bin/sh point to dash for a while and
> this issue just appeared on of my _stable_ systems.
>
> Greetings
> Marc
>


-- 
 --- Inguza Technology AB --- MSc in Information Technology ----
|  ola@inguza.com                    opal@debian.org            |
|  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
 ---------------------------------------------------------------

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1029140: cron-apt refuses to run when RUNSLEEP is set Marc Haber <mh+debian-bugs@zugschlus.de> - 2024-05-15 11:10 +0200
  Bug#1029140: cron-apt refuses to run when RUNSLEEP is set Ola Lundqvist <ola@inguza.com> - 2024-06-10 23:40 +0200
    Bug#1029140: cron-apt refuses to run when RUNSLEEP is set Marc Haber <mh+debian-bugs@zugschlus.de> - 2024-06-11 16:00 +0200
      Bug#1029140: cron-apt refuses to run when RUNSLEEP is set Ola Lundqvist <ola@inguza.com> - 2024-06-11 20:20 +0200
        Bug#1029140: cron-apt refuses to run when RUNSLEEP is set Marc Haber <mh+debian-bugs@zugschlus.de> - 2024-06-11 21:40 +0200
          Bug#1029140: cron-apt refuses to run when RUNSLEEP is set Ola Lundqvist <ola@inguza.com> - 2024-06-12 22:20 +0200

csiph-web