Re: [gentoo-user] hostname service on lxc

2021-01-09 Thread Alarig Le Lay
Hi Nils, rc_sys from /etc/rc.conf is empty, but after removing -lxc from /etc/init.d/hostname the service is well started. Thanks! So, for the record: as112 ~ # grep rc_sys /etc/rc.conf #rc_sys="" as112 ~ # grep keyword /etc/init.d/hostname keyword -docker -lxc -prefix -systemd-nspawn

Re: [gentoo-user] hostname service on lxc

2021-01-09 Thread Nils Freydank
Hi Alarig, Am Samstag, den 09.01.2021 um 10:52:12 Uhr +0100 schrieb Alarig Le Lay : > Hi, > > OpenRC doesn’t take the hostname service service on LXC even if the > symlink exists: please take a look into /etc/rc.conf (key word rc_sys) and into the initscript /etc/init.d/hostname inside the

[gentoo-user] hostname service on lxc

2021-01-09 Thread Alarig Le Lay
Hi, OpenRC doesn’t take the hostname service service on LXC even if the symlink exists: as112 ~ # rc-status boot | grep hostname as112 ~ # file /etc/runlevels/boot/hostname /etc/runlevels/boot/hostname: symbolic link to /etc/init.d/hostname On a bare-metal box, the

Re: [gentoo-user] hostname problem : solved

2016-10-04 Thread William Hubbs
On Tue, Oct 04, 2016 at 11:19:33AM -0400, Philip Webb wrote: > 161004 Todd Goodman wrote: > > * Philip Webb [161003 20:04]: > >> there is also /etc/conf.d/hostname , > >> wh belongs to Openrc & contains 'hostname="localhost"'. > > recently a change -- to OpenRC, I

Re: [gentoo-user] hostname problem : solved

2016-10-04 Thread Philip Webb
161004 Todd Goodman wrote: > * Philip Webb [161003 20:04]: >> there is also /etc/conf.d/hostname , >> wh belongs to Openrc & contains 'hostname="localhost"'. > recently a change -- to OpenRC, I believe -- requires the line > in /etc/conf.d/hostname to have the

Re: [gentoo-user] hostname problem : solved

2016-10-04 Thread Todd Goodman
* Philip Webb [161003 20:04]: > 161002 Philip Webb wrote: > > 161002 Hinnerk van Bruinehsen wrote: > >> On Sun, Oct 02, 2016 at 07:41:48AM -0400, Philip Webb wrote: > >>> I did a big system update yesterday ( 52 pkgs ), incl Net-tools Dhcpcd , > >>> & on restarting today

Re: [gentoo-user] hostname problem : solved

2016-10-03 Thread Philip Webb
161002 Philip Webb wrote: > 161002 Hinnerk van Bruinehsen wrote: >> On Sun, Oct 02, 2016 at 07:41:48AM -0400, Philip Webb wrote: >>> I did a big system update yesterday ( 52 pkgs ), incl Net-tools Dhcpcd , >>> & on restarting today found that hostname is not being set : >> Check if

Re: [gentoo-user] hostname problem : solved

2016-10-02 Thread Philip Webb
161002 Hinnerk van Bruinehsen wrote: > On Sun, Oct 02, 2016 at 07:41:48AM -0400, Philip Webb wrote: >> I did a big system update yesterday ( 52 pkgs ), incl Net-tools Dhcpcd , >> & on restarting today found that hostname is not being set : >> >> root:505 etc> echo $HOSTNAME >> (none) >> >>

Re: [gentoo-user] hostname problem

2016-10-02 Thread Mick
On Sunday 02 Oct 2016 13:47:10 Hinnerk van Bruinehsen wrote: > On Sun, Oct 02, 2016 at 07:41:48AM -0400, Philip Webb wrote: > > I did a big system update yesterday ( 52 pkgs ), incl Net-tools Dhcpcd , > > > > & on restarting today found that hostname is not being set : > > root:505 etc> echo

Re: [gentoo-user] hostname problem

2016-10-02 Thread Hinnerk van Bruinehsen
On Sun, Oct 02, 2016 at 07:41:48AM -0400, Philip Webb wrote: > I did a big system update yesterday ( 52 pkgs ), incl Net-tools Dhcpcd , > & on restarting today found that hostname is not being set : > > root:505 etc> echo $HOSTNAME > (none) > > Previously it was 'localhost'. > > The problem

[gentoo-user] hostname problem

2016-10-02 Thread Philip Webb
I did a big system update yesterday ( 52 pkgs ), incl Net-tools Dhcpcd , & on restarting today found that hostname is not being set : root:505 etc> echo $HOSTNAME (none) Previously it was 'localhost'. The problem seems to be in /etc/init.d/hostname , as the init process reports :

[gentoo-user] hostname and domainname

2007-02-19 Thread Bayrouni
Hello all, cat /etc/conf.d.hostname # /etc/conf.d/hostname # Set to the hostname of this machine HOSTNAME=MYHOST and cat /etc/conf.d/domainname DNSDOMAIN=MYDOMAIN The hostname service is added to the /etc/init.d/ with rc-update, but the commande hostname give: #hostname MYHOST and # hostname

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Dale
Bayrouni wrote: Hello all, cat /etc/conf.d.hostname # /etc/conf.d/hostname # Set to the hostname of this machine HOSTNAME=MYHOST and cat /etc/conf.d/domainname DNSDOMAIN=MYDOMAIN The hostname service is added to the /etc/init.d/ with rc-update, but the commande hostname give:

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Etaoin Shrdlu
On Monday 19 February 2007 11:32, Bayrouni wrote: Hello all, cat /etc/conf.d.hostname # /etc/conf.d/hostname # Set to the hostname of this machine HOSTNAME=MYHOST and cat /etc/conf.d/domainname DNSDOMAIN=MYDOMAIN The hostname service is added to the /etc/init.d/ with rc-update, but

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Bayrouni
Etaoin Shrdlu a écrit : On Monday 19 February 2007 11:32, Bayrouni wrote: Hello all, cat /etc/conf.d.hostname # /etc/conf.d/hostname # Set to the hostname of this machine HOSTNAME=MYHOST and cat /etc/conf.d/domainname DNSDOMAIN=MYDOMAIN The hostname service is added to the

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Etaoin Shrdlu
On Monday 19 February 2007 12:12, Bayrouni wrote: I added this line in /etc/conf.d/net: dns_domain_lo=MY_DOMAIN I restarted the net.lo but still the same result: # domainname (none) # hostname and hostname -f MY_HOST My DNS server is running but it works only as dns cache server.

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Astolfo Bugatti
for apply the changes reboot your system!! On Mon, 19 Feb 2007 12:12:39 +0100 Bayrouni [EMAIL PROTECTED] wrote: Etaoin Shrdlu a écrit : On Monday 19 February 2007 11:32, Bayrouni wrote: Hello all, cat /etc/conf.d.hostname # /etc/conf.d/hostname # Set to the hostname of this

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Etaoin Shrdlu
On Monday 19 February 2007 12:23, Astolfo Bugatti wrote: for apply the changes reboot your system!! This is not windows. The /etc/hosts trick works as soon as you finish editing the file, without the need to restart anything. I guess other methods would require network restart, but definitely

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Bayrouni
Etaoin Shrdlu a écrit : On Monday 19 February 2007 12:12, Bayrouni wrote: I added this line in /etc/conf.d/net: dns_domain_lo=MY_DOMAIN I restarted the net.lo but still the same result: # domainname (none) # hostname and hostname -f MY_HOST My DNS server is running but it works

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Etaoin Shrdlu
On Monday 19 February 2007 12:46, Bayrouni wrote: Yes, after adding a.b.c.d myhost.my.domain myhost in /etc/hosts, hostname -- myhost and hostname -f -- myhost.my.domain :) but domainname -- (none) domainname does NOT show the DNS domain. Use dnsdomainname or domainname -d instead. --

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Bayrouni
Etaoin Shrdlu a écrit : On Monday 19 February 2007 12:46, Bayrouni wrote: but domainname -- (none) domainname does NOT show the DNS domain. Use dnsdomainname or domainname -d instead. All right. dnsdomainname and domainname -d --- myhost.my.domain Thanks again --

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Dale
Astolfo Bugatti wrote: for apply the changes reboot your system!! Reboot? This is Linux. There has to be another way to make it see the changes. Dale :-~ :-~ -- www.myspace.com/dalek1967 -- gentoo-user@gentoo.org mailing list

[gentoo-user] hostname

2006-08-28 Thread Arnau Bria
Hi, I know this is a recursive question, but this weekend I've been reisntalling a box, and, as I had some hostname problems, I decided to look for the definitive answer I did not find it. Finally, decided to set hostname and dnsdomainname in /etc/conf.d/ files. But with that set, hostname

[gentoo-user] hostname -d returns no domainname

2006-05-26 Thread Alexander Skwar
Hello! [EMAIL PROTECTED] ~ $ hostname -d [EMAIL PROTECTED] ~ $ cat /etc/conf.d/domainname # /etc/conf.d/domainname # When setting up resolv.conf, what should take precedence? # If you wish to always override DHCP/whatever, set this to 1. OVERRIDE=1 # To have a proper FQDN, you need to setup

Re: [gentoo-user] hostname -d returns no domainname

2006-05-26 Thread Etaoin Shrdlu
On Friday 26 May 2006 10:09, Alexander Skwar wrote: Hello! [EMAIL PROTECTED] ~ $ hostname -d [EMAIL PROTECTED] ~ $ cat /etc/conf.d/domainname # /etc/conf.d/domainname # When setting up resolv.conf, what should take precedence? # If you wish to always override DHCP/whatever, set this to 1.

Re: [gentoo-user] hostname -d returns no domainname

2006-05-26 Thread Neil Bothwick
On Fri, 26 May 2006 10:09:27 +0200, Alexander Skwar wrote: # To have a proper FQDN, you need to setup /etc/hosts and /etc/resolv.conf # properly (domain entry in /etc/resolv.conf, and FQDN in /etc/hosts). What do these files contain? -- Neil Bothwick UNIX is the OS of the future and

Re: [gentoo-user] hostname -d returns no domainname

2006-05-26 Thread Bo Ørsted Andresen
Friday 26 May 2006 10:46 skrev Etaoin Shrdlu: I seem to remember that this was somehow related to /etc/hosts, look: # cat /etc/hosts Changing: 10.0.0.10  mybox   mybox.my.domain to: 10.0.0.10  mybox.my.domain   mybox has just solved this issue for me. :) Thanks! Don't know whether dhcp

DNSDOMAIN in /etc/conf.d/domainname has no effect? (was: [gentoo-user] hostname -d returns no domainname)

2006-05-26 Thread Alexander Skwar
Bo Ørsted Andresen wrote: Friday 26 May 2006 10:46 skrev Etaoin Shrdlu: I seem to remember that this was somehow related to /etc/hosts, look: # cat /etc/hosts Changing: 10.0.0.10 mybox mybox.my.domain to: 10.0.0.10 mybox.my.domain mybox has just solved this issue for me. :)

Re: DNSDOMAIN in /etc/conf.d/domainname has no effect? (was: [gentoo-user] hostname -d returns no domainname)

2006-05-26 Thread Zac Slade
On Friday 26 May 2006 08:25, Alexander Skwar wrote: Bo Ørsted Andresen wrote: Friday 26 May 2006 10:46 skrev Etaoin Shrdlu: I seem to remember that this was somehow related to /etc/hosts, look: # cat /etc/hosts Changing: 10.0.0.10 mybox mybox.my.domain to: 10.0.0.10

[gentoo-user] hostname

2005-06-05 Thread smoke3
Hi guys, suppose you lost /bin/hostname... what could you do in order to make it available again? Is it contained in such a package? Can i get it downloaded from such a mirror? Thanks in advance! S.G. -- You can't learn what you think you know. -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] hostname

2005-06-05 Thread CABILLOT Julien
i'm not sure, but try to re-emerge baselayout Le dimanche 05 juin 2005 à 10:53 +0200, smoke3 a écrit : Hi guys, suppose you lost /bin/hostname... what could you do in order to make it available again? Is it contained in such a package? Can i get it downloaded from such a mirror? Thanks

Re: [gentoo-user] hostname

2005-06-05 Thread Zac Medico
--- smoke3 [EMAIL PROTECTED] wrote: Hi guys, suppose you lost /bin/hostname... what could you do in order to make it available again? You can use equery from the gentoolkit package: equery belongs /bin/hostname sys-apps/net-tools Zac

Re: [gentoo-user] hostname

2005-06-05 Thread smoke3
On 6/5/05, Zac Medico [EMAIL PROTECTED] wrote: --- smoke3 [EMAIL PROTECTED] wrote: Hi guys, suppose you lost /bin/hostname... what could you do in order to make it available again? You can use equery from the gentoolkit package: equery belongs /bin/hostname

Re: [gentoo-user] hostname

2005-06-05 Thread Neil Bothwick
On Sun, 5 Jun 2005 11:26:42 +0200, smoke3 wrote: for CABILLOT: I don't like re-emerging baselayout: I took a look onto the .ebuild and I suppose it'll do a mess on my /etc/init.d Only if you have added /etc/init.d to CONFIG_PROTECT_MASK or select the press 5 to break everything option in

Re: [gentoo-user] hostname

2005-06-05 Thread Volker Armin Hemmann
On Sunday 05 June 2005 11:26, smoke3 wrote: for CABILLOT: I don't like re-emerging baselayout: I took a look onto the .ebuild and I suppose it'll do a mess on my /etc/init.d However, TNX!! and? what is the problem? /etc/init.d is nothing where a user has something to change/edit/do.

Re: [gentoo-user] hostname

2005-06-05 Thread smoke3
On 6/5/05, Volker Armin Hemmann [EMAIL PROTECTED] wrote: On Sunday 05 June 2005 11:26, smoke3 wrote: for CABILLOT: I don't like re-emerging baselayout: I took a look onto the .ebuild and I suppose it'll do a mess on my /etc/init.d However, TNX!! and? what is the problem?