Issue #3837 has been updated by Martin Englund.

Category set to Solaris
Status changed from Unreviewed to Investigating
Assigned to set to Martin Englund


----------------------------------------
Bug #3837: Could not install zone: Execution of '/usr/sbin/zoneadm -z myzone 
install' returned 1: /zones/myzone must not be group readable
http://projects.puppetlabs.com/issues/3837

Author: Lars Tobias Skjong-Børsting
Status: Investigating
Priority: Normal
Assigned to: Martin Englund
Category: Solaris
Target version: 
Affected version: 0.25.4
Keywords: 
Branch: 


/zones/myzone is created with the wrong mode on Solaris 10.
<pre>
class myzone {
    $zonename = 'myzone'
    $physical = 'e1000g100000'
    $ip = "$physical:1.2.3.4"
    $realhostname = "$zonename.mydomain.com"

    zfs {
        "blade-zpool-002/$zonename":
            ensure => present,
            mountpoint => "/zones/$zonename";
    }

    zone {
        $zonename:
            path => "/zones/$zonename",
            ip => "$ip",
            realhostname => "$realhostname",
            sysidcfg => template('zone/sysidcfg-solaris10'),
            require => Zfs["blade-zpool-002/$zonename"];
    }
}</pre>
<pre>err: //zone::myzone/Zone[myzone]/ensure: change from absent to running 
failed: Could not install zone: Execution of '/usr/sbin/zoneadm -z myzone 
install' returned 1: /zones/myzone must not be group readable.
/zones/myzone must not be group executable.
/zones/myzone must not be world readable.
/zones/myzone must not be world executable.
could not verify zonepath /zones/myzone because of the above errors.
zoneadm: zone myzone failed to verify</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to