You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Simone Piunno (JIRA)" <ji...@apache.org> on 2007/01/20 13:04:30 UTC
[jira] Commented: (DAEMON-24) [daemon] jsvc assumes posix
capabilities loaded
[ https://issues.apache.org/jira/browse/DAEMON-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466233 ]
Simone Piunno commented on DAEMON-24:
-------------------------------------
On my system it doesn't work despite the capability module being loaded.
pioppo@roentgen ~ $ uname -a
Linux roentgen 2.6.19-gentoo-r4 #1 PREEMPT Sun Jan 14 13:01:55 CET 2007 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
pioppo@roentgen ~ $ lsmod|grep capa
capability 4296 0
commoncap 5952 1 capability
in the errfile I get:
14/01/2007 00:42:58 31709 jsvc.exec error: syscall failed in set_caps
14/01/2007 00:42:58 31709 jsvc.exec error: set_caps(CAPS) failed
14/01/2007 00:42:58 31708 jsvc.exec error: Service exit with a return value of 4
I'm attaching a patch
> [daemon] jsvc assumes posix capabilities loaded
> -----------------------------------------------
>
> Key: DAEMON-24
> URL: https://issues.apache.org/jira/browse/DAEMON-24
> Project: Commons Daemon
> Issue Type: Bug
> Environment: Operating System: Linux
> Platform: PC
> Reporter: Michael Thome
>
> later versions of linux (e.g. 2.6.x) may have capability management configured
> as a module rather than compiled in. A LKML discussion is ongoing as to if this
> is a good idea or not, but the upshot is that jsvc will fail on capset if the
> kernel doesn't have the module loaded. I'd suggest a note in the release notes
> and/or linux faq section discussing the issue. I'd be happy to propose a doc patch
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org