-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
sudo
version 1.8.30 behave change which breaks harbor service after password expired
#11633
Comments
By the way, |
Did you change the root password before? Harbor doesn't set a password expiration time, I think it's OS default value |
It's os default behave, but harbor choose to use photon as base image. Note info in reproduce use harbor official image |
re-open to make sure the fix is cherry picked to 1.10.x |
I have solve it like this: My solution:
And it will work !!! |
Issue I described is how to confirm and reproduce it, for anyone who want to know how to fix it, you can try the following options: First, wait for the official The fix is very simple, just one line change in dockerfile, So you can build a new image with this fix yourself. If it's hard for you to build a harbor-log image, you can reset password and fix it in your current harbor-log container, commit it as a new image, save it use it instead. Note that Hopes it will help. |
Hi @ijumps, will this issue affect users who are running docker and docker-compose with root user? |
@piyush94 It matters for all users in |
Hi guys, |
If you are reporting a problem, please make sure the following information are provided:
Expected behavior and actual behavior:
harbor-log set a 90 days to expire its password,
sudo-1.8.20p2-6.ph2.x86_64
will ok to runsudo -u \#10000 -E 'rsyslogd' '-n'
, butsudo-1.8.30-2.ph2.x86_64
will require a password change.Steps to reproduce the problem:
For old harbor image:
For recent harbor image:
Versions:
Please specify the versions of following systems.
Note
I just test harbor-log image, this may affect other harbor images as well.
Additional context:
harbor.yml
and files in the same directory, including subdirectory./var/log/harbor/
.The text was updated successfully, but these errors were encountered: