Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #194288

Re: changing local domain name

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: changing local domain name
Date 2018-03-30 04:10 +0200
Message-ID <vyREl-Db-3@gated-at.bofh.it> (permalink)
References <vyJdL-3IT-7@gated-at.bofh.it> <vyKCR-4t2-1@gated-at.bofh.it> <vyNU5-6F7-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu 29 Mar 2018 at 23:05:06 (+0100), Brian wrote:
> On Thu 29 Mar 2018 at 18:34:42 +0000, Curt wrote:
> 
> > On 2018-03-29, mick crane <mick.crane@gmail.com> wrote:
> > > following recent about hostname it seems I've been under 
> > > misunderstanding that ".local" was OK so now I change local domain to 
> > > ".home" .
> > > It's not just domainname and /etc/hosts. It's every frigging where.
> > > apache
> > > roundcube
> > > postfix
> > > now my ISP SMTP server is moaning.

Have you run
# dpkg-reconfigure exim4-config
yet? (Or equivalent for whatever's sending to it.)

> > > think I got them all except cups is unhappy, I don't know why.

Like exim, CUPS is more complicated as it works both ways. So it may
depend on whether you're running it as a server for a local printer
or a client for a networked printer. The latter has never caused me
any problem when changing the name of my domain. Howver, I haven't
done the former for about a decade, since my HP990 ran out of ink.
That might be more complicated, but I thought CUPS only needed
hostnames as it uses avahi (ie the "proper" use for .local).

> > There's actually a wiki on this:
> > 
> > https://wiki.debian.org/HowTo/ChangeHostname

I don't see the word "domain" on that page. But grepping for the
old name of the domain has never thrown up many references for me.
After all, software should be using getdomainname(), shouldn't it?

> > For cups you might look at 
> > 
> > /etc/printcap
> > 
> > the part after rm=
> >  rm=einstein
> >     ********
> 
> Whatever the OP's problem is (which he doesn't say) /etc/printcap will
> not solve it.
> 
> brian@desktop:~$ ls -l /etc/printcap
> lrwxrwxrwx 1 root root 22 Oct 13 13:31 /etc/printcap -> /var/run/cups/printcap
> 
> brian@desktop:~$ cat /etc/printcap | head -n 3
> # This file was automatically generated by cupsd(8) from the
> # /etc/cups/printers.conf file.  All changes to this file
> # will be lost.
> 
> https://debian-handbook.info/browse/stable/sect.config-printing.html
> 
> Bug#187954.

Yep, rebooting will recreate that file anyway, because /var/run is
just /run, and therefore ephemeral.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

changing local domain name mick crane <mick.crane@gmail.com> - 2018-03-29 19:10 +0200
  Re: changing local domain name Curt <curty@free.fr> - 2018-03-29 20:40 +0200
    Re: changing local domain name mick crane <mick.crane@gmail.com> - 2018-03-29 22:00 +0200
      Re: changing local domain name john doe <johndoe65534@mail.com> - 2018-03-30 08:10 +0200
        Re: changing local domain name David Wright <deblis@lionunicorn.co.uk> - 2018-03-30 18:20 +0200
          Re: changing local domain name john doe <johndoe65534@mail.com> - 2018-04-03 08:40 +0200
            Re: changing local domain name David Wright <deblis@lionunicorn.co.uk> - 2018-04-12 22:30 +0200
              Re: changing local domain name john doe <johndoe65534@mail.com> - 2018-04-13 13:30 +0200
                Re: changing local domain name Dan Purgert <dan@djph.net> - 2018-04-13 14:30 +0200
                Re: changing local domain name rhkramer@gmail.com - 2018-04-13 14:50 +0200
                Re: changing local domain name Dan Purgert <dan@djph.net> - 2018-04-13 15:10 +0200
                Re: changing local domain name David Wright <deblis@lionunicorn.co.uk> - 2018-04-13 16:10 +0200
    Re: changing local domain name Brian <ad44@cityscape.co.uk> - 2018-03-30 00:10 +0200
      Re: changing local domain name David Wright <deblis@lionunicorn.co.uk> - 2018-03-30 04:10 +0200
        Re: changing local domain name Curt <curty@free.fr> - 2018-03-30 10:40 +0200
          Re: changing local domain name Brian <ad44@cityscape.co.uk> - 2018-03-30 15:10 +0200
        Re: changing local domain name Brian <ad44@cityscape.co.uk> - 2018-03-30 20:30 +0200
          Re: changing local domain name David Wright <deblis@lionunicorn.co.uk> - 2018-03-31 04:20 +0200
            Re: changing local domain name Joe <joe@jretrading.com> - 2018-03-31 13:40 +0200
              Re: changing local domain name David Wright <deblis@lionunicorn.co.uk> - 2018-03-31 17:20 +0200
                Re: changing local domain name Gene Heskett <gheskett@shentel.net> - 2018-03-31 17:30 +0200
                Re: changing local domain name Joe <joe@jretrading.com> - 2018-03-31 20:50 +0200
                Re: changing local domain name David Wright <deblis@lionunicorn.co.uk> - 2018-04-03 00:10 +0200
                Re: changing local domain name Dan Purgert <dan@djph.net> - 2018-04-03 13:30 +0200

csiph-web