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.
Bug 1959826 - avoid starting tmp.mount via dependency
Summary: avoid starting tmp.mount via dependency
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: systemd
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: David Tardon
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
Depends On:
Blocks: 1941649 2000927
TreeView+ depends on / blocked
 
Reported: 2021-05-12 12:56 UTC by David Tardon
Modified: 2021-12-07 22:01 UTC (History)
5 users (show)

Fixed In Version: systemd-249-5.el9_b
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2000927 (view as bug list)
Environment:
Last Closed: 2021-12-07 21:57:54 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github redhat-plumbers systemd-rhel9 pull 32 0 None open (#1959826) units: don't enable tmp.mount statically in local-fs.target 2021-09-22 13:41:52 UTC
Github systemd-rhel rhel-9 pull 4 0 None open unit: don't add Requires for tmp.mount 2021-05-12 13:03:12 UTC

Description David Tardon 2021-05-12 12:56:29 UTC
Description of problem:
When a unit uses PrivateTmp= or RequiresMountsFor=/tmp/whatever, tmp.mount is automatically started. We don't want that to happen, for compatibility with older releases.

Version-Release number of selected component (if applicable):
systemd-248-2.el9

How reproducible:
always

Steps to Reproduce:
1. systemd-run -p PrivateTmp=yes sleep 1
2. mountpoint /tmp

Actual results:
/tmp is a mountpoint

Expected results:
/tmp is not a mountpoint

Comment 1 Plumber Bot 2021-08-06 10:23:39 UTC
fix merged to github main branch -> https://github.com/redhat-plumbers/systemd-rhel9/pull/4

Comment 15 Plumber Bot 2021-09-22 14:41:37 UTC
fix merged to github rhel-9.0.0-beta branch -> https://github.com/redhat-plumbers/systemd-rhel9/pull/32


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