[Pkg-puppet-devel] Bug#1032059: puppetserver setup ca logs ENOENT

Bastian Blank waldi at debian.org
Mon Feb 27 08:41:14 GMT 2023


Package: puppetserver
Version: 123
Severity: important

Running "puppetserver setup ca" as mentioned in https://www.puppet.com/docs/puppet/7/ssl_regenerate_certificates.html#ssl_regenerate_certificates
fails:

| # puppetserver ca setup
| /usr/lib/ruby/3.1.0/fileutils.rb:367:in `symlink': No such file or directory @ rb_file_s_symlink - (/etc/puppet/puppetserver/ca, /etc/puppet/ssl/ca) (Errno::ENOENT)
|         from /usr/lib/ruby/3.1.0/fileutils.rb:367:in `block in ln_s'
|         from /usr/lib/ruby/3.1.0/fileutils.rb:1593:in `fu_each_src_dest0'
|         from /usr/lib/ruby/3.1.0/fileutils.rb:365:in `ln_s'
|         from /usr/share/rubygems-integration/all/gems/puppetserver-ca-2.4.0/lib/puppetserver/ca/utils/file_system.rb:55:in `forcibly_symlink'
|         from /usr/share/rubygems-integration/all/gems/puppetserver-ca-2.4.0/lib/puppetserver/ca/utils/config.rb:55:in `symlink_to_old_cadir'
|         from /usr/share/rubygems-integration/all/gems/puppetserver-ca-2.4.0/lib/puppetserver/ca/action/setup.rb:139:in `generate_pki'
|         from /usr/share/rubygems-integration/all/gems/puppetserver-ca-2.4.0/lib/puppetserver/ca/action/setup.rb:68:in `run'
|         from /usr/share/rubygems-integration/all/gems/puppetserver-ca-2.4.0/lib/puppetserver/ca/cli.rb:100:in `run'
|         from /usr/share/puppetserver/cli/apps/ca:5:in `<main>'

/etc/puppet/ssl does not exist.

Bastian

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-5-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages puppetserver depends on:
pn  default-jre-headless                         <none>
pn  facter                                       <none>
pn  hiera                                        <none>
pn  jruby                                        <none>
pn  libclj-time-clojure                          <none>
pn  libclj-yaml-clojure                          <none>
pn  libclojure-java                              <none>
pn  libcomidi-clojure                            <none>
pn  libcommons-exec-java                         <none>
pn  libcommons-io-java                           <none>
pn  libcommons-lang-java                         <none>
pn  libdropwizard-metrics-java                   <none>
pn  libdujour-version-check-clojure              <none>
pn  libjruby-utils-clojure                       <none>
pn  libkitchensink-clojure                       <none>
pn  libliberator-clojure                         <none>
pn  libprismatic-schema-clojure                  <none>
pn  libpuppetlabs-http-client-clojure            <none>
pn  libpuppetlabs-i18n-clojure                   <none>
pn  libpuppetlabs-ring-middleware-clojure        <none>
pn  libraynes-fs-clojure                         <none>
pn  libsemver-clojure                            <none>
pn  libshell-utils-clojure                       <none>
pn  libslingshot-clojure                         <none>
pn  libssl-utils-clojure                         <none>
pn  libtrapperkeeper-authorization-clojure       <none>
pn  libtrapperkeeper-clojure                     <none>
pn  libtrapperkeeper-comidi-metrics-clojure      <none>
pn  libtrapperkeeper-filesystem-watcher-clojure  <none>
pn  libtrapperkeeper-metrics-clojure             <none>
pn  libtrapperkeeper-scheduler-clojure           <none>
pn  libtrapperkeeper-status-clojure              <none>
pn  libtrapperkeeper-webserver-jetty9-clojure    <none>
pn  libyaml-snake-java                           <none>
pn  puppet-agent                                 <none>
ii  ruby                                         1:3.1
pn  ruby-deep-merge                              <none>
pn  ruby-fast-gettext                            <none>
pn  ruby-gettext                                 <none>
pn  ruby-hocon                                   <none>
pn  ruby-locale                                  <none>
pn  ruby-puppet-resource-api                     <none>
pn  ruby-puppetserver-ca-cli                     <none>
pn  ruby-semantic-puppet                         <none>
pn  ruby-text                                    <none>

Versions of packages puppetserver recommends:
pn  puppet-module-puppetlabs-augeas-core   <none>
pn  puppet-module-puppetlabs-cron-core     <none>
pn  puppet-module-puppetlabs-host-core     <none>
pn  puppet-module-puppetlabs-mount-core    <none>
pn  puppet-module-puppetlabs-selinux-core  <none>
pn  puppet-module-puppetlabs-sshkeys-core  <none>

puppetserver suggests no packages.



More information about the Pkg-puppet-devel mailing list