Summary: | logind sessions don't follow nested audit sessions | ||
---|---|---|---|
Product: | systemd | Reporter: | Marius Vollmer <marius.vollmer> |
Component: | general | Assignee: | systemd-bugs |
Status: | NEW --- | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Marius Vollmer
2013-06-05 10:37:21 UTC
In newer fedora the session ID is actually sealed off, so this wouldn't work anymore. Also, the way we see it we initialize from the audit ID when we can, but we wouldn't always gurantee its equal. (In reply to comment #1) > In newer fedora the session ID is actually sealed off, so this wouldn't work > anymore. Hmm, what is "this" here? Running sshd from within an already existing session? What would fail? pam_loginuid? > Also, the way we see it we initialize from the audit ID when we can, but we > wouldn't always gurantee its equal. I'd say that as long as a process has /proc/self/sessionid at all, the logind session if should be guaranteed to follow it. As far as I can see, this should always be possible, by creating a new session if necessary. If you don't want nested sessions, that probably needs to be blocked in pam_loginuid, no? |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.