Your message dated Mon, 19 Dec 2022 20:42:10 +0000
with message-id <e1p7mxe-000kab...@fasolo.debian.org>
and subject line Bug#1014694: fixed in caddy 2.5.2-1
has caused the Debian Bug report #1014694,
regarding caddy.service: Failed to determine user credentials: No such process
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.)


-- 
1014694: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014694
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: caddy
Version: 2.4.6-2
Severity: serious
Justification: package usable



Hello,


For me, on Debian Testing, doesn't Caddy start.

How I installed:

|stappers@hop:~
|$ wget 
http://ftp.nl.debian.org/debian/pool/main/c/caddy/caddy_2.4.6-2_amd64.deb
|--2022-07-10 11:15:44--  
http://ftp.nl.debian.org/debian/pool/main/c/caddy/caddy_2.4.6-2_amd64.deb
|Resolving ftp.nl.debian.org (ftp.nl.debian.org)... 2001:67c:2564:a120::21, 
130.89.149.21
|Connecting to ftp.nl.debian.org 
(ftp.nl.debian.org)|2001:67c:2564:a120::21|:80... connected.
|HTTP request sent, awaiting response... 200 OK
|Length: 8073508 (7.7M) [application/x-debian-package]
|Saving to: ‘caddy_2.4.6-2_amd64.deb’
|
|caddy_2.4.6-2_amd64.deb     100%[==========================================>]  
 7.70M  --.-KB/s    in 0.05s   
|
|2022-07-10 11:15:44 (141 MB/s) - ‘caddy_2.4.6-2_amd64.deb’ saved 
[8073508/8073508]
|
|stappers@hop:~
|$ sudo dpkg -i caddy_2.4.6-2_amd64.deb 
|Selecting previously unselected package caddy.
|(Reading database ... 26988 files and directories currently installed.)
|Preparing to unpack caddy_2.4.6-2_amd64.deb ...
|Unpacking caddy (2.4.6-2) ...
|Setting up caddy (2.4.6-2) ...
|Processing triggers for man-db (2.10.2-1) ...
|stappers@hop:~
|$ systemctl status caddy
|○ caddy.service - Caddy
|     Loaded: loaded (/lib/systemd/system/caddy.service; disabled; vendor 
preset: enabled)
|     Active: inactive (dead)
|       Docs: https://caddyserver.com/docs/
|stappers@hop:~
|$ 


What I have, including error message "Failed to determine user credentials":

|stappers@hop:~
|$ dpkg -l caddy
|Desired=Unknown/Install/Remove/Purge/Hold
|| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
||/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
|||/ Name           Version      Architecture Description
|+++-==============-============-============-=================================================
|ii  caddy          2.4.6-2      amd64        Fast, lightweight web server with 
automatic HTTPS
|stappers@hop:~
|$ systemctl --failed
|  UNIT          LOAD   ACTIVE SUB    DESCRIPTION
|● caddy.service loaded failed failed Caddy
|
|LOAD   = Reflects whether the unit definition was properly loaded.
|ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
|SUB    = The low-level unit activation state, values depend on unit type.
|1 loaded units listed.
|stappers@hop:~
|$ systemctl status caddy
|× caddy.service - Caddy
|     Loaded: loaded (/lib/systemd/system/caddy.service; disabled; vendor 
preset: enabled)
|     Active: failed (Result: exit-code) since Sun 2022-07-10 11:16:23 UTC; 
42min ago
|       Docs: https://caddyserver.com/docs/
|    Process: 189961 ExecStart=/usr/bin/caddy run --environ --config 
/etc/caddy/Caddyfile (code=exited, status=217/USER)
|   Main PID: 189961 (code=exited, status=217/USER)
|        CPU: 2ms
|
|Jul 10 11:16:23 hop systemd[1]: Starting Caddy...
|Jul 10 11:16:23 hop systemd[189961]: caddy.service: Failed to determine user 
credentials: No such process
|Jul 10 11:16:23 hop systemd[189961]: caddy.service: Failed at step USER 
spawning /usr/bin/caddy: No such process
|Jul 10 11:16:23 hop systemd[1]: caddy.service: Main process exited, 
code=exited, status=217/USER
|Jul 10 11:16:23 hop systemd[1]: caddy.service: Failed with result 'exit-code'.
|Jul 10 11:16:23 hop systemd[1]: Failed to start Caddy.
|stappers@hop:~
|$ 


The unit file, without comment line, note the 'User=caddy' being present

|stappers@hop:~
|$ systemctl cat caddy | grep -v ^\#
|
|[Unit]
|Description=Caddy
|Documentation=https://caddyserver.com/docs/
|After=network.target network-online.target
|Requires=network-online.target
|
|[Service]
|Type=notify
|User=caddy
|Group=caddy
|ExecStart=/usr/bin/caddy run --environ --config /etc/caddy/Caddyfile
|ExecReload=/usr/bin/caddy reload --config /etc/caddy/Caddyfile
|TimeoutStopSec=5s
|LimitNOFILE=1048576
|LimitNPROC=512
|PrivateTmp=true
|ProtectSystem=full
|AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|[Install]
|WantedBy=multi-user.target
|stappers@hop:~
|$ 

But user 'caddy' is not present.


|stappers@hop:~
|$ id caddy
|id: ‘caddy’: no such user
|stappers@hop:~
|$ 
 


I think that is the reason for
  caddy.service: Failed to determine user credentials: No such process



  
Regards
Geert Stappers
Will reply to this bugreport with possible solution
-- 
Silence is hard to parse

--- End Message ---
--- Begin Message ---
Source: caddy
Source-Version: 2.5.2-1
Done: Peymaneh <peyma...@posteo.net>

We believe that the bug you reported is fixed in the latest version of
caddy, 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 1014...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peymaneh <peyma...@posteo.net> (supplier of updated caddy 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: SHA256

Format: 1.8
Date: Sat, 17 Dec 2022 15:43:08 +0100
Source: caddy
Architecture: source
Version: 2.5.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg...@tracker.debian.org>
Changed-By: Peymaneh <peyma...@posteo.net>
Closes: 1014694 1021587
Changes:
 caddy (2.5.2-1) unstable; urgency=medium
 .
   * Upload to unstable
     * Vendor relevant protobuf and genproto libraries
     * Vendor cel-go
     * Update d/readme.source
   * New upstream version 2.5.2 (Closes: #1021587)
   * d/control:
     * Bump Standards-Version
     * Update dependencies
   * d/rules:
     * Import post/pre-rm/inst scripts (Closes: #1014694)
     * simplify fetching of build number
   * d/patches:
     * Temporarily disable tracing module
     * do not run 'chown- R' in postinst
   * d/tests/: add autopkgtest for caddy cli
   * Multiple small changes to please lintian
Checksums-Sha1:
 ed8748facbb31dea49d0db1cda3a57db0664dfa2 2766 caddy_2.5.2-1.dsc
 b978c3123f9721da6dac0fd632570970ab7d33e9 26339 caddy_2.5.2.orig-dist.tar.gz
 1453424394ed150292e65759ebc9eecf4a6b026c 524371 caddy_2.5.2.orig.tar.gz
 6a1653dd80bd5789dd38c8a54a4ba38f9ab0fb22 385300 caddy_2.5.2-1.debian.tar.xz
 d82bf649b39c1e460a84d9a60dd4b8e4ae564087 17650 caddy_2.5.2-1_amd64.buildinfo
Checksums-Sha256:
 f8c7107614e482c282832eafa1440ca530c722c6dd13e672d6f7da227a31eba0 2766 
caddy_2.5.2-1.dsc
 d25a14b2278eae0af4bf9013e4c7452d9f1efd530e86898e0b39fc5a2f185fbd 26339 
caddy_2.5.2.orig-dist.tar.gz
 1c21f88287bef2a6c985ba1f518e27cc14119940eb8677cba264a8043ab23533 524371 
caddy_2.5.2.orig.tar.gz
 33984b2ba1522d200edfe127a116e523251867cc4bd246a0cfac4ff2619b5016 385300 
caddy_2.5.2-1.debian.tar.xz
 c7006d95371ff05be4ecf0a899a7186b834a111a9708ff28326978f20c6006e4 17650 
caddy_2.5.2-1_amd64.buildinfo
Files:
 3684923fc898ed3770b66839a8800eb5 2766 httpd optional caddy_2.5.2-1.dsc
 aa2f5dc7718a43924e0621e5c3e83af9 26339 httpd optional 
caddy_2.5.2.orig-dist.tar.gz
 8b2972c50e847f1e1a3e832d7d61fb59 524371 httpd optional caddy_2.5.2.orig.tar.gz
 4f6054a8a634a67ab5b614546ad98450 385300 httpd optional 
caddy_2.5.2-1.debian.tar.xz
 6bfb149c3a9fb6be1c7710e02e0827c5 17650 httpd optional 
caddy_2.5.2-1_amd64.buildinfo

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

iHUEARYIAB0WIQSxU0gdtznMh6PWXc8GICPKPga91QUCY592OwAKCRAGICPKPga9
1QmxAP99Q6qMZJfEEvdVOto8lj7cWTkeouFOz00Df+icq75yUQEA0ohf2y+rNOA0
wSEDQEvnWQlaEkprX2zt54OIfX18ZAA=
=0yCJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to