-
Notifications
You must be signed in to change notification settings - Fork 173
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
chtab try to access /etc/xcat/*.sqlite by its own, but this does not work for non-root users #5260
Comments
I forgot to mention the versions
|
Hi, @dhilst , for this case, you have to use the chtab is designed to work without passing xcatd, so it’s out of control of policy mechanism. @team, is possible can we remove
|
@cxhong Ohh, thanks for the answer! A better error message would be good! Cheers |
hi @cxhong ,where does the error message come from? |
@immarvin , the error messages come from |
hi @dhilst , the fix has been merged, would you please take a try ? thx |
@immarvin sure! Okay I got it:
Regards, |
ok @dhilst , thanks for your confirm. Let me close this ticket |
Hi everybody,
I was testing xCAT with non-root users. I followed the docs for setting up user certificates, etc.. So I fired a
chtab key=...
and got a timeout.After some digging, I found (with strace) that
chtab
was trying to open/etc/xcat/passwd.sqlite
by it's own and facing denied access. Bellow is the relevant strace lines... It try about 3 times, at each second, then it times out.As work around is possible to use
sudo /opt/xcat/sbin/chtab ...
ortabedit
that works fine with non-root users.Cheers,
The text was updated successfully, but these errors were encountered: