I plan to upgrade a server from Debian stretch to buster. Having read
the release notes I wonder what's the best way to avoid the new scheme
of unpredictable network interface names.
I don't care what PCI bus and what slot my NICs are attached to, I
don't want to learn and don't want to have to r
Greg Wooledge writes:
> On Mon, Aug 30, 2021 at 04:41:55PM -0400, Dan Ritter wrote:
> > Steve Keller wrote:
> > > I plan to upgrade a server from Debian stretch to buster. Having read
> > > the release notes I wonder what's the best way to avoid the new schem
Greg Wooledge writes:
> On Tue, Aug 31, 2021 at 12:27:57AM +0300, IL Ka wrote:
> > >
> > > This gives unpredictable results if the system has more than one
> > > ethernet interface, or more than one wireless interface.
> > >
> > > It's fine on systems that have 0-1 ethernet and 0-1 wireless NICs.
Roberto C. Sánchez writes:
> Since nobody else has mentioned this link, here is where I recommend you
> start: https://wiki.debian.org/NetworkInterfaceNames
Oh, that's what I meant by "wiki" in my posts. Sorry, I should have
given the URL. It's linked from the buster release-notes in section
5
With DHCP I can tell a host the DNS server and the domain name of the
network, which is then stored to /etc/resolv.conf. But how can I add
a list a domain names that should be searched when resolving a host
name?
AFAICS, there is no option in DHCP to provide the search list. So the
questions is,
I see that on my Debian systems there is a user group "users" with GID 100,
but by default no user gets added to it. So what is the purpose or reason
to have it?
>From old Unix installations I know the group "users" which every user was
a member of, by default.
Steve
"Markus Schönhaber" wrote:
> > AFAICS, there is no option in DHCP to provide the search list.
>
> From dhcp-options(5):
>
> >option domain-search domain-list;
> >
> > The domain-search option specifies a ´search list´ of Domain
> > Names to be used by the client
"Roberto C. Sánchez" wrote:
> New users have gid 100 set as their primary group by default. So, new
> users are members of the group without having to be added to the group
> in /etc/groups.
Hmm, at least not on two Debian systems (stretch and bullseye), I have
running here:
# cat /etc/debian_
I try to execute foreign binaries with qemu-user on a Debian
buster/amd64 system.
Just for the fun (and somewhat checking of portability of some
programs) I have installed numerous cross-compilers for the following
systems:
m68k-linux-gnu mips64-linux-gnuabi64powerpc-linux-gnu
arm
When booting with GRUB, normally the menu showing several kernel
versions and/or kernel command lines appears to choose from. If no
selection is made within a few seconds (default is 5s IIRC), the
default entry is booted.
I'd prefer to be dropped into the GRUB command line instead of that
menu.
Brian writes:
> > I'd prefer to be dropped into the GRUB command line instead of that
> > menu. But still I'd like to have the timeout after which a default
> > entry is boot if no command is entered at the prompt.
>
> You want GRUB's normal operation but, at the same time, you want GRUB
> to f
David Wright writes:
> So on the odd occasion, you turn on the machine and, at a mininum, are
> about to type in some commands to boot the machine manually. And then
> you might even log in. Having to type /one/ keystroke at the start is
> just too much.
>
> Is that what you're really saying?
No
On debian bullseye I have installed GCC but don't find any manual page.
What am I missing?
Steve
On Debian stretch I have installed the cvs2cl package. In buster
and bullseye it seems to be missing. Very sad :(
Steve
I upgraded a Debian machine from stretch to bullseye and see
a change of the IP address of a ethernet bridge interface.
The bridge has a physical LAN interface as one fixed bridge port
and additional ports for kvm virtual machines I may start.
Before the upgrade the bridge interface got its MAC a
Steve McIntyre writes:
> In my experience, the bridge may end up advertising the MAC of any/all
> of the underlying interfaces, and that behaviour can be racy
> sometimes. I noticed locally that *sometimes* I'd lose IPv6
> connectivity from my workstation when I started bridge VMs. Eventually
> I
The Perl module Time::HiRes in Debian stretch does support nanosecond
resolution for stat() but not for utime(), although Linux has the
utimensat() system call providing that function.
$ cat /etc/debian_version
9.9
$ perl -e "use Time::HiRes qw(stat);"
$ perl -e "use Time::HiRes qw
Zdenek Kabelac wrote:
> Wow :) where you've been hiding for last ~15 years when format V2 exists ;)
> V1 is considered obsolete for very looong time and it's been even dropped
> from support from version 2.03.
That server has indeed been set up rougly 15 years ago. And until
now, we had no need
Is there any tool in Debian that is able to change the timestamp in
video files, e.g. .mov, .avi, .mp4, etc.?
For image files I use jhead -ta but I haven't found
anything for video.
Steve
What are best practices to create a remote terminal? I see to ways:
Create a local terminal emulator and run ssh to the remote host in
that or call ssh to run the terminal emulator on the remote host,
i.e.
xterm -e ssh -X or ssh -X xterm -ls
What are pros and cons? I see one: Th
Sorry for coming back so late, I was very busy the last few weeks.
Anders Andersson writes:
> On Wed, Apr 29, 2020 at 4:17 PM David Wright wrote:
> >
> > On Wed 29 Apr 2020 at 13:16:17 (+0200), Anders Andersson wrote:
> > > On Wed, Apr 29, 2020 at 12:54 PM elvis wrote:
> > > > On 29/4/20 8:29
Debian uses some long (more than 8 chars) user and group names which I
don't particularly like, e.g.
systemd-timesync
systemd-network
Debian-exim
messagebus
telnetd-ssl
This is annoying with ps(1) which abbreviates these names. For more
than 20 years I have always limited use
Dan Purgert writes:
> No, package management doesn't touch usernames. They're kept as a
> reference so that when you look at a logfile (etc.) that's still owned
> by that UID, you'll get the username instead of just an ID number.
Well, the package management *does* create users and groups when
For some retro feeling I grabbed my old modem and attached it to the
phone line. Minicom and dial-out work but now I'd like to allow
dial-in with a getty waiting on the line.
Systemd has a serial-getty@ service which uses agetty but that doesn't
work. It seems agetty is just not suited for that jo
Dan Ritter wrote:
> agetty needs '-L never' to answer a modem; the modem may need an
> --init-string to be told to answer incoming calls. Have you done
> both of those?
I had tried -Lnever and it just causes a message in /var/log/auth.log
Dec 7 05:02:17 bit agetty[1555324]: invalid argument of
On Nov 26, I upgraded a Raspberry 4 from buster to bullseye using the
standard procedure of edit /etc/apt/sources.list and then apt-get
update && apt-get dist-upgrade. Everything went fine, it ran stable
for some days and one annoying bug in the openbox window manager
occured less often.
On Dec 1
Is it possible to configure systemd to *not* start services in
parallel? I'd prefer deterministic boot with readable boot
messages. With parallel start, messages of different services get
intermingled and it's much more difficult to identify possible
problems.
Steve
Could someone please explain how library version numbers, shared object
names (SONAME), and symbol version are used in Debian?
I have a problem with libcurl.so.4 and a binary linked against it. In
Debian stretch I have the package libcurl3 installed and can run a
binary (I have no source code for
I have a RAID1 array with 2 disks (/dev/sda1 and /dev/sdb1) of 2 TB
each. By running mdadm -X /dev/sda1 I see that the chunk size is 64 MB:
# mdadm -X /dev/sda1
Filename : /dev/sda1
Magic : 6d746962
Version : 4
UUID : 300551ed:f6690dfb:1c939898:af5509c6
Events : 257
I have a couple of questions concerning the host protected area (HPA)
on SATA disks. All the following is no problem with my Linux system,
I just want to understand things:
1. My two Seagate Barracuda 2 TB disks were not bought as part of a
completely installed computer but separately as singl
Since quite a long time the Linux kernel prints log messages about
processes that cause a segmentation fault, but it has not always
been that way (Linux 2.x, maybe also 3.x versions, AFAIR).
On a multi-user system, where users develop & debug software it is
annoying for the admin to see all these
When calling update-grub, it scans all devices for operating systems
to put into the GRUB config. It even mounts all block devices to do
the scan. I'd like to avoid this and let it scan only a number of
configured directories, in my case only /boot. Scanning all devices
is annoying because
* al
When calling LVM commands it seems they all scan all disks for
physical volumes. This is annoying because it spins up all disks that
are currently idle and causes long delays to wait for these disks to
come up. Also, I don't understand why LVM commands scan the disks so
often since the informatio
On 15 Dec 2017 at 13:42, Brian wrote:
> Purge os-prober.
Thanks, that's exactly what I was looking for.
Steve
On Wed, Dec 20, 2017 at 02:17:59PM +1100, Igor Cicimov wrote:
> Look at filter examples in /etc/lvm/lvm.conf
That's not what I'm looking for. I *do* have LVM physical and logical
volumes on most of my drives, e.g. a volume group on my backup drive.
And I want an explicit call to vgscan to find
I often use jhead to examine EXIF headers in JPG files from my digital camera
and I also use jhead to fix EXIF time stamps in those files.
But what I'm looking for is an equivalent tool for AVI and MOV movie files
which I also get from my cameras. Most important would be to be able to change
the
I have upgraded from bullseye to bookworm and it seems the package usrmerge is
installed forcedly now. At least it has been installed and I haven't been
asked about it :-(
I have always been sceptical about /usr merge, since all binaries now appear in
two places, "type sh" in bash gives the st
I've always thought, that a package's dependencies must be full-filled
to install that package and that apt-get automatically manages these
dependencies. And also, that if I remove a package, that all other
packages are removed, that depend on it. Like this:
# aptitude purge bind9-libs
T
Greg Wooledge writes:
> Package: sysvinit-utils
> [...]
> Provides: lsb-base (= 11.1.0)
>
> When you remove the physical lsb-base package, the virtual package
> provided by sysvinit-utils remains, to satisfy the dependencies of
> ntpsec, rsync, etc.
OK, that explains, why lsb-base can be removed
Which tools read /etc/ethers, what do they expect in there, what do
they do with the contents? Is it only used to show names to a user or
take names from a user instead of MAC addresses, like in tcpdump?
The Linux man page says the entries in /etc/ethers should be numeric
IP addresses or names wh
Can I run a container for a different CPU architecture using
systemd-nspawn? I can easily install on my amd64 host a Debian
container of the same architecture and run that:
# debootstrap stable deb12-amd64
# systemd-nspawn -D deb12-amd64
and get a shell running in that container. I can also
"Markus Schönhaber" writes:
> No. systemd-nspawn does indeed simply run a container. You can think of
> that as a chroot on steroids. This means, everything inside the
> container is run using the host kernel. Or to put it the other way
> round: what the host kernel can't execute won't run.
Actua
"Tim Woodall" writes:
> Don't know about systemd-nspawn but I do something like this using
> unshare, binfmt-support and qemu-user-static.
>
> I don't have to do anything at all other than create the file system
> with the emulated architecture and then chroot into it with those
> packages instal
Is there a config option in libc, the host name resolver or somewhere
else to show hostnames in my own domain without the full domain name?
E.g. when I have the domain "my.domain" I want that string to stripped
off from all hostnames shown. Usually, tools always show the FQDN:
foo:~ $ cat /et
In older Debian releases, I think at least until Debian 9, it was
possible to access PVs and LVs which are stored in a LV. The PV
inside the containing LV could be displayed and activated with
vgdisplay(8) and vgchange(8).
This scenario makes sense if you have a LV for a VM guest, that uses
LVM i
Dan Ritter writes:
> Does it work without the -6 option?
No, the same problem. And ntpq shows that IPv6 is also used, when -6
isn't given. But, my NTP server is used by other hosts in the network
and that works fine.
> Does it work if you bring back the pool servers?
Yes, it does. I get man
This is on a Raspberry Pi 3 with Raspberry Pi OS Bookworm 64 Bit,
ie. Debian 12. I have uninstalled systemd-timesyncd and installed
ntpsec, then have commented out the 4 NTP servers
{0,1,2,3}.debian.pool.ntp.org, and instead added my own server with
server -6 my-ntp.my-domain
When I call ntpda
Tim Woodall writes:
> In the default, iscsi, md, lvm, ext2 do not keep this information. Don't
> know if it's configurable sonewhere but I suspect not. Don't know about
> btrfs.
>
> Some of this data is cached, but not between reboots.
I have played a bit and it seems for ext4 and btrfs they kee
Many thanks to Urs and George.
> In Debian 12 the default /etc/ntpsec/ntp.conf file contains the lines
>
> # Comment this out if you have a refclock and want it to be able to
> discipline
> # the clock by itself (e.g. if the system is not connected to the network).
> tos minclock 4 minsane
Tim Woodall writes:
> On Mon, 16 Sep 2024, Steve Keller wrote:
>
> > I don't see how this can be done in the current Debian 12.
> Not sure because I've previously battled the opposite problem but I'd
> start here in lvm.conf
>
>
I'd like to understand some technical details about how fstrim, file
systems, and block devices work.
Do ext4 and btrfs keep a list of blocks that have already been reported as
unused or do they have to report all unused blocks to the block device
layer everytime the fstrim command is issued?
Doe
51 matches
Mail list logo