Bug 1155488
Summary: | The env parameter $XDG_RUNTIME_DIR should get the cocrret value automatically while su - to usermode | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Pei Zhang <pzhang> |
Component: | systemd | Assignee: | systemd-maint |
Status: | CLOSED NOTABUG | QA Contact: | qe-baseos-daemons |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | dyuan, jdenemar, msekleta, mzhan, shyu, systemd-maint-list, xuzhang, ydu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-10-22 11:19:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pei Zhang
2014-10-22 08:44:23 UTC
Semantics of /bin/su - are very vaguely defined and doesn't mention XDG_RUNTIME_DIR explicitly. We don't leave XDG_RUNTIME_DIR set unconditionally. We undefine it when newly logged in user is not the same as the one which owns the session. If you want a full session use mechanism which will provide you one. Calling /bin/su - just doesn't cut it. Sorry. Closing as NOTABUG for now. hi, Jiri, libvirt is not working well while su - to usermode, it's one systemd bug. But the systemd developer closed as NOTABUG, is it ok for libvirt side? Would you please kindly have a look at this bug? Thanks in advanced. Well, I think libvirt doesn't really care. |