Menu

#44 t0218a-pmil fails with aegis binary suid root.

open
nobody
None
5
2007-04-14
2007-04-14
No

Problem originally reported by Ralph Smith.

-------[ original report ]-------------------------
with the aegis binary suid-root, t0218a-pmil fails, claiming that the
state file is owned by a system UID (3) but should be owned by the user.
The same test works with no suid bit set for the aegis binary.

Discussion

  • R A Smith

    R A Smith - 2007-04-14

    Logged In: YES
    user_id=1734254
    Originator: NO

    Note that this bug applies to 4.22. It seems to have been fixed in 4.23 at some point, but I have not determined what changes correct it.

     
  • Walter Franzini

    Walter Franzini - 2007-04-16

    Logged In: YES
    user_id=117883
    Originator: YES

    I can reproduce the problem only when aegis and aelock has different execution permissions (eg aegis setuid root and aelock not).

    Is this your case ralph?

     
  • R A Smith

    R A Smith - 2007-04-16

    Logged In: YES
    user_id=1734254
    Originator: NO

    Ah yes, making aelock suid root does the trick. I think this requires a change in the makefile logic and the spec file. Of course, the reason it worked for my aegis-4.23 setup is that the latter is built by cook - which does include aelock in the list of suid files - whereas I built 4.22 from the tar distribution.

     

Log in to post a comment.

MongoDB Logo MongoDB