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

Revert "[docker-mgmt-framework]: update mgmt framework docker to support sonic-cli cmd" #7880

Closed
wants to merge 1 commit into from

Conversation

renukamanavalan
Copy link
Contributor

Reverts #6148.

Causes debug build failure.

When building docker-sonic-mgmt-framework-dbg, openssl-client will be installed, it will add a group as below. During the docker build, the /host_etc does not exist.

johnar@0c7bd7e98baf:/sonic/dockers/docker-sonic-mgmt-framework$ grep openssh Dockerfile-dbg 
RUN apt-get update && apt-get install -f -y gdb gdbserver vim openssh-client sshpass strace

I have no name!@fd2a27db6a3c:/# /usr/sbin/groupadd -g 100 ssh
groupadd: cannot open /etc/group
I have no name!@fd2a27db6a3c:/#

I have no name!@fd2a27db6a3c:/# ls /etc/group -l
lrwxrwxrwx 1 0 0 15 Jun 14 10:08 /etc/group -> /host_etc/group


@renukamanavalan renukamanavalan requested a review from lguohan as a code owner June 15, 2021 18:04
@jeff-yin
Copy link
Collaborator

I don't understand how reverting #6148 fixes the issue described in the problem description.
If the problem is due to the fact that openssh-client is being installed, that installation was introduced by fc55329 which was merged last year. So what else changed recently?

@lguohan lguohan closed this Jun 23, 2021
@lguohan lguohan deleted the revert-6148-update-sonic-cli branch June 23, 2021 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants