cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Angus (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8812) CentOS 7 - systemd-tmpfiles - Operation not permitted
Date Thu, 15 Oct 2015 14:28:05 GMT

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

Paul Angus commented on CLOUDSTACK-8812:
----------------------------------------

I've think that I've got it...

I have edited /usr/lib/systemd/system/cloudstack-management.service
to how it appears in 4.5.1:
[Service]
Type=forking
ExecStartPre=/usr/bin/systemd-tmpfiles --create
ExecStart=/usr/sbin/cloudstack-management start
ExecStop=/usr/sbin/cloudstack-management stop
SuccessExitStatus=143
User=cloud
Group=cloud
EnvironmentFile=/etc/sysconfig/cloudstack-management

I've put back the following files which are in 4.5 but not 4.6:
/usr/sbin/tomcat.sh
/usr/sbin/cloudstack-management

and also 
/etc/cloudstack/management/server-nonssl.xml
/etc/cloudstack/management/tomcat6-nonssl.conf
(tomcat6-ssl.conf is not present in /etc/cloudstack/management/ either, I suspect that it
should be)

I then successfully run cloudstack-setup-management

CloudStack started and initialized. The API and UI respond OK

I'm not sure where the references to these files were removed from to create a PR, there may
be other files missing that haven't affected me yet. (finding where/why they were removed
post 4.5.1 might answer that).

> 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, 4.6.0
>         Environment: KVM VM / CentOS Linux release 7.1.1503 (Core)
>            Reporter: Sven Vogel
>            Priority: Blocker
>
> 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)

Mime
View raw message