On Sun, 29 Apr 2001 at 10:59am (-0600), Otto Lenz wrote:
> Whether I login as 'user', or login as root and then 'su user' in a terminal
> window, the results are the same. As root, the game/program runs fine; as
> 'user' I get the segmentation fault. The results are the same whether in
> Gnome or KDE.
>
> If I login to the console (I assumed that meant w/o running startx first?) -
> as 'user', I get the segmentation fault error; as 'root', I get 'Couldn't
> initialize SDL: No available video device' - which seems to make sense since
> the program/game requires the graphical interface?
>
> Does that help?
>
I'm not familiar with it but is the maelstrom binary suid? If it's using
some sort of wrapper script with a LD_PRELOAD variable to load up some
private libraries and the actual binary is suid than that variable would be
ignored when run by a user. So it might be loading up system libraries of
the right type but wrong version. That's one possibility anyway. Of course
it could be a more straight forward permissions problem, like it tries to
read a config file but as a user that failes but it doesn't check the return
code so crashes. Try running it under strace and look for failed sys calls
or other differences between running as root and a regular user?
M.
--
WebCentral Pty Ltd Australia's #1 Internet Web Hosting Company
Level 1, 96 Lytton Road. Network Operations - Systems Engineer
PO Box 4169, East Brisbane. phone: +61 7 3249 2500
Queensland, Australia. pgp key id: 0x900E515F
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list