Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 754432[details]
A proposed patch for solution 1 from comment #0
Description of problem:
If you want to test your new configuration file and you pass a relative file system path as the last argument of systemd-tmpfiles, systemd-tmpfiles prints the following message:
"Failed to open 'my_tmpfiles.conf', ignoring: No such file or directory"
The help text doesn't say that an absolute path is required.
$ systemd-tmpfiles --help
systemd-tmpfiles [OPTIONS...] [CONFIGURATION FILE...]
Creates, deletes and cleans up volatile and temporary files and directories.
-h --help Show this help
--create Create marked files/directories
--clean Clean up marked directories
--remove Remove marked files/directories
--prefix=PATH Only apply rules that apply to paths with the specified prefix
Version-Release number of selected component (if applicable):
systemd-204-2.el7.1.x86_64
Any one of these solutions would be fine:
1) if no standard tmpfiles directory contains the configuration file, systemd-tmpfiles tries to open the configuration file from the current directory.
2) more verbose help text
3) more precise error message
Thank you for taking the time to look at this bug!
I'm afraid that the right documentation is systemd-tmpfiles(8) because tmpfiles.d(5) describes only the configuration format and the purpose of files placed in the tmpfiles.d directories.