Your message dated Wed, 31 May 2023 18:49:00 +0000
with message-id <e1q4qsw-00fl0e...@fasolo.debian.org>
and subject line Bug#1036985: fixed in crowdsec-firewall-bouncer 0.0.25-3
has caused the Debian Bug report #1036985,
regarding crowdsec-firewall-bouncer: fails to install with 
--install-recommends: open /etc/crowdsec/config.yaml: no such file or directory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1036985: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036985
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: crowdsec-custom-bouncer
Version: 0.0.15-2
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release, thus the severity.

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package crowdsec.
  Preparing to unpack .../4-crowdsec_1.4.6-3+b1_i386.deb ...
  Unpacking crowdsec (1.4.6-3+b1) ...
  Selecting previously unselected package crowdsec-custom-bouncer.
  Preparing to unpack .../5-crowdsec-custom-bouncer_0.0.15-2+b1_i386.deb ...
  Unpacking crowdsec-custom-bouncer (0.0.15-2+b1) ...
  Setting up crowdsec-custom-bouncer (0.0.15-2+b1) ...
  [ESC][31mFATA[ESC][0m[03-05-2023 23:19:26] while reading yaml file: open 
/etc/crowdsec/config.yaml: no such file or directory 
  dpkg: error processing package crowdsec-custom-bouncer (--configure):
   installed crowdsec-custom-bouncer package post-installation script 
subprocess returned error exit status 1
  Setting up libsqlite3-0:i386 (3.40.1-2) ...
  Setting up libssl3:i386 (3.0.8-1) ...
  Setting up openssl (3.0.8-1) ...
  Setting up ca-certificates (20230311) ...
  Updating certificates in /etc/ssl/certs...
  140 added, 0 removed; done.
  Setting up crowdsec (1.4.6-3+b1) ...
  I: Registering to LAPI (/etc/crowdsec/local_api_credentials.yaml)
  W: Missing /etc/machine-id, initializing
  I: Registering to CAPI (/etc/crowdsec/online_api_credentials.yaml)
  I: Setting up offline hub (see README.Debian)
  I: Enabling upstream-recommended items, first installation (via symlinks from 
/etc/crowdsec)
  I: Enabling WAL for SQLite [fstype=] (see README.Debian)
  Processing triggers for libc-bin (2.36-9) ...
  Processing triggers for ca-certificates (20230311) ...
  Updating certificates in /etc/ssl/certs...
  0 added, 0 removed; done.
  Running hooks in /etc/ca-certificates/update.d...
  done.
  Errors were encountered while processing:
   crowdsec-custom-bouncer

Note that crowdsec gets configured after crowdsec-custom-bouncer in
this case because there is only a Recommends.


cheers,

Andreas

Attachment: crowdsec-custom-bouncer_0.0.15-2+b1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: crowdsec-firewall-bouncer
Source-Version: 0.0.25-3
Done: Cyril Brulebois <cy...@debamax.com>

We believe that the bug you reported is fixed in the latest version of
crowdsec-firewall-bouncer, which is due to be installed in the Debian FTP 
archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1036...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cyril Brulebois <cy...@debamax.com> (supplier of updated 
crowdsec-firewall-bouncer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 31 May 2023 18:57:41 +0200
Source: crowdsec-firewall-bouncer
Architecture: source
Version: 0.0.25-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg...@tracker.debian.org>
Changed-By: Cyril Brulebois <cy...@debamax.com>
Closes: 1036985
Changes:
 crowdsec-firewall-bouncer (0.0.25-3) unstable; urgency=medium
 .
   * Fix failure to install if crowdsec is unpacked but not configured
     (Closes: #1036985):
      - If both cscli and /etc/crowdsec/config.yaml exist, register as
        previously, via `cscli bouncers add`.
      - If cscli exists but /etc/crowdsec/config.yaml doesn't, create an
        API key similarly to what cscli would do (32 hexadecimal digits),
        and queue registration in /var/lib/crowdsec/pending-registration.
   * Add ConditionPathExists=!/var/lib/crowdsec/pending-registration to the
     systemd unit accordingly, so that it's skipped until crowdsec's
     postinst deals with the pending-registration file, removes it, and
     starts the units.
   * Use mode 600 when creating crowdsec-firewall-bouncer.yaml.local, since
     it contains an API key.
Checksums-Sha1:
 9df5097de8960eda4983cdda96e172006cde9284 2588 
crowdsec-firewall-bouncer_0.0.25-3.dsc
 fa1bf53663d0452db5c6b44d316aad371768977f 7436 
crowdsec-firewall-bouncer_0.0.25-3.debian.tar.xz
 9217a1d7d5e22294005bf0fe064fec42fae161f3 6668 
crowdsec-firewall-bouncer_0.0.25-3_source.buildinfo
Checksums-Sha256:
 204e0f29352a2a32ff32e3cdaebab4d0c99cca4fbefe92048098143efee53edf 2588 
crowdsec-firewall-bouncer_0.0.25-3.dsc
 c0a6fece9244f4ee228572f12990a78801d8f109651778d7e16d4a29e8bbab57 7436 
crowdsec-firewall-bouncer_0.0.25-3.debian.tar.xz
 14f29b2e6678e497164ea651a0934341144ae6bf95a453ff0a13aa4cf2943bd1 6668 
crowdsec-firewall-bouncer_0.0.25-3_source.buildinfo
Files:
 b63f359b8e0063bfc9fc5532aad56409 2588 golang optional 
crowdsec-firewall-bouncer_0.0.25-3.dsc
 6f23847388545f2ab573ac673c8b7675 7436 golang optional 
crowdsec-firewall-bouncer_0.0.25-3.debian.tar.xz
 b6c1163436ee62daca327e8b34a4a934 6668 golang optional 
crowdsec-firewall-bouncer_0.0.25-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmR3fP0QHGtpYmlAZGVi
aWFuLm9yZwAKCRD/kUrwwrNVIMqyEAC99/OL71sjoiGTdeIPNvknUtdEBpAeYUGq
55qwE014HJqY/pQxGifqzWaqLUCIwj/cDevn36kiIUJCXRojmL7JBVkdIV8N19fa
9iFUwZodxDZ/06qth3jAGa76eeggSPRcN4T3ackTNo8JvNHE6o7zOI2gKQZRmejN
YOpRL4KZzq4lsVA6QIQAOkT7W1S87i9CYE3l5dapt76iDl5teZjxrs7v1QzrSQHt
n3NJu36f/fD4yGhYONne70HSUxinzM/LXueTrlwu3b6XGvqzUB/6JY6/fhyEyXF/
LsYQ6xjrNygVSTa8HvNp4fP/9kjru/9WjixqxjdMZeYDMHY9P+/vTQ5ycimVg1MO
9tY7kbHw9Jnrxrf3yhZKq9ea/EM5TkVs6i9SqLn07RbmjPVgBkL8Vl0v4ENkh0Fw
cvIgeCRUBQqIhj85k1HabvsdZB1UOM7pcEHe3UXxMjI4D9042V16orDEi8kVbCcS
47uHt11nC946dLQh0ReDPOdRQV4j1iruWb2GXS0Q9FxePfGzigidE5w2Df3mJQIh
npmBv6mDlDvLx+3LR4pHLKE6RxElI0xq+3afBmkH5j6yzx7u8PntWGSTHfjB5g0N
sEduAja2UiwD0KE5XLZcrVS7QcAFoe8yq1IZlq5xt043SyXVA+4XmJL8WuQGULUU
8DoTH9uEyw==
=QZ/Z
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to