Skip to content
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

Merged
merged 2 commits into from
May 24, 2017

Conversation

lguohan
Copy link
Collaborator

@lguohan lguohan commented May 24, 2017

No description provided.

@@ -385,6 +385,7 @@ if [ "$install_env" != "sonic" ]; then
}
else
demo_mnt="/host"
TAR_EXTRA_OPTION="--numeric-owner"
Copy link
Contributor

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.

Copy link
Collaborator Author

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.

Copy link
Contributor

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

@lguohan lguohan merged commit 0104dbb into sonic-net:master May 24, 2017
@lguohan lguohan deleted the tar branch November 6, 2017 04:33
madhanmellanox pushed a commit to madhanmellanox/sonic-buildimage that referenced this pull request Mar 23, 2020
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants