[JIRA] Commented: (SSPCPP-353) Package the SP to run as non-root user
Kaspar Brand (JIRA)
noreply at shibboleth.net
Tue Aug 16 15:54:25 BST 2011
[ https://issues.shibboleth.net/jira/browse/SSPCPP-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487#comment-13487 ]
Kaspar Brand commented on SSPCPP-353:
-------------------------------------
%attr changes the permissions of an existing directory when upgrading, that's something I can confirm (at least for RH/CentOS).
Having it in the init script isn't very elegant, that's true - but on the other hand, it allows to make sure that shibd will really be able to log / write pid files etc. (the start function of shibd-redhat already has some stuff for that).
> Package the SP to run as non-root user
> --------------------------------------
>
> Key: SSPCPP-353
> URL: https://issues.shibboleth.net/jira/browse/SSPCPP-353
> Project: Shibboleth SP - C++
> Issue Type: Improvement
> Components: Installation
> Affects Versions: 2.4, 2.4.1, 2.4.2, 2.4.3
> Environment: CentOS 5.5 / Shibboleth 2.3.1 from openSUSE repos
> Reporter: Takeshi NISHIMURA
> Assignee: Scott Cantor
> Priority: Minor
> Attachments: shibd-runuser.diff
>
> Original Estimate: 1 week
> Remaining Estimate: 1 week
>
> Updating Shibboleth SP by "yum update" changes owner:group and permissions of /var/{run,log}/shibboleth to the default (root:root and rwxrwxr-x) even if they already exist. Please preserve these permissions on updates if they already exist.
> I am running shibd with user "shibboleth".
> I am using those directories with following permissions:
> rwxrwxr-x root:shibboleth /var/log/shibboleth
> rwxrwxr-x root:shibboleth /var/run/shibboleth
> , and had troubles on every recent updates.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list