Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105024 - fixing prompts frenzy
Summary: fixing prompts frenzy
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Łukasz Damentko (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-06 08:23 UTC by Łukasz Damentko (RETIRED)
Modified: 2006-05-15 10:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xorg-config.xml.patch (xorg-config.xml.patch,768 bytes, patch)
2005-09-06 08:24 UTC, Łukasz Damentko (RETIRED)
Details | Diff
guide-localization.xml.patch (guide-localization.xml.patch,643 bytes, patch)
2005-09-06 08:45 UTC, Łukasz Damentko (RETIRED)
Details | Diff
dri-howto.xml.patch (dri-howto.xml.patch,1.20 KB, patch)
2005-09-06 08:48 UTC, Łukasz Damentko (RETIRED)
Details | Diff
guide-to-mutt.xml.patch (guide-to-mutt.xml.patch,2.29 KB, patch)
2005-09-06 09:14 UTC, Łukasz Damentko (RETIRED)
Details | Diff
nx-guide.xml.patch (nx-guide.xml.patch,642 bytes, patch)
2005-09-06 09:17 UTC, Łukasz Damentko (RETIRED)
Details | Diff
guide-localization.xml.patch (guide-localization.xml.patch,677 bytes, patch)
2006-01-05 11:07 UTC, nm (RETIRED)
Details | Diff
dri-howto.xml.patch (dri-howto.xml.patch,1.28 KB, patch)
2006-01-05 11:12 UTC, nm (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Damentko (RETIRED) gentoo-dev 2005-09-06 08:23:42 UTC
Here I will post patches to files which need prompt fixing. Happy squashing. :)
Comment 1 Łukasz Damentko (RETIRED) gentoo-dev 2005-09-06 08:24:41 UTC
Created attachment 67740 [details, diff]
xorg-config.xml.patch

All three, cat mouse, man and startx should be run as user.
Comment 2 Łukasz Damentko (RETIRED) gentoo-dev 2005-09-06 08:45:02 UTC
Created attachment 67743 [details, diff]
guide-localization.xml.patch

This time guide localization, setting up fonts for terminals in X should be
done as normal user. People are told that it needs be done in home dir so
there's no need to additional info to login as normal user.
Comment 3 Łukasz Damentko (RETIRED) gentoo-dev 2005-09-06 08:48:35 UTC
Created attachment 67744 [details, diff]
dri-howto.xml.patch

dri-howto fix, X should be run as normal user, all glxinfo and glxgears tests
should be also done that way, adding info about logging in as normal user.
Comment 4 Xavier Neys (RETIRED) gentoo-dev 2005-09-06 08:51:19 UTC
Comment on attachment 67740 [details, diff]
xorg-config.xml.patch

You're confusing users.
1) emerge X as root
2) run man as a user (because for some reason it's not safe to run man as
root?)
3) become root again...
4) change again...
Comment 5 Łukasz Damentko (RETIRED) gentoo-dev 2005-09-06 09:14:40 UTC
Created attachment 67745 [details, diff]
guide-to-mutt.xml.patch

All the fetchmail and mutt configuration is done as normal user in his home
dir.
Comment 6 Łukasz Damentko (RETIRED) gentoo-dev 2005-09-06 09:17:40 UTC
Created attachment 67746 [details, diff]
nx-guide.xml.patch

If we wanted users to run nxclient in xterm as root we would have to introduce
whole xhost thing to them before...
Comment 7 Shyam Mani (RETIRED) gentoo-dev 2005-09-09 02:52:09 UTC
Do we start implementing this?
Comment 8 Shyam Mani (RETIRED) gentoo-dev 2005-09-09 03:31:19 UTC
My plate is almost empty... :)
Comment 9 Shyam Mani (RETIRED) gentoo-dev 2005-12-15 23:37:31 UTC
Lukasz, Status update? Or shall we put this baby to sleep? :)
Comment 10 Łukasz Damentko (RETIRED) gentoo-dev 2005-12-16 01:29:20 UTC
Status update? Sir, yes sir:

All the patches should go in. 

In guide localization, commands i've changed prompts for should be run from 
normal user account, as it's an user who's going to use them. 
In dri-howto, we suggest running X as a root - and it's certainly not the best 
idea.
In guide-to-mutt i'd like to change whole philosophy of a doc and setup a mail 
for normal user account instead of a root. Well, another good idea. 
nx-guide patch is just a touch up in this useless doc and changes nothing, as 
noone likes or reads the doc anyway. :)
Comment 11 nm (RETIRED) gentoo-dev 2006-01-05 11:07:18 UTC
Created attachment 76252 [details, diff]
guide-localization.xml.patch

This is a replacement patch for the original guide-localization patch. This uses the latest version of the doc in CVS (1.25).

Also, I took care of the dri-howto patch over on bug 116506. Note that that fix is dependent on the modifications in that bug being accepted, as well. :)
Comment 12 nm (RETIRED) gentoo-dev 2006-01-05 11:12:50 UTC
Created attachment 76253 [details, diff]
dri-howto.xml.patch

Used the latest available version of dri-howto.xml for the patch. Does _not_ depend on the version sitting in bug 116506.
Comment 13 nm (RETIRED) gentoo-dev 2006-05-13 12:42:35 UTC
Comment on attachment 76253 [details, diff]
dri-howto.xml.patch

Fixed the referenced bug in the previous comment, so this patch isn't valid anymore.
Comment 14 nm (RETIRED) gentoo-dev 2006-05-14 04:09:05 UTC
Comment on attachment 67744 [details, diff]
dri-howto.xml.patch

See previous comment.
Comment 15 nm (RETIRED) gentoo-dev 2006-05-15 05:46:46 UTC
Everything's fixed in CVS!
Comment 16 Łukasz Damentko (RETIRED) gentoo-dev 2006-05-15 10:36:23 UTC
So it's FIXED. Thank you very much. :)