t0218a-pmil fails with aegis binary suid root.
Brought to you by:
pmiller
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.
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.
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?
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.