Your message dated Tue, 1 Dec 2020 16:26:47 +0100
with message-id <20201201152644.GA4654@laureti-dev>
and subject line Re: Bug#975064: Changing server.username causes lighttpd to 
fail to start
has caused the Debian Bug report #975064,
regarding Changing server.username causes lighttpd to fail to start
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 [email protected]
immediately.)


-- 
975064: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975064
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lighttpd
Version: 1.4.55-2
Severity: normal

Dear Maintainer,

Changing the value of 'server.username' in lighttpd.conf causes the
server to fail to start. In my particular configuration, with webdav
enabled, I get the following error:

Starting Lighttpd Daemon...
(mod_webdav.c.1153) sqlite3_open()
'/var/cache/lighttpd/lighttpd.webdav.db': unable to open database file
(server.c.1496) Configuration of plugins failed. Going down.
lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
lighttpd.service: Failed with result 'exit-code'.
Failed to start Lighttpd Daemon.


This happens because the user/group of 'www-data' is hard-coded in
/usr/lib/tmpfiles.d/lighttpd.tmpfile.conf

Thanks,
Damon

--- End Message ---
--- Begin Message ---
Control: tags -1 + wontfix

On Wed, Nov 18, 2020 at 05:26:01PM -0500, Glenn Strauss wrote:
> Perhaps you should not change server.username unless you are also
> prepared to change other scripts and filesystem ownership as
> appropriate?  What are you suggesting that lighttpd do in response to
> your *manual* modification?
> 
> The Debian installation provides a working set of defaults, which
> includes running lighttpd under user www-data, and includes scripts
> which manage temporary files, upload directories, databases and cache
> locations, such as the mod_webdav sqlite database.

In general, changing the user of a service packaged for Debian is a
non-trivial thing. It isn't a one-line change for many other services
and is not generally expected to just work. Implementing it would bear
an unreasonable cost for the reasons Glenn detailed. I am thus closing
the bug as something we will not fix.

Changing the username is not impossible. You "just" need to change it in
all the relevant places consistently.

Helmut


Mit freundlichen Grüßen

Dipl.-Inf. Helmut Grohne
Research and Development
Application Engineering

Phone: +49 (371) 24354 0 | Fax:  +49 (371) 24354 020
[email protected] | https://www.intenta.de

Intenta GmbH ∙ Ahornstraße 55 ∙ 09112 Chemnitz, Germany
Managing Director: Dr.-Ing. Basel Fardi ∙ VAT/USt-IdNr.: DE 275745394
Commercial register: HRB 26404 Amtsgericht Chemnitz

--- End Message ---

Reply via email to