DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installed the latest debian lxqt bookworm 12 distribution.
Same problem again.
I must set kernel.hostname in sysctl.conf, then in bashrc to write
sudo sysctl --system -p.
However, even sometimes, the hostname goes back to "easy" for unknown reasons.
Sadly, it is populated in a lot of files. Especially in .Xauthority that creates the following problems:
"invalid magic number", "problems to open display :0".
So, I tried to report the bug in debian bug tracker using sysctl package.
But it is said unknown package.
How i can properly report this problem to debian devs?
What package i must use?
Try altering the contents of /etc/hostname to be a single line with your desired new hostname. Then reboot.
Quoting myself: "why debian set hostname to easy?". `kernel.hostname=easy`.
Hostname has my NAME, not "easy" name. Nothing to do there.
I have found as i described a temporary solution.
It is a bug of debian. How i can report it this to debian bug report system?
What package to put as bug? sysctl? hostname or other?
HOSTNAMECTL(1) hostnamectl HOSTNAMECTL(1)
NAME
hostnamectl - Control the system hostname
SYNOPSIS
hostnamectl [OPTIONS...] {COMMAND}
DESCRIPTION
hostnamectl may be used to query and change the system hostname and related settings.
You may expect your bug report to be designated invalid.
I have 4 machines both physical and virtual running latest stable and none of them have your problem. Are they standalone and not part of a domain etc?
FYI: none of my Debian machines exhibit this problem. I doubt it is the Debian install that is caused the symptoms, and if that is correct it is not something the Debian team can address in the software.
please check your file, and tell me what do you see in your machines.
in file: /var/lib/dhcp/dhclient.enp3s0.leases
in the line `option host-name "easy.box";` before .box what it writes? your hostname or another?
It seems, that in latest debian distribution, somehow this line it cannot modified with any proper command like eg. hostname, or even sysctl exept aftermath but in every boot, its there.
The file "dhclient.enp3s0.leases" is created from what application/package?
The leases file is basically a log of valid dhcp leases from the DHCP server created by dhclient. Of the two debian 12 systems I just checked Network Manager is the DHCP client not dhclient.
The option host-name in the leases file indicates the router is sending the hostname to the client. This is why I asked if you have a address reservation in the router for this PC.
what means an address reservation in the router for this PC? How i can check that? i go to 192.168.2.1 and i enter router. then? can you send some relevant screenshot?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.