Devuan bug report logs - #319
openrc savecache doesnt run start()

version graph

Package: openrc; Maintainer for openrc is (unknown); Source for openrc is src:openrc.

Reported by: dxrobertson <dxrobertson@gmail.com>

Date: Tue, 23 Apr 2019 11:33:01 UTC

Severity: normal

Fixed in version 0.45.2-2

Done: Mark Hindley <mark@hindley.org.uk>

Full log


🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: Mark Hindley <mark@hindley.org.uk>
Subject: bug#319: marked as done (openrc savecache doesnt run start())
Message-ID: <handler.319.D319.16764795964020.ackdone@bugs.devuan.org>
References: <Y+0MJRnyPzxHGDnw@hindley.org.uk>
 <CAMg23T4Np0aF8YLXrD6aHq=+XpADCOrnBgBU_a3uh-xzdAKWDA@mail.gmail.com>
X-Devuan-PR-Message: closed 319
X-Devuan-PR-Package: openrc
Reply-To: 319@bugs.devuan.org
Date: Wed, 15 Feb 2023 16:48:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1676479682-4046-0"
[Message part 1 (text/plain, inline)]
Your message dated Wed, 15 Feb 2023 16:45:25 +0000
with message-id <Y+0MJRnyPzxHGDnw@hindley.org.uk>
and subject line Re: bug#319: openrc savecache doesnt run start()
has caused the Devuan bug report #319,
regarding openrc savecache doesnt run start()
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 owner@bugs.devuan.org
immediately.)


-- 
319: https://bugs.devuan.org/cgi/bugreport.cgi?bug=319
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: dxrobertson <dxrobertson@gmail.com>
To: submit@bugs.devuan.org
Subject: openrc savecache doesnt run start()
Date: Tue, 23 Apr 2019 07:29:14 -0400
[Message part 3 (text/plain, inline)]
Package: openrc

Version: 0.40.3-1

Severity: normal



Dear Maintainer,


The start() routine in /etc/init.d/savecache does not run. If you run my

attached savecache (rc-service savecache start), "SAVECACHE TEST GOT HERE"
will

be displayed, but "SAVECACHE TEST NOT GETTING HERE" will not be displayed.
The start() routine is never entered.


The problem stems from the LSB header information in savecache. These lines
of

code are somehow confusing openrc-run, openrc-run never runs start().


If the LSB header info is removed, savecache runs fine; start() is then run.




Next issue, is savecache even needed? It appears this script is to run in

runlevel off at shutdown, to save /run/openrc/deptree and
/run/openrc/softlevel

to /lib/rc. Arent deptree and softlevel always re-generated at startup
anyway?

Are these cached files in /lib/rc ever used?




Next, if the cached files are used and needed, wouldnt /var/cache be a
better

home for them, something like /var/cache/openrc?




-- System Information:

Distributor ID: Devuan

Description: Devuan GNU/Linux beowulf/ceres

Release: 10

Codename: n/a

Architecture: x86_64


Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)

Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)

Shell: /bin/sh linked to /bin/dash

Init: sysvinit (via /sbin/init)

LSM: AppArmor: enabled

Versions of packages openrc depends on:

ii init-system-helpers 1.56+devuan1

ii insserv 1.18.0-2

ii libaudit1 1:2.8.4-2

ii libc6 2.28-8

ii libeinfo1 0.40.3-1

ii libpam0g 1.3.1-5

ii librc1 0.40.3-1

ii libselinux1 2.8-1+b1

openrc recommends no packages.


Versions of packages openrc suggests:

pn policycoreutils <none>

ii sysvinit-core 2.93-8+devuan1
[Message part 4 (text/html, inline)]
[savecache (application/octet-stream, attachment)]
[Message part 6 (message/rfc822, inline)]
From: Mark Hindley <mark@hindley.org.uk>
To: dxrobertson <dxrobertson@gmail.com>, 319-done@bugs.devuan.org
Subject: Re: bug#319: openrc savecache doesnt run start()
Date: Wed, 15 Feb 2023 16:45:25 +0000
Version: 0.45.2-2

This was fixed in Debian with the removal of the bogus LSB header from
savecache.

Closing.

Mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Mon May 6 19:11:00 2024;