No subject
Thu Aug 20 06:46:28 UTC 2009
Most Debian systems will not have this script as the need for a policy layer
is not very common. Most people using chroot jails just need an one-line
script which returns an exit status of 101 as the jailed
/usr/sbin/policy-rc.d script.
But when using that, it seems that running:
invoke-rc.d package status
always returns 0. This has as effect that I think the daemon is
running, even when it's not.
I see 2 solutions to this:
- Either invoke-rc.d should call the init script to check the
status, even when policy denied it.
- The documentation should be changed to have an example script
that works as expected.
Kurt
------------=_1256474380-27670-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 381497-close) by bugs.debian.org; 25 Oct 2009 12:03:18 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
(2007-08-08) on rietz.debian.org
X-Spam-Level:
X-Spam-Bayes: score:0.0000 Tokens: new, 123; hammy, 147; neutral, 234; spammy,
4. spammytokens:1.000-1--surprises, 1.000-1--kel, 0.997-1--bridgett,
0.997-1--Bridgett hammytokens:0.000-+--HX-Debian:DAK,
0.000-+--H*RU:128.148.34.103, 0.000-+--H*rp:D*ftp-master.debian.org,
0.000-+--UD:diff.gz, 0.000-+--HX-DAK:dak
X-Spam-Status: No, score=-14.1 required=4.0 tests=AWL,BAYES_00,FROMDEVELOPER,
FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,HEADER_X_KATIE,IMPRONONCABLE_1,
IMPRONONCABLE_2,MURPHY_DRUGS_REL8,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,
PGPSIGNATURE autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Return-path: <envelope at ftp-master.debian.org>
Received: from ries.debian.org ([128.148.34.103])
by rietz.debian.org with esmtp (Exim 4.63)
(envelope-from <envelope at ftp-master.debian.org>)
id 1N21ob-0003df-Ne
for 381497-close at bugs.debian.org; Sun, 25 Oct 2009 12:03:17 +0000
Received: from dak by ries.debian.org with local (Exim 4.69)
(envelope-from <envelope at ftp-master.debian.org>)
id 1N21o2-0006Ft-2E; Sun, 25 Oct 2009 12:02:42 +0000
From: Petter Reinholdtsen <pere at debian.org>
To: 381497-close at bugs.debian.org
X-DAK: dak process-unchecked
X-Katie: $Revision: 1.65 $
X-Debian: DAK
X-Debian-Package: sysvinit
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Subject: Bug#381497: fixed in sysvinit 2.87dsf-7
Message-Id: <E1N21o2-0006Ft-2E at ries.debian.org>
Sender: Archive Administrator <dak at ries.debian.org>
Date: Sun, 25 Oct 2009 12:02:42 +0000
Source: sysvinit
Source-Version: 2.87dsf-7
We believe that the bug you reported is fixed in the latest version of
sysvinit, which is due to be installed in the Debian FTP archive:
initscripts_2.87dsf-7_i386.deb
to pool/main/s/sysvinit/initscripts_2.87dsf-7_i386.deb
sysv-rc_2.87dsf-7_all.deb
to pool/main/s/sysvinit/sysv-rc_2.87dsf-7_all.deb
sysvinit-utils_2.87dsf-7_i386.deb
to pool/main/s/sysvinit/sysvinit-utils_2.87dsf-7_i386.deb
sysvinit_2.87dsf-7.diff.gz
to pool/main/s/sysvinit/sysvinit_2.87dsf-7.diff.gz
sysvinit_2.87dsf-7.dsc
to pool/main/s/sysvinit/sysvinit_2.87dsf-7.dsc
sysvinit_2.87dsf-7_i386.deb
to pool/main/s/sysvinit/sysvinit_2.87dsf-7_i386.deb
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 381497 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere at debian.org> (supplier of updated sysvinit 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 ftpmaster at debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 25 Oct 2009 11:07:22 +0100
Source: sysvinit
Binary: sysvinit sysvinit-utils sysv-rc initscripts
Architecture: source i386 all
Version: 2.87dsf-7
Distribution: unstable
Urgency: low
Maintainer: Debian sysvinit maintainers <pkg-sysvinit-devel at lists.alioth.debian.org>
Changed-By: Petter Reinholdtsen <pere at debian.org>
Description:
initscripts - scripts for initializing and shutting down the system
sysv-rc - System-V-like runlevel change mechanism
sysvinit - System-V-like init utilities
sysvinit-utils - System-V-like utilities
Closes: 381497 481028 512237 542515 547073 551263
Changes:
sysvinit (2.87dsf-7) unstable; urgency=low
.
[ Petter Reinholdtsen ]
* Change if-up.d/mountnfs to not claim to wait for the last network
interface when there are no network file systems listed in
/etc/fstab (Closes: #512237, 481028). Patch from Adrian Bridgett.
* Add startpar patch 05_pri_kdm_gdm.patch to try to get gdm and kdm
to start earlier when concurrent booting is enabled.
* Quiet down sysv-rc postinst to not give error when no file exist
in /var/lib/update-rc.d. Discovered from piuparts.
* Report error from update-rc.d when insserv reject a script, to
make it more clear what program call failed in a postinst.
* Drop optional dependency from checkfs to cryptdisks, the
cryptdisks script have a reverse dependency on checkfs, and that
is a better way to do it.
* Rewrite init.d/mtab.sh and init.d/checkroot.sh to not use
/usr/bin/which, as it is running before /usr/ is guaranteed to be
available.
* Rewrite /lib/init/usplash-fsck-functions.sh to use blkid instead of
the now obsolete vol_id. Patch from Martin Pitt and Ubuntu.
* Update 91_sulogin_lockedpw.dpatch to include documentation,
without the Ubuntu references. Based on patch from Scott James
Remnant and Ubuntu.
* Add patch 55_bootlogd_flush.patch to make sure lines are flushed
to the kernel even when not asking the kernel to flush to disk
(Closes: 542515). Patch from Scott Gifford.
* Add patch 63_init_keep_utf8_ttyflag.patch to make sure the utf-8
tty flag is not cleared (Closes: 547073). Patch from Samuel
Thibault.
* Include url to wiki page with information on how to fix the
problems when unable to migrate to dependency based boot
sequencing.
* Make mountnfs-bootclean.sh also depend on $local_fs, to avoid
surprises on systems where the admin removed mountnfs.sh from
rcS.d/. It is not a good idea to remove it, but there is no need
for the script to fail when someone is crazy enough to remove a
essential init.d script
.
[ Henrique de Moraes Holschuh ]
* invoke-rc.d: return exit status 4 when action "status" is denied,
to allow simpleminded policy-rc.d scripts to work well with the
status action (closes: #381497)
.
[ Kel Modderman ]
* Fix bootlogs init.d script to output correct name and supported
actions in usage statement. (Closes: #551263)
Checksums-Sha1:
855216766d2d376d427c94fe17b84f2205535e6c 1501 sysvinit_2.87dsf-7.dsc
0d1ec7434b5147b90a981139846b09cfb3c650a6 152916 sysvinit_2.87dsf-7.diff.gz
442f2aaf83417e8030c29c61c493879614a03bff 106994 sysvinit_2.87dsf-7_i386.deb
96ad832db2c53646b1112725653367fa4b70b424 106590 sysvinit-utils_2.87dsf-7_i386.deb
0ce37ac2ba82629c7f47cb73026e5298006c33f5 62814 initscripts_2.87dsf-7_i386.deb
84c94a491e39b448edf5c46c9b69291cf0438293 49096 sysv-rc_2.87dsf-7_all.deb
Checksums-Sha256:
eae3ce1456c10075ee6ef6348d3ffaa88123c46bfc9dc43df5c219438b5f8ae3 1501 sysvinit_2.87dsf-7.dsc
94f86e946b8b67d067b6ed59dbb4446b7458cc2ccf1df46eeaa1054b4ec07fc9 152916 sysvinit_2.87dsf-7.diff.gz
fbb397df17f2f51057370362e6f2162c8c6e27b4a0003d74de22f653816317e5 106994 sysvinit_2.87dsf-7_i386.deb
87328b0d1249c4939c6dfd465e6a05a43264f872254c43bb03076f8161366590 106590 sysvinit-utils_2.87dsf-7_i386.deb
ba60762ab14e7766a1f02e7ccfbbbd019c718bd54511d903088f283930ac40d0 62814 initscripts_2.87dsf-7_i386.deb
e29061f61c80df8f9dd2d5fed3951eab3978a21e113a812bb72a15dc94e3cc4e 49096 sysv-rc_2.87dsf-7_all.deb
Files:
ce8bea2083d25295388ceebf100635bb 1501 admin required sysvinit_2.87dsf-7.dsc
38c4bb202a74db30a30adc494f70a4f6 152916 admin required sysvinit_2.87dsf-7.diff.gz
14637c004f05fe1e5fa8d8eaaba1a804 106994 admin required sysvinit_2.87dsf-7_i386.deb
369935a27d1d4c460c0ce02b40b12141 106590 admin required sysvinit-utils_2.87dsf-7_i386.deb
65ed37c0b28b518d5f9989aa38b1bed0 62814 admin required initscripts_2.87dsf-7_i386.deb
58c9b170fd88a3b68a2d1c10b7b0dda4 49096 admin required sysv-rc_2.87dsf-7_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFK5DoE20zMSyow1ykRArNjAKCioHpnuSR6348PNEZ/gRaR0Cr9RgCfZVej
52fJEwpLXgsvlsFAWeG5rGo=
=uyUi
-----END PGP SIGNATURE-----
------------=_1256474380-27670-0--
More information about the Pkg-sysvinit-devel
mailing list