[Pkg-puppet-devel] Bug#854680: Bug#854680: service resource cannot be disabled, spews error messages
Apollon Oikonomopoulos
apoikos at debian.org
Thu Feb 9 15:32:12 UTC 2017
Hi Bernhard,
Thanks for the report.
On 14:22 Thu 09 Feb , Bernhard Schmidt wrote:
> please note that this is not a duplicate of #854487 (although related
> because
> my manifest tried to disable the puppet service).
>
> Puppet on Stretch spews an error message about a wrong invocation of dpkg
> --compare-version on stderr when trying to disable a service.
>
> root at dns-q-neu:~# puppet resource service puppet enable='false' --debug
> Debug: Runtime environment: puppet_version=4.8.2, ruby_version=2.3.3, run_mode=user, default_encoding=UTF-8
> Debug: Evicting cache entry for environment 'production'
> Debug: Caching environment 'production' (ttl = 0 sec)
> Debug: Evicting cache entry for environment 'production'
> Debug: Caching environment 'production' (ttl = 0 sec)
> Debug: Evicting cache entry for environment 'production'
> Debug: Caching environment 'production' (ttl = 0 sec)
> Debug: Evicting cache entry for environment 'production'
> Debug: Caching environment 'production' (ttl = 0 sec)
> Debug: Evicting cache entry for environment 'production'
> Debug: Caching environment 'production' (ttl = 0 sec)
> Debug: Failed to load library 'cfpropertylist' for feature 'cfpropertylist'
> Debug: Puppet::Type::Service::ProviderInit: false value when expecting true
> Debug: Puppet::Type::Service::ProviderUpstart: 0 confines (of 4) were true
> Debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does not exist
> Debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist
> Debug: Puppet::Type::Service::ProviderOpenbsd: file /usr/sbin/rcctl does not exist
> Debug: Puppet::Type::Service::ProviderOpenrc: file /bin/rc-status does not exist
> Debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not exist
> Debug: Puppet::Type::Service::ProviderRedhat: file /sbin/chkconfig does not exist
> Debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not exist
> Debug: Loaded state in 0.03 seconds
> Debug: Loaded transaction store file in 0.00 seconds
> dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>
So, the service provider for Debian is still broken... We had fixed that
for Jessie previously, I'll check and see if the patch actually works
and (most important) if it breaks sysv-rc systems.
Regards,
Apollon
More information about the Pkg-puppet-devel
mailing list