[DRE-maint] Bug#1074791: be_enabled only checks for init scripts and upstart services

Marco d'Itri md at linux.it
Wed Jul 3 10:58:30 BST 2024


Package: ruby-specinfra
Version: 2.89.0-1
Severity: important
Tags: upstream

varnish does not ship an init script anymore because it was a bugs 
generator, but the varnish modules packages uses be_enabled in their 
autopkgtests and now they fail because ruby-specinfra does not know 
about systemd.

ruby-specinfra needs to support services which only have a systemd unit.

e.g.:

Failures:

  1) Service "varnish" is expected to be enabled
     Failure/Error: it { should be_enabled }
       expected Service "varnish" to be enabled
       /bin/sh -c ls\ /etc/rc3.d/\ \|\ grep\ --\ \'\^S..varnish\$\'\ \|\|\ grep\ \'\^\ \*start\ on\'\ /etc/init/varnish.conf

     # ./spec/varnish-modules/install_spec.rb:12:in `block (2 levels) in <top (required)>'

-- 
ciao,
Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20240703/6f855deb/attachment-0001.sig>


More information about the Pkg-ruby-extras-maintainers mailing list