syspool hardcoded in apt-clone
Bug #305469 reported by
anilg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nexenta Operating System |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
root@kauai:
apt-clone.
root@kauai:
NAME USED AVAIL REFER MOUNTPOINT
tank 127G 102G 6.83G /tank
tank/users 108G 102G 18K none
tank/users/anil 100G 102G 18K none
tank/users/
tank/users/anil/src 100G 102G 100G /root/src
tank/users/
syspool is hardcoded, and thus apt-clone upgrade fails inside the zone (and apt-get upgrade wont work because of sunw* packages)
To post a comment you must log in.
Since apt-clone can not snapshot a zone filesystem from within a zone, this specific problem is not easily fixed. Currently to upgrade a zones core packages (sunwcakr/...) you have to manually set the apt-clone env var and run apt-get instead.
Workaround looks something like this (sorry for bash specifics):
export APT_CLONE_ENV=1
apt-get dist-upgrade
For apt-clone to work correctly on a zone it must be run outside of the zone.
Maybe this (or another) bug should be: apt-clone has no controls to upgrade (only) a non-global zone. That still doesn't help users that only have access to their own zones though.