On 21 Dec 2010, at 11:21, Chris Curtis wrote:
> Hi -
>
> We're running glite-CREAM.x86_64-3.2.8-2.sl5 on an SL5.3 VM with kernel 2.6.18-194.26.1.el5xen.
>
> I get no error messages from yaim when I reconfigure. However, when I try and glite-ce-job-submit from our UI, I get the error message:
>
> 2010-12-21 11:10:01,811 FATAL - MethodName=[jobRegister] Timestamp=[Tue 21 Dec 2010 11:10:01] ErrorCode=[0] Description=[system error] FaultCause=[cannot create the job's working directory! [failure reason = ">>> /etc/sudoers: syntax error near line 11 <<<"] [exit code = 1]]
>
> If I try and sudo a user on the CE, I get the error message:
>
> /etc/sudoers: syntax error near line ... (lots of lines reported)
>
> There is a backup sudoers file, which fixes the problem if I use that instead.
>
> Is there a known problem with running yaim on this version of Cream? How can I make sure that the sudoers file is generated properly?
We had a problem with that when we upgraded from 3.2.7 to 3.2.8
The crucial line in /etc/sudoers is:
#include /etc/sudoers.forcream
other than that the rest of the file is your own.
Previous versions used to (I believe) put all the Cream related stuff into the file directly, and I suspect (but haven't done any more than muse) that the problem we had with the upgrade was that the list of users for cream changed, and YAIM couldn't undo the damage it did to the sudoers files.
We have a working cream CE with the following /etc/sudoers file (3 lines, although we have a few more comments in there):
# User privilege specification
root ALL=(ALL) ALL
#include /etc/sudoers.forcream
Of course, if the developers would actually design configuration, and document it, rather than relying on some obscure and opaque YAIM incantations, I might not have to guess so much.
|