Purpose unclear of unknown file /etc/apache2/apache2.conf.in
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Won't Fix
|
Medium
|
Bryce Harrington | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Due to a recent SRU fix, a stray config file template gets installed on Xenial systems when apache2 is installed. This causes no harm in practice but may cause some confusion.
[Test Case]
* Install apache2
* Look for /etc/apache2/
[Where Problems Could Occur]
The fix changes what gets installed to /etc/apache2, so issues to watch for would relate to unexpected changes in the contents of this directory tree.
[Original
I just upgraded apache2:amd64 2.4.18-2ubuntu3.15 --> 2.4.18-2ubuntu3.17 and now there is a file
/etc/
with the following difference to apache2.conf:
% diff -u /etc/apache2/
--- /etc/apache2/
+++ /etc/apache2/
@@ -71,7 +71,7 @@
#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
-#Mutex file:${
+___MUTEX___Mutex file:${
#
# PidFile: The file in which the server should record its process
apache2.conf.in is part of the .deb file, see
https:/
apache2.conf.in is not mentioned in any config file in /etc/apache2,
not in the init.d script or systemd service file nor in the changelog.
What's the purpose of that file?
From the diff above it doesn't even look like a valid apache2 config file
because of the "___MUTEX___" prefix.
Is this some kind of leftover from a search/replace operation?
Related branches
- Christian Ehrhardt (community): Needs Information
-
Diff: 30 lines (+12/-1)2 files modifieddebian/apache2.install (+4/-1)
debian/changelog (+8/-0)
Changed in apache2 (Ubuntu): | |
status: | Triaged → In Progress |
description: | updated |
Changed in apache2 (Ubuntu): | |
status: | In Progress → Fix Committed |
tags: | removed: server-next |
Changed in apache2 (Ubuntu): | |
status: | Fix Committed → Won't Fix |
Thanks for your report and for making Ubuntu better.
I can confirm this bug. The .in file was added as of:
apache2 (2.4.18- 2ubuntu3. 16) xenial; urgency=medium
* On Linux, use pthread mutexes. On kfreebsd/hurd, continue using
fctnl because they lack robust pthread mutexes.
(LP: #1565744)
-- Bryce Harrington <email address hidden> Thu, 16 Jul 2020 00:20:55 +0000
but you're correct in saying that the changelog entry does not mention the file. You are also correct in your guess: the file is a leftover of a search-and-replace operation; it should have probably been removed after the replace took place.
Even though the .in file is harmless (Apache will not try to load it in any way), it should not have been installed. I am marking this bug as Triaged and will contact Bryce to sync.
Thanks!