Your message dated Fri, 21 Jun 2019 19:49:12 +0000
with message-id <[email protected]>
and subject line Bug#656081: fixed in init-system-helpers 1.57
has caused the Debian Bug report #656081,
regarding service: document that /usr/sbin/service disrespects policy-rc.d 
intentionally
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 [email protected]
immediately.)


-- 
656081: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656081
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sysvinit-utils
Version: 2.88dsf-18
Severity: important
File: /usr/sbin/service

Hi,

I just analyzed a piuparts failure in the mobyle package that was caused
by abusing the 'service' command to restart apache (a violation of
Policy 9.3.3.2 which says 'maintainer scripts must use invoke-rc.d').

The problem with 'service' is that it actually tried to start apache
while piuparts had created a policy-rc.d that prevents any service from
being started in the chroot. (Apache could not be started in the chroot
because :80 was already in use by the host).

I don't think 'service' should deviate from 'invoke-rc.d' in that case.

There is also http://bugs.debian.org/377758 which asks to provide a
symlink service -> update-rc.d (and was probably filed before service
was shipped).

piuparts log (also attached):
http://piuparts.debian.org/sid/fail/mobyle_1.0.4~dfsg-2.log
http://piuparts.debian.org/sid/bugged/mobyle_1.0.4~dfsg-2.log
Incorrect postinst:
http://anonscm.debian.org/viewvc/debian-med/trunk/packages/mobyle/mobyle/trunk/debian/postinst?revision=7875&view=markup

Should there be a lintian check for
maintainer-script-uses-service-instead-of-invoke-rc.d?

Andreas

Attachment: mobyle_1.0.4~dfsg-2.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: init-system-helpers
Source-Version: 1.57

We believe that the bug you reported is fixed in the latest version of
init-system-helpers, which is due to be installed in the Debian FTP archive.

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Biebl <[email protected]> (supplier of updated init-system-helpers 
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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 21 Jun 2019 20:56:55 +0200
Source: init-system-helpers
Architecture: source
Version: 1.57
Distribution: unstable
Urgency: medium
Maintainer: Debian systemd Maintainers 
<[email protected]>
Changed-By: Michael Biebl <[email protected]>
Closes: 656081
Changes:
 init-system-helpers (1.57) unstable; urgency=medium
 .
   [ Dmitry Bogatov ]
   * Document that `service` does not check /usr/sbin/policy-rc.d.
     It is an administrator interface, so it is meant to be able to start
     disabled services. (Closes: #656081)
Checksums-Sha1:
 7dcdc22012185725779378935c01b3f916d01d97 1896 init-system-helpers_1.57.dsc
 32f0eab55d353753b7932a334b73e44f8c2518d5 40460 init-system-helpers_1.57.tar.xz
 3c39c0b8227c4c45b21b033ad8cb8a76f518dcde 5591 
init-system-helpers_1.57_source.buildinfo
Checksums-Sha256:
 88bb5af040c99f010b6d6947ff5c80ae4863ff787e0eeae91e99dcd15a10dbb8 1896 
init-system-helpers_1.57.dsc
 e9d83fd8756a42666fb5d19a8835813823295846659b4e58f138bb9b54e9f5dd 40460 
init-system-helpers_1.57.tar.xz
 aac6f4e5b45291ba1f93f33cc62e46a7e990ebae6964459ce0dcbe31b616ee1f 5591 
init-system-helpers_1.57_source.buildinfo
Files:
 8293624514e1438fffaea1d2f24507b5 1896 admin optional 
init-system-helpers_1.57.dsc
 7ebac7884d7074537488449b9f77b155 40460 admin optional 
init-system-helpers_1.57.tar.xz
 6d9072eb3d91ec1b01a3e8d61d5a7d87 5591 admin optional 
init-system-helpers_1.57_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAl0NKKcACgkQauHfDWCP
ItyNuA/+KbmHFmtlvC6/OZgWHbOXJVdF38MJiggwXOD218CM9VESEwA4PQVyshfr
V5E9xCO1+3fbEzETtlRa90FUmlagwtSHgRUaLTKCHc8ONnpTY/pW1e/WFtUQ8Rjm
5hjfmiuauJGJVtUAw5bA2oY/AoJ4jU/PYd3bjA0Om7n1aMGoTO7vcRxZglyFFUEz
EjMoXoKjoA684X6m5aLGz1VYcJBEjnr1z180CMuzHlKr6gQcr79Fj7/iIxz0ICtO
Su9A4UN80q18uELm80QtG/VKq7eITUBZc4aAiQPnFRUxKCb1roaP89PqXa+htQUB
/SxZFuTWSv9r37qm7fLffzNn2eqF4jpshXlyZGe4pJfDqQRK/a6yasc+YrqC7ytg
2zDfDLuEu1y+uBaNaGYZpyCQyYO50rDJ24wKhBxr7VRUkwn73p0HNh/vVAYXM5II
PKOj4VsOSwHGltCor4YAeSipz6iljMsdVPlqLfHORXnoW2kTXgORppWuuuh2N3ay
hsxCSFoq6YJ3iy34SeJnn0Dyg3AIHvcIPuSqFKuAZRPSGVtkGVSveFzgOMfTTZjV
RK/2+9R6Vdasf2+L99UR7N89K6GLta1zdc9etsiQnp0ibZEhdH8tmxzO3QsZ+2SD
03jX5E3bjWpW3DOn/RUU3iSNTWPCA0fm7ZT0M3wLNyHVZOmu7OY=
=TBR2
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to