Bug 1196805 - Add extra tmpfiles.d entries for /var
Summary: Add extra tmpfiles.d entries for /var
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-26 19:26 UTC by Hristo Venev
Modified: 2015-03-04 10:00 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-04 10:00:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1196807 0 unspecified CLOSED openssh-server: Add tmpfiles.d entries 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1196809 0 unspecified CLOSED sudo: Add tmpfiles.d entries 2021-02-22 00:41:40 UTC

Internal Links: 1196807 1196809

Description Hristo Venev 2015-02-26 19:26:05 UTC
d /var/empty 755 root root -
d /var/db 755 root root -
d /var/spool/mail 775 root root -
L /var/mail - root root - spool/mail

These are a part of filesystem. However they must be recreated in case of rm -rf /var. Volatile systems and stuff.

Comment 1 Zbigniew Jędrzejewski-Szmek 2015-02-26 21:29:34 UTC
(In reply to Hristo Venev from comment #0)
> d /var/spool/mail 775 root root -
> L /var/mail - root root - spool/mail
I'd rather not go into the business of providing mail directories. Some poeple use Maildirs in /home, many systems don't do mail at all. If anything, filesystem package should carry this configuration, since they have those directories in the rpm.

> d /var/db 755 root root -
This is useless by itself, any user will have to create a subdirectory underneath this anyway.

> d /var/empty 755 root root -
Same here.

> These are a part of filesystem. However they must be recreated in case of rm
> -rf /var. Volatile systems and stuff.
In general snippets for directories should be carried by the same rpms which own those directories. This helps avoid discrepancies.

Comment 2 Jan Synacek 2015-03-04 10:00:00 UTC
As Zbigniew already pointed out, packages should provide relevant tmpfiles.d snippets.


Note You need to log in before you can comment on or make changes to this bug.