Open florian-asche opened 5 years ago
================================================================================ Error executing action `enable` on resource 'service[php-fpm]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '1' ---- Begin output of /usr/sbin/update-rc.d -n -f php7.2-fpm remove ---- STDOUT: STDERR: update-rc.d: error: unknown option usage: update-rc.d [-f] <basename> remove update-rc.d [-f] <basename> defaults update-rc.d [-f] <basename> defaults-disabled update-rc.d <basename> disable|enable [S|2|3|4|5] -f: force The disable|enable API is not stable and might change in the future. ---- End output of /usr/sbin/update-rc.d -n -f php7.2-fpm remove ---- Ran /usr/sbin/update-rc.d -n -f php7.2-fpm remove returned 1 Resource Declaration: --------------------- # In /root/chef-solo/local-mode-cache/cache/cookbooks/php-fpm/recipes/install.rb 56: service 'php-fpm' do 57: provider service_provider if service_provider 58: service_name php_fpm_service_name 59: supports start: true, stop: true, restart: true, reload: true 60: action [:enable, :start] 61: end Compiled Resource: ------------------ # Declared in /root/chef-solo/local-mode-cache/cache/cookbooks/php-fpm/recipes/install.rb:56:in `from_file' service("php-fpm") do provider Chef::Provider::Service::Debian action [:enable, :start] default_guard_interpreter :default service_name "php7.2-fpm" enabled nil running nil masked nil pattern "php-fpm" declared_type :service cookbook_name "php-fpm" recipe_name "install" supports {:start=>true, :stop=>true, :restart=>true, :reload=>true} end System Info: ------------ chef_version=13.8.5 platform=ubuntu platform_version=18.04 ruby=ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux] program_name=chef-solo worker: ppid=30645;start=23:48:10; executable=/opt/chef/bin/chef-solo
For the record: Old bug, fixed here
Still present though in the distro-provided chef package from Debian Buster.