New answers tagged

0 votes

apt full-upgrade Debian 11 to Debian 12: Errors were encountered while processing: linux-headers-6.1.0-20-amd64

The solution was: apt-get remove dkms apt-get install dkms
Oleg Neumyvakin's user avatar
2 votes

Mail stuck in exim queue for no reason?

I too have this problem with mailing output from systemd jobs, so thought I should ask if there is a proper solution. It is disappointing so find out it is several years old and still persists. ...
Rebecka's user avatar
  • 231
-1 votes

Debian software RAID1 is not working when I remove hard drive

HERE YOU HAVE SOLUTION!: https://std.rocks/gnulinux_mdadm_uefi.html All important information about how to make working software RAID1 on linux!
Witold Wiśniewski's user avatar
0 votes
Accepted

SSH login fails with "Permission denied" error after upgrading Debian from Bullseye to Bookworm

The issue might stem from outdated or misconfigured AppArmor profiles, affecting the sshd process in Debian Bookworm. To fix it: Verify AppArmor's status with aa-status. If sshd is in "enforce&...
Gush's user avatar
  • 101
1 vote
Accepted

Local WireGuard responing to a SSH TCP SYN to a wrong interface

The solution was the question was: # Mark incoming SYN packets and save the mark in the connection iptables -t mangle -A PREROUTING -p tcp --syn -j CONNMARK --set-mark 1 # Restore the mark to outgoing ...
J.Valášek's user avatar
1 vote
Accepted

How to see actual size of tcp send and receive buffers?

Direct answer to this question: run ss -im dst destination.ipv4.address.here and check skmem rb value (full receive buffer size) and rcv_space value (receiving window). The application buffer size is ...
ValdikSS's user avatar
  • 331
0 votes

How do clients select the DNS record from multiple DNS responses?

In addition to @Zac67's answer, a list of of addresses are returned to the client. In theory, they can prioritise & and go through the entire list and see what works. In practice, much software ...
Bib's user avatar
  • 224
3 votes

How do clients select the DNS record from multiple DNS responses?

An IPv4-only client only looks for the A record(s). Likewise, an IPv6-only client looks for the AAAA records exclusively. A dual-stack client requests both and might prioritize one over the other or ...
Zac67's user avatar
  • 11.7k
0 votes

Debian 12: Particular VM no longer boots properly

A few good folks at Debian's Sub-Reddit kindly steered me towards the cause of the problem. It appears that the boot process is not properly mounting LVM volumes. This is causing the "/var" ...
Adambean's user avatar
  • 154
1 vote

How to configure Docker permissions for container to write to a volume as a non-root user?

My understanding is that the corresponding user inside and outside the container should automatically match up but that does not appear to be happening. Your understanding is incorrect. If you want a ...
larsks's user avatar
  • 44.9k
3 votes

setup NTP debian

NTP does not use or affect time zones - internally, the Linux kernel and NTP daemons all use UTC. Time zones must be set on each system individually.
Paul Gear's user avatar
  • 4,507
0 votes

security.debian.org 'does not have a Release file' on with Debian Docker images

From debian.org... (replace "stretch" with your current running version). Erase the other lines that look similar, then apt-get update and apt-get upgrade. deb http://archive.debian.org/...
user2860427's user avatar
0 votes

Check if package exists in repository that is not on my sources.list?

Got some external help - unless there is a better way, of course # Download the Packages file wget -qO "/tmp/Packages.gz" "https://packages.sury.org/php/dists/$(lsb_release -sc)/main/...
ᴍᴇʜᴏᴠ's user avatar
2 votes

cd command not recognized by a systemd service script

It was indeed an absolute path issue so I just hard coded the path to the bin folder I have and it worked.
Dev Dev's user avatar
  • 31
0 votes

Debian 12: can't get ClamAV to listen on TCP 3310

Actually I found it easier to edit /etc/systemd/system/sockets.target.wants/clamav-daemon.socket. There's already [Socket] section where you just need to remove or comment out the line ListenStream=/...
jmper's user avatar
  • 1
0 votes

How to get Debian RAID 1 preseed to populate EFI partitions on both disks?

Firstly let me thank you for your Preseed. This saved my butt! Its really hard to find a working example for Raid + LVM. So to answer your question: EFI standard does not include raid. Your way of ...
Manux's user avatar
  • 1
0 votes

how to enable ls highlighting in Debian

uncomment those line in the file .bashrc of you home directory: export LS_OPTIONS='--color=auto' alias ls='ls $LS_OPTIONS' and type: exec bash for reload you bash with colors
galoz's user avatar
  • 1
1 vote
Accepted

Linux server: apt-get update "Could not get lock" error

I stopped then started my VM and it fixed this error. Simple but stressful.
SteveAlbertsonFromNY's user avatar
0 votes

Why are remote connections to my ssh tunnel refused but local connections are accepted?

OK, this has somehow resolved itself. I'm able to connect to the tunnel even from outside hosts. I have not made any changes; maybe somehow the connection port got locked up somehow during testing? ...
Rich's user avatar
  • 183

Top 50 recent answers are included