<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Empty conf.d directories are not created, for configuration files that support it"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89397">89397</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Empty conf.d directories are not created, for configuration files that support it
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>minor
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tanguy.person@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=113928" name="attach_113928" title="Adding missing empty directories for conf.d">attachment 113928</a> <a href="attachment.cgi?id=113928&action=edit" title="Adding missing empty directories for conf.d">[details]</a></span>
Adding missing empty directories for conf.d
Systemd supports "conf.d" subfolders for several of its configuration files. It
helps configuration customization by separating hardware- and user-specific
configuration from systemd and/or distribution presets.
So It think that it would help end-users and Linux distributions if those
directories were created by systemd directly. Especialy when the files provided
by systemd mention them.
The attached patch is a very naïve one, I am no good developper, in fact it
lacks testing, so it probably can't be used as-is. But I hope it helps.
It adds the following empty directories :
/etc/systemd/bootchart.conf.d/
/etc/systemd/coredump.conf.d/
/etc/systemd/journald.conf.d/
/etc/systemd/logind.conf.d/
/etc/systemd/resolved.conf.d/
/etc/systemd/system.conf.d/
/etc/systemd/timesyncd.conf.d/
/etc/systemd/user.conf.d/</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>