LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-25-2008, 07:52 AM   #1
kramed
Member
 
Registered: Feb 2007
Location: Peterborough, Ontario, Canada
Distribution: Fedora 8
Posts: 36

Rep: Reputation: 15
Path changed, I cant find where the problem is


For some reason my path has a problem. I did not change anything that would affect all users PATHs so I believe it started after a yum upgrade.

Using default /etc/profile and /etc/bashrc I get the following errors on login:

sh: grep: command not found
sh: gzip: command not found
Bad Character Height 0

Very strange. I added a couple pathmunge calls to add usr/bin and bin to my path but it seems these are executed late in the login process, they have no effect until after the user is logged in. Then life appears as usual.

Now I am fairly new to Fedora. I came from Slackware where the problem would be easy to spot and solve but this script nonsense in Fedora is garbage. The login process seems over complicated.

Can someone point me in the direction to solve my problem? In which order are scripts executed in a login sequence? All processes that start on boot start properly and this problem happens for all users including root. Is there an RPM I can reinstall that will reset all these configs to their default in case one of them somehow got modified?

Thanks in advance
 
Old 03-25-2008, 09:08 AM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
do you always post your question on fedora's forum and here?
http://forums.fedoraforum.org/showth...057#post985057
 
Old 03-25-2008, 02:05 PM   #3
kramed
Member
 
Registered: Feb 2007
Location: Peterborough, Ontario, Canada
Distribution: Fedora 8
Posts: 36

Original Poster
Rep: Reputation: 15
Wow, how incredibly helpful. You should be proud after a find like that.
 
Old 03-27-2008, 01:25 PM   #4
simplicissimus
Registered User
 
Registered: Mar 2008
Posts: 104

Rep: Reputation: 15
very strange

Your home directory has a few hidden files related logins and accounts, like .bash_history .bash_logout .bash_profile .bashrc and I would start out checking if their contents have been changed or contain unusual settings. The /etc based files are only used when these files are not present or when new home directories and users are created (maybe one problem is copied with each new user).

I'm using Fedora since release 1 on a whole bunch of PC's but your problem appears to be quite unusual and unique. I wouldn't agree to call this a typical Fedora problem or even saying that upgrading did something. I was able to upgrade a Fedora 1 system up to Fedora 8 using 'yum upgrade' without such mysteries.

And by the way, use .bash_profile to set your PATH in a persistant way.

Error messages like
Code:
sh: grep: command not found
sh: gzip: command not found
Bad Character Height 0
are extremely uncommon, I've never run into these. Are grep and gzip otherwise functional?

Unfortunately I'm not much of a help on this topic, but in all honesty you didn't provide a lot of information to start out with.

The best I can say is that your problem is very unique, though this probably will not make you happy.

Regards,
SIMP

Fedora User

Last edited by simplicissimus; 04-02-2008 at 05:04 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
path of mailbox in sendmail can be changed or not dhanju Linux - Networking 1 09-28-2005 09:17 AM
find: . changed during execution of find suse degraffenried13 Linux - General 3 12-12-2004 07:13 PM
Changed modems: eth0 cant find IP address suggardaddy4242 Linux - Newbie 2 09-09-2004 11:45 AM
changed the login shell in /etc/passwd to the wrong path infamous41md Solaris / OpenSolaris 3 07-03-2004 07:32 PM
Can't find Qt Path Luantum Slackware 2 11-12-2003 08:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration