libsemanage 2.0.25-3 source package in Ubuntu
Changelog
libsemanage (2.0.25-3) unstable; urgency=high * [bab6644]: Also check for the uppoer bound on user ids in login.defs Some non-Debian packages (like qmail, shudder) create users not below MIN_UID, but above MAX_UID, in /etc/login.defs (non-system users are supposed to have uids between MIN_UID and MAX_UID. genhomedircon.c:gethomedirs() checks pwent.pw_uid against MIN_UID in /etc/login.defs to exclude system users from generating homedir contexts. But unfortunately it does not check it against MAX_UID setting from the same file. This gets us lines like the following in the contexts/files/file_contexts.homedirs file: ,---- | # | # Home Context for user user_u | # | /var/qmail/[^/]*/.+ user_u:object_r:user_home_t:s0 | /var/qmail/[^/]*/\.ssh(/.*)? user_u:object_r:user_home_ssh_t:s0 | /var/qmail/[^/]*/\.gnupg(/.+)? user_u:object_r:user_gpg_secret_t:s0 | /var/qmail/[^/]* -d user_u:object_r:user_home_dir_t:s0 | /var/qmail/lost\+found/.* <<none>> | /var/qmail -d system_u:object_r:home_root_t:s0 | /var/qmail/\.journal <<none>> | /var/qmail/lost\+found -d system_u:object_r:lost_found_t:s0 | /tmp/gconfd-.* -d user_u:object_r:user_tmp_t:s0 `---- This commit adds checking uid value againt MAX_UID too. Bug fix: "login.defs:MAX_UID have no effect on generating list of valid users, but MIN_UID does have.", thanks to root (Closes: #510134). -- Ubuntu Archive Auto-Sync <email address hidden> Mon, 09 Feb 2009 08:56:33 +0000
Upload details
- Uploaded by:
- Ubuntu Archive Auto-Sync
- Uploaded to:
- Jaunty
- Original maintainer:
- Manoj
- Architectures:
- any
- Section:
- libdevel
- Urgency:
- Very Urgent
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libsemanage_2.0.25.orig.tar.gz | 171.7 KiB | 640746c8b9113821b641119259d1067ca51698349ee4dd6595c6d8aa77b9cf51 |
libsemanage_2.0.25-3.diff.gz | 29.2 KiB | e547af1ea34767049f2a8ea00c07badd30373c9cfc21d54ffb17359f32a32a31 |
libsemanage_2.0.25-3.dsc | 1.3 KiB | 875133d6f86367833dbc9579ca924d4fa2dcad0a424d4d16595334ab5913865b |
Available diffs
- diff from 2.0.25-2 to 2.0.25-3 (4.0 KiB)
Binary packages built by this source
- libsemanage1: No summary available for libsemanage1 in ubuntu jaunty.
No description available for libsemanage1 in ubuntu jaunty.
- libsemanage1-dev: No summary available for libsemanage1-dev in ubuntu jaunty.
No description available for libsemanage1-dev in ubuntu jaunty.
- python-semanage: No summary available for python-semanage in ubuntu jaunty.
No description available for python-semanage in ubuntu jaunty.