all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@infotropique.org>
To: Thomas Danckaert <post@thomasdanckaert.be>
Cc: help-guix@gnu.org
Subject: Re: networkmanager hostname woes
Date: Sat, 16 Sep 2017 08:11:21 +0000	[thread overview]
Message-ID: <20170916081121.pi5glf55vie5ll6i@abyayala> (raw)
In-Reply-To: <20170916.085724.965729161976372490.post@thomasdanckaert.be>

[-- Attachment #1: Type: text/plain, Size: 2706 bytes --]

Thomas Danckaert transcribed 2.2K bytes:
> From: ng0 <ng0@infotropique.org>
> Subject: Re: networkmanager hostname woes
> Date: Fri, 15 Sep 2017 12:14:49 +0000
> 
> > Arun Isaac transcribed 0.8K bytes:
> > > 
> > > Thomas Danckaert writes:
> > > 
> > > > AFAIU, the cause is that networkmanager changes my hostname (after
> > > > DHCP?), in my case to “new-host2” or something similar, and this
> > > > seems to break the X session.  When I manually restore the
> > > hostname
> > > > with “sudo hostname <original-hostname>”, the problem is solved.
> > > Is
> > > > there anyway to disable this behaviour for networkmanager?
> > > 
> > > I have the exact same problem too. If somebody has a solution, I'd
> > > like
> > > to hear about it.
> > 
> > I don't understand your problem.
> 
> The problem is that changing the hostname after starting an X session,
> breaks that session.
> 
> > This is public documented behavior of NM.
> 
> Can you point me to the networkmanager documentation?

Not documented as in documentation, but that this is known by
other systems. I've never read the documentation of NM in all
the years I've known this.

> Could help to find a
> proper way to configure this (adding some configuration options to our
> networkmanager service perhaps).  I couldn't immediately find anything
> helpful.
> 
> > Assuming that we build networkmanager with dhclient option/configure:
> 
> seems like we do: the networkmanager package in in gnu/packages/gnome.scm
> has an option  (string-append "--with-dhclient=" dhclient)))
> 
> > add to /etc/dhcp/dhclient.conf:
> > 
> > send host-name "yourhostname";
> 
> I think some people prefer not to send their own hostname to any router they
> connect to (assuming that's what “send host-name” does :-) ).  Do you think
> creating /etc/hostname instead is not a good solution?
> 
> Thanks!
> 
> Thomas

I don't have any opinion or further help, I just shared what I know
hoping that it could maybe help with further decisions.

How is not sharing your hostname with any router you connect to
a privacy option?
Assuming you don't share it with your local router, looking just
at email it still ends up (in the default case, if not set to forget
on the server) with computers inbetween you, me and gnu.org and
everyone and their email servers. You just have to be aware that the
net is insecure and broken.
Of course we can have a default hostname.
And if /etc/hostname helps to solve the initial problem, go for it.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://krosos.org/dist/keys/
https://www.infotropique.org https://www.krosos.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-09-16  8:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-13 10:05 networkmanager hostname woes Thomas Danckaert
2017-09-13 17:01 ` Christopher Baines
2017-09-13 23:27 ` Arun Isaac
2017-09-14  6:38   ` Christopher Baines
2017-09-15 12:14   ` ng0
2017-09-15 12:34     ` ng0
2017-09-16  6:57     ` Thomas Danckaert
2017-09-16  8:11       ` ng0 [this message]
     [not found] ` <87h8w6ha74.fsf@gmail.com>
2017-09-14  7:50   ` Thomas Danckaert
2017-09-14  8:17 ` Ludovic Courtès
2017-09-15 10:12   ` Thomas Danckaert
2017-09-15 20:34     ` Ludovic Courtès
2017-09-16 12:03       ` [bug#28473] " Thomas Danckaert
2017-09-16 12:03         ` Thomas Danckaert
2017-09-19 12:06         ` [bug#28473] " Ludovic Courtès
2017-09-19 12:06           ` Ludovic Courtès
2017-09-19 18:13         ` bug#28473: (no subject) Thomas Danckaert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170916081121.pi5glf55vie5ll6i@abyayala \
    --to=ng0@infotropique.org \
    --cc=help-guix@gnu.org \
    --cc=post@thomasdanckaert.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.