[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14745788#comment-14745788
 ] 

Sven Vogel commented on CLOUDSTACK-8812:
----------------------------------------

Yes. I think it's the fact that the cloud user is used. Every time you call a 
systemd-tmpfiles --create it looks in the folder for the service Config files 
and want to recreate the information of them e.g. /var/run/.... Problem, only 
root have this rights for any folders to do that. So I added that 
"PermissionsStartOnly=true"

With these command we get for a moment the needed rights. 



> CentOS 7 - systemd-tmpfiles - Operation not permitted
> -----------------------------------------------------
>
>                 Key: CLOUDSTACK-8812
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8812
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Install and Setup
>    Affects Versions: 4.5.2
>         Environment: KVM VM / CentOS Linux release 7.1.1503 (Core)
>            Reporter: Sven Vogel
>
> installation of the shapeblue upstream 4.5.2 repository. setup of the 
> database works. when i start the  service with systemctl start 
> cloudstack-management.service i get the following error.
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd[1]: Starting CloudStack 
> Management Server...
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/var/run/netreport) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/dev/net) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/dev/mapper) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/dev/vfio) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/dev/snd) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/lock) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/lock/subsys) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/lock/lockdev) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/var/run/setrans) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/lock/lvm) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/lvm) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/var/run/console) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/var/run/faillock) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/var/run/sepermit) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/var/run/ppp) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/var/lock/ppp) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/user) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: Failed to 
> create file /var/log/wtmp: Permission denied
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: Failed to 
> create file /var/log/btmp: Permission denied
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/systemd/ask-password) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/systemd/seats) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/systemd/sessions) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/systemd/users) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/systemd/machines) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/systemd/shutdown) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/log/journal) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/log/journal/9b4671a20660436c8068d4f91eea0c1d) failed: Operation 
> not p
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/tmp) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/var/tmp) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: Failed to 
> create file /var/run/tomcat.pid: Permission denied
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/run/tuned) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/tmp/.X11-unix) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/tmp/.ICE-unix) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/tmp/.XIM-unix) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/tmp/.font-unix) failed: Operation not permitted
> Sep 04 17:14:34 cloudstack01.oscloud.local systemd-tmpfiles[5519]: 
> chmod(/tmp/.Test-unix) failed: Operation not permitted
> i dont know whats wrong....



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to