Bug 855763
Summary: | /sandbox is not root owned for an old existing application | ||
---|---|---|---|
Product: | OKD | Reporter: | Jianwei Hou <jhou> |
Component: | Containers | Assignee: | Rob Millner <rmillner> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | mfisher |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-09-17 21:29:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jianwei Hou
2012-09-10 08:24:41 UTC
Release ticket updated with migration steps in comment #5. Verified this with work around script After upgrade, run: grep ':libra guest:' /etc/passwd | \ cut -f 1 -d : | \ while read dn; do \ t="/var/lib/stickshift/${dn}/.sandbox/${dn}"; \ mkdir -p "$t"; \ chown root:root "$t"; \ chmod 1755 "$t"; \ done to fix /sandbox ownership and migrate Then check applications of all cartridges, now /sandbox is root owned. [ruby19-234u.dev.rhcloud.com ~]\> ls -Zd /sandbox/ drwxr-xr-t. root root system_u:object_r:libra_tmp_t:s0:c0,c509 /sandbox/ |