-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[image]: add --numeric_owner to perserve the original owner of the for docker filesystem #626
Conversation
installer/x86_64/install.sh
Outdated
@@ -385,6 +385,7 @@ if [ "$install_env" != "sonic" ]; then | |||
} | |||
else | |||
demo_mnt="/host" | |||
TAR_EXTRA_OPTION="--numeric-owner" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason to confine this option only to the SONiC-to-SONiC upgrade installation? I believe it should be safe for the ONIE install, as well. In fact, it's probably safer to use it on all installs. I can test an ONIE install using it just to confirm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
onie is using another version of tar which does not support this option, but it works so it must using uid/gid by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ONIE versions installed on our dev devices are using BusyBox tar v1.20.2 which supports the option, however it is not listed in the help menu. See https://github.com/mozilla-b2g/busybox/blob/master/archival/tar.c#L796
…net#626) teammgrd will monitor configuration changes in CFG_LAG_TABLE_NAME and CFG_LAG_MEMBER_TABLE_NAME. It supports creation/removal of LAGs as well as membership changes of the LAG members. Signed-off-by: Shu0T1an ChenG <[email protected]>
No description provided.