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
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
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
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
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
* 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
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
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)
>>
>>
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
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
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 :
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
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:
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
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
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.
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
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
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
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.
--
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
--
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
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
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
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.
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
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
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. :)
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
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
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
--- 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
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
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
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.
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?
36 matches
Mail list logo