public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Minor nitpicks
@ 2001-05-12 10:01 Collins Richey
  2001-05-12 10:27 ` Achim Gottinger
  0 siblings, 1 reply; 9+ messages in thread
From: Collins Richey @ 2001-05-12 10:01 UTC (permalink / raw
  To: gentoo

Just some minor nitpicks.

1. hostname always returns (none) on my system.  How to fix?

2. The PS1 prompt works if I login from console, but in an x
terminal window it doesn't (just bash2.04 displayed at the
prompt).  How to fix?

-- 
Collins Richey
Denver area
gentoo system



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Minor nitpicks
  2001-05-12 10:01 [gentoo-dev] Minor nitpicks Collins Richey
@ 2001-05-12 10:27 ` Achim Gottinger
  2001-05-12 10:58   ` Collins Richey
  0 siblings, 1 reply; 9+ messages in thread
From: Achim Gottinger @ 2001-05-12 10:27 UTC (permalink / raw
  To: gentoo-dev

Collins Richey wrote:
> 
> Just some minor nitpicks.
> 
> 1. hostname always returns (none) on my system.  How to fix?
> 
yeah, I had the same problem here, it worked after remerging
sys-apps/net-tools.
I found a problem in the yp-tools package, it installed
ypdomainname,nisdomainname and domainname.
All those files still existed and where hardlinks to hostname coming
from net-tools. I fixed yp-tools
today. But also I found another hostname binary in /usr/bin. I'm not
sure where this is coming from, I can't find
it in the package database, so it must be a buggy install function in
one of our 600 packages :(. I will find it.
remove that binary(/usr/bin/hostname) manually please
> 2. The PS1 prompt works if I login from console, but in an x
> terminal window it doesn't (just bash2.04 displayed at the
> prompt).  How to fix?
Change the #!/bin/sh line to #!/bin/sh --login
in the windomanager wrappers in /usr/X11R6/bin/wm/.
For  KDE edit /opt/kde2.1/bin/startkde.

bye achim~

BTW: I made a package for sylpeed and configured qmail as my local
mailserver. Receiving mail works no matter what settings I use in
/etc/hosts for
both the IP and the hostname. What mail server are you using?


> 
> --
> Collins Richey
> Denver area
> gentoo system
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://www.gentoo.org/mailman/listinfo/gentoo-dev



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Minor nitpicks
  2001-05-12 10:27 ` Achim Gottinger
@ 2001-05-12 10:58   ` Collins Richey
  2001-05-12 11:03     ` Daniel Robbins
                       ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Collins Richey @ 2001-05-12 10:58 UTC (permalink / raw
  To: gentoo-dev

On Sat, 12 May 2001 17:57:14 +0200 AGottinger@t-online.de (Achim Gottinger)
wrote:

> Collins Richey wrote:
> > 
> > Just some minor nitpicks.
> > 
> > 1. hostname always returns (none) on my system.  How to fix?
> > 
> yeah, I had the same problem here, it worked after remerging
> sys-apps/net-tools. I found a problem in the yp-tools package, it 
> installed ypdomainname,nisdomainname and domainname.
> All those files still existed and where hardlinks to hostname 
> coming from net-tools. I fixed yp-tools today. But also I found 
> another hostname binary in /usr/bin. remove that binary
> (/usr/bin/hostname) manually please

I rm'd it, but still no hostname.

> > 2. The PS1 prompt works if I login from console, but in an x
> > terminal window it doesn't (just bash2.04 displayed at the
> > prompt).  How to fix?
> Change the #!/bin/sh line to #!/bin/sh --login
> in the windomanager wrappers in /usr/X11R6/bin/wm/.

I did this, but still no pormpt in terminal under xfce

> For  KDE edit /opt/kde2.1/bin/startkde.
> 

Also done, but haven't tried it yet.

> BTW: I made a package for sylpeed and configured qmail as my 
> local mailserver. Receiving mail works no matter what settings 
> I use in /etc/hosts for both the IP and the hostname. What mail 
> server are you using?

I don't use qmail or procmail or sendmail; sylpheed is my pop3
mail retriever.  I doubt that this problem is anything you are
concerned with.  I'm on @home.com and they use 'mail' as the
retrieving and sending addresses.  I probably need to start using
their DNS server again.  Using the ip address is fine most of the
time, but occasionally they link 'mail' to a different ip address 
(doing maintenance, I presume).

-- 
Collins Richey
Denver area
gentoo system



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Minor nitpicks
  2001-05-12 10:58   ` Collins Richey
@ 2001-05-12 11:03     ` Daniel Robbins
  2001-05-12 12:32       ` Collins Richey
  2001-05-12 11:15     ` Achim Gottinger
  2001-05-12 12:27     ` Collins Richey
  2 siblings, 1 reply; 9+ messages in thread
From: Daniel Robbins @ 2001-05-12 11:03 UTC (permalink / raw
  To: gentoo-dev

On Sat, May 12, 2001 at 11:06:02AM -0600, Collins Richey wrote:

> > yeah, I had the same problem here, it worked after remerging
> > sys-apps/net-tools. I found a problem in the yp-tools package, it installed
> > ypdomainname,nisdomainname and domainname.  All those files still existed
> > and where hardlinks to hostname coming from net-tools. I fixed yp-tools
> > today. But also I found another hostname binary in /usr/bin. remove that
> > binary (/usr/bin/hostname) manually please

> I rm'd it, but still no hostname.

Collins, you should expect to have problems until you back up your important data
and reinstall Gentoo Linux with the "p" option.  Make sure that /etc/hostname and
most other things in /etc are world-readable (except for /etc/shadow).

Again, I recommend a reinstall at this point, since it's hard to tell whether
these bugs are problems with Gentoo Linux itself or just a side-effect of your
permissions problem.

Best Regards,

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Minor nitpicks
  2001-05-12 10:58   ` Collins Richey
  2001-05-12 11:03     ` Daniel Robbins
@ 2001-05-12 11:15     ` Achim Gottinger
  2001-05-12 14:44       ` Collins Richey
  2001-05-12 12:27     ` Collins Richey
  2 siblings, 1 reply; 9+ messages in thread
From: Achim Gottinger @ 2001-05-12 11:15 UTC (permalink / raw
  To: gentoo-dev

Collins Richey wrote:
> 
> On Sat, 12 May 2001 17:57:14 +0200 AGottinger@t-online.de (Achim Gottinger)
> wrote:
> 
> > Collins Richey wrote:
> > >
> > > Just some minor nitpicks.
> > >
> > > 1. hostname always returns (none) on my system.  How to fix?
> > >
> > yeah, I had the same problem here, it worked after remerging
> > sys-apps/net-tools. I found a problem in the yp-tools package, it
> > installed ypdomainname,nisdomainname and domainname.
> > All those files still existed and where hardlinks to hostname
> > coming from net-tools. I fixed yp-tools today. But also I found
> > another hostname binary in /usr/bin. remove that binary
> > (/usr/bin/hostname) manually please
> 
> I rm'd it, but still no hostname.

Remerge sys-apps/net-tools and reboot, that must work

> 
> > > 2. The PS1 prompt works if I login from console, but in an x
> > > terminal window it doesn't (just bash2.04 displayed at the
> > > prompt).  How to fix?
> > Change the #!/bin/sh line to #!/bin/sh --login
> > in the windomanager wrappers in /usr/X11R6/bin/wm/.

Hrm, I only tested that for gnome and assumen it works for other wm's.
But now it even don't works under gnome. But the kde fix works.
> 
> I did this, but still no pormpt in terminal under xfce
> 
> > For  KDE edit /opt/kde2.1/bin/startkde.
> >
> 
> Also done, but haven't tried it yet.
> 

achim~

> 
> --
> Collins Richey
> Denver area
> gentoo system
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://www.gentoo.org/mailman/listinfo/gentoo-dev



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Minor nitpicks
  2001-05-12 10:58   ` Collins Richey
  2001-05-12 11:03     ` Daniel Robbins
  2001-05-12 11:15     ` Achim Gottinger
@ 2001-05-12 12:27     ` Collins Richey
  2001-05-12 12:49       ` Achim Gottinger
  2 siblings, 1 reply; 9+ messages in thread
From: Collins Richey @ 2001-05-12 12:27 UTC (permalink / raw
  To: gentoo-dev

On Sat, 12 May 2001 11:06:02 -0600 Collins Richey <erichey2@home.com>
wrote:

> On Sat, 12 May 2001 17:57:14 +0200 AGottinger@t-online.de (Achim
> Gottinger)
> wrote:
> 
> > Collins Richey wrote:
> > > 
> > > Just some minor nitpicks.
> > > 
> > > 1. hostname always returns (none) on my system.  How to fix?
> > > 
> > yeah, I had the same problem here, it worked after remerging
> > sys-apps/net-tools. I found a problem in the yp-tools package, it 
> > installed ypdomainname,nisdomainname and domainname.
> > All those files still existed and where hardlinks to hostname 
> > coming from net-tools. I fixed yp-tools today. But also I found 
> > another hostname binary in /usr/bin. remove that binary
> > (/usr/bin/hostname) manually please
> 
> I rm'd it, but still no hostname.
> 
> > > 2. The PS1 prompt works if I login from console, but in an x
> > > terminal window it doesn't (just bash2.04 displayed at the
> > > prompt).  How to fix?
> > Change the #!/bin/sh line to #!/bin/sh --login
> > in the windomanager wrappers in /usr/X11R6/bin/wm/.
> 
> I did this, but still no pormpt in terminal under xfce
> 
> > For  KDE edit /opt/kde2.1/bin/startkde.
> > 
> 
> Also done, but haven't tried it yet.
> 

Also did startx and startxfce.  None of these --login changes has any
effect.

-- 
Collins Richey
Denver area
gentoo system



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Minor nitpicks
  2001-05-12 11:03     ` Daniel Robbins
@ 2001-05-12 12:32       ` Collins Richey
  0 siblings, 0 replies; 9+ messages in thread
From: Collins Richey @ 2001-05-12 12:32 UTC (permalink / raw
  To: gentoo-dev

On Sat, 12 May 2001 11:02:36 -0600 Daniel Robbins <drobbins@gentoo.org>
wrote:

> On Sat, May 12, 2001 at 11:06:02AM -0600, Collins Richey wrote:
> 
> > > yeah, I had the same problem here, it worked after remerging
> > > sys-apps/net-tools. I found a problem in the yp-tools package, it
> installed
> > > ypdomainname,nisdomainname and domainname.  All those files still
> existed
> > > and where hardlinks to hostname coming from net-tools. I fixed
> yp-tools
> > > today. But also I found another hostname binary in /usr/bin. remove
> that
> > > binary (/usr/bin/hostname) manually please
> 
> > I rm'd it, but still no hostname.
> 
> Collins, you should expect to have problems until you back up your
> important data
> and reinstall Gentoo Linux with the "p" option.  Make sure that
> /etc/hostname and
> most other things in /etc are world-readable (except for /etc/shadow).
> 
> Again, I recommend a reinstall at this point, since it's hard to tell
> whether
> these bugs are problems with Gentoo Linux itself or just a side-effect of
> your
> permissions problem.
> 

Backing up important things is no problem, but reinstalling Gentoo linux
and getting the minimum things I need to run xfce, kde, and sylpheed is
about a 24 hour compile process on my 300Mz machine!

I have a spare partition, and I'll try the snapshot install again and
compare the permissions.

-- 
Collins Richey
Denver area
gentoo system



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Minor nitpicks
  2001-05-12 12:27     ` Collins Richey
@ 2001-05-12 12:49       ` Achim Gottinger
  0 siblings, 0 replies; 9+ messages in thread
From: Achim Gottinger @ 2001-05-12 12:49 UTC (permalink / raw
  To: gentoo-dev

Collins Richey wrote:
> 
> On Sat, 12 May 2001 11:06:02 -0600 Collins Richey <erichey2@home.com>
> wrote:
> 
> > On Sat, 12 May 2001 17:57:14 +0200 AGottinger@t-online.de (Achim
> > Gottinger)
> > wrote:
> >
> > > Collins Richey wrote:
> > > >
> > > > Just some minor nitpicks.
> > > >
> > > > 1. hostname always returns (none) on my system.  How to fix?
> > > >
> > > yeah, I had the same problem here, it worked after remerging
> > > sys-apps/net-tools. I found a problem in the yp-tools package, it
> > > installed ypdomainname,nisdomainname and domainname.
> > > All those files still existed and where hardlinks to hostname
> > > coming from net-tools. I fixed yp-tools today. But also I found
> > > another hostname binary in /usr/bin. remove that binary
> > > (/usr/bin/hostname) manually please
> >
> > I rm'd it, but still no hostname.
> >
> > > > 2. The PS1 prompt works if I login from console, but in an x
> > > > terminal window it doesn't (just bash2.04 displayed at the
> > > > prompt).  How to fix?
> > > Change the #!/bin/sh line to #!/bin/sh --login
> > > in the windomanager wrappers in /usr/X11R6/bin/wm/.
> >
> > I did this, but still no pormpt in terminal under xfce
> >
> > > For  KDE edit /opt/kde2.1/bin/startkde.
> > >
> >
> > Also done, but haven't tried it yet.
> >
> 
> Also did startx and startxfce.  None of these --login changes has any
> effect.

Yeah it only works for kde.

I don't think you must reinstall, we fixed all permission problems. The
ones left are outstanding bugs in the
distro.
I dunno what I did beside the --login thing to get my prompt on all the
wm's yesterday. I will find a fix in the next days.
Did remerging net-tools and removing /usr/bin/hostname solve your
hostname problem?

bye achim~

> 
> --
> Collins Richey
> Denver area
> gentoo system
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://www.gentoo.org/mailman/listinfo/gentoo-dev



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Minor nitpicks
  2001-05-12 11:15     ` Achim Gottinger
@ 2001-05-12 14:44       ` Collins Richey
  0 siblings, 0 replies; 9+ messages in thread
From: Collins Richey @ 2001-05-12 14:44 UTC (permalink / raw
  To: gentoo-dev

On Sat, 12 May 2001 18:44:56 +0200 AGottinger@t-online.de (Achim Gottinger)
wrote:

> Collins Richey wrote:
> > But also I found
> > > another hostname binary in /usr/bin. remove that binary
> > > (/usr/bin/hostname) manually please
> > 
> > I rm'd it, but still no hostname.
> 
> Remerge sys-apps/net-tools and reboot, that must work
> 

I tried ebuild net-tools-1.59.ebuild remerge, but I got
	!!!please enter a valid command

So I tried ebuild net-tools-1.59.ebuild merge, and that completed
successfully, but hostname (/bin/hostname) still returns (none).


-- 
Collins Richey
Denver area
gentoo system



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-05-12 20:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-12 10:01 [gentoo-dev] Minor nitpicks Collins Richey
2001-05-12 10:27 ` Achim Gottinger
2001-05-12 10:58   ` Collins Richey
2001-05-12 11:03     ` Daniel Robbins
2001-05-12 12:32       ` Collins Richey
2001-05-12 11:15     ` Achim Gottinger
2001-05-12 14:44       ` Collins Richey
2001-05-12 12:27     ` Collins Richey
2001-05-12 12:49       ` Achim Gottinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox