Source: apache2
Severity: serious
Justification: blocks other packages from migrating
Affects: systemd

Dear Maintainer(s),

The htcacheclean autopkgtest:

https://sources.debian.org/src/apache2/2.4.66-6/debian/tests/htcacheclean

has an hardcoded manual check of /etc/rc to see if a service is enabled:

if ls /etc/rc[2345].d/S*apache-htcacheclean > /dev/null 2>&1

The deprecated sysv interfaces have been removed in systemd v260, so
this now fails. Please just use 'systemctl' in the tests, OR restrict
this test/check to sysvinit systems, whichever is your preference.

This failure stops systemd from migrating to testing, hence the severity.

https://ci.debian.net/packages/a/apache2/testing/amd64/68982980/

1703s autopkgtest [10:02:44]: test htcacheclean: [-----------------------
1703s + htc_enabled
1703s + ls /etc/rc[2345].d/S*apache-htcacheclean
1703s + return 1
1703s + a2enmod cache_disk
1703s Considering dependency cache for cache_disk:
1703s Enabling module cache.
1703s Enabling module cache_disk.
1703s Enabling external service apache-htcacheclean
1703s Created symlink
'/etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service'
→ '/usr/lib/systemd/system/apache-htcacheclean.service'.
1703s The service will be started on next reboot.
1703s To activate the new configuration, you need to run:
1703s   systemctl restart apache2
1703s   systemctl start apache-htcacheclean
1703s + htc_enabled
1703s + ls /etc/rc[2345].d/S*apache-htcacheclean
1703s + return 1
1703s + fatal apache-htcacheclean should be enabled
1703s + echo ERROR: apache-htcacheclean should be enabled
1703s ERROR: apache-htcacheclean should be enabled

Reply via email to