Bug 884625 - man-pages: credentials(7) should mention SELinux contexts
Summary: man-pages: credentials(7) should mention SELinux contexts
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: man-pages
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Carlos O'Donell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-06 12:55 UTC by Florian Weimer
Modified: 2026-08-21 13:30 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:
ralvaro: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-4761 0 None None None 2026-08-21 13:30:28 UTC

Description Florian Weimer 2012-12-06 12:55:12 UTC
Description of problem:

The credentials(7) manual page does not mention SELinux at all.  It should briefly describe their effects (if possible), or point to a manual page which describes them in detail.

Version-Release number of selected component (if applicable):

man-pages-3.35-4.fc17.noarch

Comment 1 Peter Schiffer 2012-12-06 14:10:09 UTC
Hi Florian,

please, what selinux manual page discuss this topic?

Thanks,

peter

Comment 2 Florian Weimer 2012-12-06 14:15:37 UTC
I don't know, sorry.  libselinux-devel does not include an overview manual page, and I don't seem to have such a thing on my system (neither selinux(3) nor selinux(7)).

Comment 3 Peter Schiffer 2013-01-08 14:17:08 UTC
CC'ing SELinux guys. Please, could you participate on this bug? We need to provide some references to the relevant sources (if exists) or update the credentials(7) man page itself with relevant information.

Comment 4 Daniel Walsh 2013-01-08 15:39:03 UTC
I think there is other audit information that should be listed here like auid and sessionid.

Comment 5 Steve Grubb 2013-01-08 15:58:33 UTC
Yes, auid and sessionid are part of a process' credentials. auid is sometimes called the loginuid. It tracks what account someone logged in under. For daemons, it should be -1, which is unset. This is because daemons are started by init and are not part of a login session. Once the auid is set, it cannot be changed. Setting it also requires CAP_AUDIT_CONTROL. When it gets set, it causes sessionid to increment a global counter and the new number is assigned to the process. This way all processes can be traced to an original login in case a user has multiple logins. Both of these credentials are inherited at process fork and cannot be changed. This way any process can be traced to the original user no matter who the sudo or su to later in the session. The audit credentials cannot be used to grant access to anything, they are only used for tracking and to trigger audit rules. They can both be seen as /proc/self/loginuid and /proc/self/sessionid.

pam_loginuid.so sets the loginuid and its man page has more information. Also, audit.rules man pages has some more information about auditing.

Comment 6 Fedora End Of Life 2013-07-04 02:43:51 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Florian Weimer 2013-07-04 08:11:08 UTC
Still present in man-pages-3.51-1.fc19.noarch (same version as in rawhide).

Comment 8 Fedora Admin XMLRPC Client 2014-05-12 11:46:40 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 9 Fedora Admin XMLRPC Client 2015-07-13 10:20:26 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 10 Fedora Admin user for bugzilla script actions 2025-02-01 01:45:10 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


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