Summary: | Ut2004 ebuild assigns wrong KDE menu entry | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | André Terpstra <andre> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | VERIFIED INVALID | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Console output from within KDE |
Description
André Terpstra
2004-12-03 01:09:28 UTC
You need to add yourself to the games group and log in again. the ut2400 wrapper is installed in /usr/games/bin which will then be in your path. I may be missing your point or otherwise doing something wrong. I have a very simple setup, only user "root". To be sure, I added root to the games group, but /usr/games/bin still isn't in my path, see attachment. Created attachment 45198 [details]
Console output from within KDE
The file /usr/games/bin/ut2004 does exist and executes correctly, it's just the path that is missing. Have you logged out and back in? Group changes do not take affect on currently-logged in consoles. Also, you should *never* run as root. Yes I've redone the login and it doesn't help. I probably can tell you why: bash-2.05b# echo $PATH /usr/kde/3.3/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.2.01/bin:/opt/blackdown-jdk-1.4.2.01/jre/bin:/usr/qt/3/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin bash-2.05b# I don't quite understand your second remark. It's up to me to choose how to protect my system isn't it? If the ebuild cannot be installed as root, tell me. Finally, can we please leave this bug open until it's clear where one of us wrong? This constant "invalid" setting gets on my nerves... what you see if a feature, not a bug root users shouldnt be playing games, thus we dont add /usr/games/bin/ to the default PATH for the root user if you wish to play games as root, add /usr/games/bin to your PATH in your config files also, there's no reason to be rude, the bug is closed because the behavior you're seeing is correct and what you think you want is INVALID for default settings You are wrong. This bug is INVALID. You are not using the system as it was intended. The path for games is added to PATH, not to ROOTPATH. This bug is 100% INVALID simply because you are not working with the syste as it was intended. If you wish to use the system outside of our intention, there is nothing stopping you from doing so, but do not expect us to provide you support. Good day. I may have to apologize. I did not want to be rude, and reading back I can only remember feeling a bit irritated because I felt I wasn't taken seriously. But, not being a native English speaker my wording apparently came out wrong. After all I created another user which I made a member of the games group and indeed for that user the PATH variable does contain the /usr/games/bin path. So it appears everything is as you said. I only ask: how could I know? However, if you feel uncomfortable with my remarks, there's no need to answer. Well, during the installation, the Handbook[1] told you to create a user account. There are reasons for this besides security. The games team, using proper Linux behavior, sets up everything for non-root accounts. We take security very seriously. As I stated before, we build the system with the assumption that you will be following the Handbook and have no way to support when you do not. If you do not follow our instructions, then you simply cannot expect everything to work. There are no hard feelings, you just have to realize that we see hundreds and thousands of bugs. I can't even tell you how many times we have had this "problem" come up, so when we mark a bug as INVALID, it is because the bug is, in fact, invalid. [1]http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=11 |