[Bug 613216] [NEW] Cloud -- permission denied writing to /etc/eucalyptus/cloud.d/conf

C de-Avillez carlos.de.avillez at canonical.com
Tue Aug 3 22:49:48 BST 2010


Public bug reported:

For whatever reason, Eucalyptus tries, on start, to write a series of
.properties files under /etc/eucalyptus/cloud.d/conf. But, since we
install the whole /etc/eucalyptus under 'root', and the cloud runs under
'eucalyptus', every single try fails with a 'permission denied'.

This does not seem to be serious (but I really do not know -- yet--),
since Eucalyptus still seem to work.

Example messages:

12:57:43  INFO [Bootstrap:main] :1280854663673:Bootstrap:BOOTSTRAPPER_LOAD:SystemCredentialsInit:com.eucalyptus.auth.SystemCredentialProvider:SystemBootstrapper.load.128
12:57:43  INFO [Bootstrap:main] :1280854663931:Bootstrap:BOOTSTRAPPER_LOAD:SystemCredentialsInit:com.eucalyptus.configurable.PropertiesBootstrapper:SystemBootstrapper.load.128
12:57:43  WARN [ConfigurationProperties:main] java.io.FileNotFoundException: /etc/eucalyptus/cloud.d/conf/system.properties (Permission denied)
java.io.FileNotFoundException: /etc/eucalyptus/cloud.d/conf/system.properties (Permission denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
        at java.io.FileWriter.<init>(FileWriter.java:90)
        at com.eucalyptus.configurable.ConfigurationProperties.store(ConfigurationProperties.java:129)
        at com.eucalyptus.configurable.ConfigurationProperties.configure(ConfigurationProperties.java:31)
        at com.eucalyptus.configurable.ConfigurationProperties.doConfiguration(ConfigurationProperties.java:147)
        at com.eucalyptus.configurable.PropertiesBootstrapper.load(PropertiesBootstrapper.java:16)
        at com.eucalyptus.bootstrap.Bootstrap$Stage.load(Bootstrap.java:93)
        at com.eucalyptus.bootstrap.SystemBootstrapper.load(SystemBootstrapper.java:128)
12:57:43  WARN [ConfigurationProperties:main] Failed to save property set: system
java.io.FileNotFoundException: /etc/eucalyptus/cloud.d/conf/system.properties (Permission denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
        at com.eucalyptus.configurable.ConfigurationProperties.configure(ConfigurationProperties.java:73)
        at com.eucalyptus.configurable.ConfigurationProperties.doConfiguration(ConfigurationProperties.java:147)
        at com.eucalyptus.configurable.PropertiesBootstrapper.load(PropertiesBootstrapper.java:16)
        at com.eucalyptus.bootstrap.Bootstrap$Stage.load(Bootstrap.java:93)
        at com.eucalyptus.bootstrap.SystemBootstrapper.load(SystemBootstrapper.java:128)
12:57:43  WARN [ConfigurationProperties:main] java.io.FileNotFoundException: /etc/eucalyptus/cloud.d/conf/www.properties (Permission denied)
java.io.FileNotFoundException: /etc/eucalyptus/cloud.d/conf/www.properties (Permission denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
        at java.io.FileWriter.<init>(FileWriter.java:90)
        at com.eucalyptus.configurable.ConfigurationProperties.store(ConfigurationProperties.java:129)
        at com.eucalyptus.configurable.ConfigurationProperties.configure(ConfigurationProperties.java:31)
        at com.eucalyptus.configurable.ConfigurationProperties.doConfiguration(ConfigurationProperties.java:147)
        at com.eucalyptus.configurable.PropertiesBootstrapper.load(PropertiesBootstrapper.java:16)
        at com.eucalyptus.bootstrap.Bootstrap$Stage.load(Bootstrap.java:93)
        at com.eucalyptus.bootstrap.SystemBootstrapper.load(SystemBootstrapper.java:128)
12:57:43  WARN [ConfigurationProperties:main] Failed to save property set: www
java.io.FileNotFoundException: /etc/eucalyptus/cloud.d/conf/www.properties (Permission denied)


eucalyptus-cloud 2.0~bzr1211-0ubuntu1 eucalyptus install ok installed
eucalyptus-common 2.0~bzr1211-0ubuntu1 eucalyptus install ok installed
eucalyptus-java-common 2.0~bzr1211-0ubuntu1 eucalyptus install ok installed
eucalyptus-walrus 2.0~bzr1211-0ubuntu1 eucalyptus install ok installed
libeucalyptus-commons-ext-java 0.5.0-0ubuntu2 eucalyptus-commons-ext install ok installed
uec-component-listener 2.0~bzr1211-0ubuntu1 eucalyptus install ok installed

** Affects: eucalyptus (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Cloud -- permission denied writing to /etc/eucalyptus/cloud.d/conf
https://bugs.launchpad.net/bugs/613216
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list