LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 04-06-2005, 10:33 AM   #1
fdt93
LQ Newbie
 
Registered: Apr 2005
Distribution: LFS 9.1 / BLFS 9.1
Posts: 17

Rep: Reputation: 1
Question Question about Bash startup scripts in BLFS 6


I am in the process of installing BLFS 6.0 over LFS 6.0.

Whenever I log in as a regular user or root, the following errors show up (as /etc/profile is processed):

- /etc/profile/tinker-term.sh not a directory
- /etc/profile/xterm-titlebars.sh not a directory.

I've double checked the contents of these scripts and found no typos. I've double-checked the section of /etc/profile that runs the scripts in the /etc/profile.d directory. I've double checked the permissions on these scripts and they match the permissions on each of the other scripts in the profile.d directory. All the other *.sh scripts in the /etc/profile.d directory run just fine except these two.

I'm stumped.

Anyone have any ideas?

-fdt93
 
Old 04-06-2005, 06:29 PM   #2
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
Post your /etc/profile plz.
 
Old 04-08-2005, 10:08 AM   #3
fdt93
LQ Newbie
 
Registered: Apr 2005
Distribution: LFS 9.1 / BLFS 9.1
Posts: 17

Original Poster
Rep: Reputation: 1
Lightbulb figured it out.

It turns out the problem was not in /etc/profile.

I forgot that /etc/bashrc sourced the tinker-term and xterm-titlebars scripts. I had missed the ".d" in the path in the source commands.

Correcting the mis-typed paths in bashrc fixed the problem.
 
  


Reply



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
bash scripts hoffmanyew Programming 3 08-11-2005 01:27 AM
Question on Bash Scripts Magsol Linux - General 9 06-08-2005 07:36 PM
$? in Bash scripts clinton Linux - Newbie 4 02-20-2004 11:15 AM
The wide world of scripts run at startup, big question here SrConchiwa Linux - General 5 07-18-2003 08:09 AM
BLFS question crippler909 Linux From Scratch 1 06-08-2003 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:07 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