[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#998460: RFS: hoteldruid/3.0.3-1 -- web-based property management system for hotels or B&Bs



Hello,
I have made a new upload with some changes in install-sqlite test (added check for existing configuration and restrictions needs-root and isolation-container). In this upload the debhelper-compat version has also been updated.

Anyway even the previous upload was working fine for me, both tests passed on debci using the lxc backend as described here:

https://ci.debian.net/doc/file.MAINTAINERS.html

This is the last part of the test with current package:

Setting up hoteldruid (3.0.3-1) ...

Creating config file /etc/hoteldruid/apache2.conf with new version
apache2_invoke: Enable configuration hoteldruid
Setting up libapache2-mod-php (2:7.4+76) ...
Setting up autopkgtest-satdep (0) ...
Processing triggers for libc-bin (2.32-4) ...
Processing triggers for php7.4-cli (7.4.21-1+deb11u1+b1) ...
Processing triggers for libapache2-mod-php7.4 (7.4.21-1+deb11u1+b1) ...
(Reading database ... 14941 files and directories currently installed.)
Removing autopkgtest-satdep (0) ...
autopkgtest [20:57:18]: test install-sqlite: [-----------------------
Data inserted!<br>All the permanent data has been inserted.<br><form accept-charset="utf-8" method="post" action="inizio.php"><div>
autopkgtest [20:57:34]: test install-sqlite: -----------------------]
install-sqlite       PASS
autopkgtest [20:57:34]: test install-sqlite: - - - - - - - - - - results - - - - - - - - - -
autopkgtest [20:57:34]: @@@@@@@@@@@@@@@@@@@@ summary
lint                 PASS
install-sqlite       PASS


The problem in the test made by Adam is probably here:

Setting up hoteldruid (3.0.3-1) ...

Creating config file /etc/hoteldruid/apache2.conf with new version
apache2_invoke: Enable configuration hoteldruid
invoke-rc.d: could not determine current runlevel
invoke-rc.d: WARNING: No init system and policy-rc.d missing! Defaulting to block.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: WARNING: No init system and policy-rc.d missing! Defaulting to block.

The apache configuration is not reloaded after hoteldruid configuration because invoke-rc.d fails. I have no idea why it fails, but I think invoke-rc is still the preferred way to start/stop/reload services in package scripts.

Best regards,
Marco


Reply to: