34
votes
How to see debug logs for WireGuard (e.g. to see authentication attempts)
Assuming you are running a kernel which supports dynamic debugging, you can enable debug logs by executing:
# modprobe wireguard
# echo module wireguard +p > /sys/kernel/debug/dynamic_debug/...
25
votes
After upgrade from Debian 10 Buster to Debian 11 Bullseye security updates 404 not found
This is regarding change in Debian 11 repository structure. RTFM requires time, so bump answer here:
For Debian bullseye, the security suite is now named bullseye-security
instead of codename/updates ...
12
votes
bash: dpkg-reconfigure: command not found
This is the behaviour if you switched to root using su instead of su -, for example. In Debian 10 dpkg-reconfigure is located in /usr/sbin/, so it has to be in the PATH.
Compare these two PATH-...
9
votes
Accepted
``date`` in terminal now in 12hr format on Debian Buster
It seems the reason for this change is that in buster the en_US locale is updated. Since it is meant to represent US customs, which is to specify time in the 12 hour format, time is now shown as such, ...
8
votes
Accepted
Fail2ban on Debian Buster - the right way to configure?
You only need to edit one file.
To avoid problems during system upgrades, you should always copy jail.conf to jail.local and modify the latter only. The same for all other fail2ban config files.
cp /...
8
votes
MariaDB memory use rises beyond configured size
With credit for the forumla due to Gordon's answer and the link therein, the following command will tell you how much your MySQL/MariaDB database needs:
SELECT ROUND(
( @@GLOBAL.key_buffer_size ...
6
votes
Accepted
bash: dpkg-reconfigure: command not found
From the wiki
https://wiki.debian.org/NewInBuster
Apparently I didn't read the other release notes
Changes The su command in buster is provided by the util-linux source
package, instead of the ...
5
votes
Accepted
Debian - after update bind9 cannot create log in /var/log/bind
It sounds as though bind9 may not be allowed to write to the folder for other reasons.
Check to see if AppArmor is running via aa-status.
AppArmor is another mandatory access control mechanism for ...
5
votes
Accepted
Create a custom /etc/init.d script in Debian 10 Buster
Smartass response:
apt-get install sysvinit-core
Disclaimer: I have not done this on Buster, don't try it on an important system.
Assuming you'd like to stick with the new default since Jessie, ...
5
votes
clamav "killed" with no explanation
As mentioned in some of the other comments, the likely culprit is oom_killer or oom_reaper. You can check for this by tailing /var/log/messages while running clamscan. Ex:
# Kick this off in a ...
4
votes
Debain 10 - Installing kernel 5 from backports
It's a bug in the package. The bug was already reported. The files were just missing, a patch is available in the bug report.
It works like this:
sudo su
echo deb http://deb.debian.org/debian buster-...
4
votes
Accepted
Nearly 100% disk utilization after upgrading to debian 10 without any reason
i'm quite convinced that 100% utilization shown for the underlying NVMe drives that are used to create md-raid is a kernel bug - see the related reports. temporarily upgrading to kernel 5.2 made the ...
4
votes
Recommended approach to build a 24-disk pooled SSD hot-set cache: RAID, LVM JBOD, etc?
You appear to be contradicting your needs - "My ideal solution would have each subdir (I have one self contained dataset per subdir) of / completely contained on a single disk" tells you that you don'...
4
votes
Accepted
MariaDB memory use rises beyond configured size
The memory settings you listed are shared. There are also various buffers that are allocated per thread. Here is a link to a MySQL memory calculator:
https://www.mysqlcalculator.com/
4
votes
Accepted
rudder-relayd.service: Failed at step NAMESPACE - Permission denied
I think you should enable nesting mode with lxc on the host, I think with this command:
lxc config set <id> security.nesting true
3
votes
Accepted
"curl: command not found" on Debian 10 with PHP 7.3 installed successfully?
php7.3-curl is the package to do curl in php.
If you want to use curl directly in terminal you need install curl (apt-get install curl)
3
votes
bash: dpkg-reconfigure: command not found
You can try
sudo dpkg-reconfigure locales
Instead of
dpkg-reconfigure locales
It works for me 😉
3
votes
Accepted
How to update /etc/os-release
Both /etc/os-release and /etc/issue are in the base-files package.
Make sure you have something like the following in /etc/apt/sources.list:
deb http://ftp.us.debian.org/debian buster main
Followed ...
3
votes
Accepted
Debian: Cannot install php7.4-curl -- depends not installable
debian10 comes with php7.3 and not php7.4
https://packages.debian.org/search?suite=all&arch=any&searchon=names&keywords=php7
php 7.4 will be in next debian 11 (bullseye).
You can add some ...
3
votes
Accepted
Why is IPv6 disabled upon reboot even after configuring sysctl.conf?
I'm assuming that you are using these three packages to provide the options in use: ifupdown, bridge-utils, vlan. The two later provide the commands brctl and vconfig, both obsolete, but more ...
3
votes
Accepted
Boot without nftables | Debian 10
Edit the kernel command line and try adding module_blacklist=nf_tables
Upstream in the kernel, there is some possibly relevant fixes. Like this use after free bug fixed in 4.19.72
commit ...
3
votes
After upgrade from Debian 10 Buster to Debian 11 Bullseye security updates 404 not found
If you followed the various Debian update tutorials out there, chances are you ended up with an incorrect /etc/apt/source.list
As most "fixes" are listed sed command patches, they may not ...
2
votes
Accepted
How do I enable IPv6 with Nginx on Debian 10
I continued my research and saw that between version 1.10.3 and version 1.14.2 Nginx had removed the flag --with-ipv6 to integrate by default the support of IPv6. Mystery solved.
Source: http://nginx....
2
votes
Accepted
Apache2: ports.conf vs Vhost
Ports can be changed in ports.conf alone. The various site configs contain definitions of what to serve on the open ports. This means that if you define a VirtualHost like this:
<VirtualHost 0.0.0....
2
votes
Auto boot degraded RAID1 on Debian 10 (Buster)
Some (older) BIOSs only allow booting from the first connected drive.
I have a similar setup/BIOS (both HDDs have grub properly installed) - I can only boot from the drive physically connected to the ...
2
votes
Accepted
php-curl and php7.3-curl installed but curl_init() is "undefined function" (Debian buster)
You have php7.3-curl for PHP 7.3, but your PHP CLI is PHP 7.0 7.0.33-1~dotdeb+8.1 from Zend OPcache.
Do you have php7.3-cli installed? If not, then
sudo apt install php7.3-cli
2
votes
Accepted
Why does docker say my container's disk is full when it's not (QubesOS)?
This is an issue with the way QubesOS also layers its disk space for AppVMs.
This was the disk space on the docker host (the Debian 10 AppVM). Note that its 20G of free disk space is in /rw/ but that ...
2
votes
Recommended approach to build a 24-disk pooled SSD hot-set cache: RAID, LVM JBOD, etc?
I care more about performance, complexity of maintenance, and downtime
more than lost data.
Maximizing performance indicates you need to use some form of RAID-0 or RAID10, or LVM. Complexity of ...
2
votes
Cannot update apt https repositories via corporate proxy ("reading from proxy failed") on Debian 10 buster
It seems that the problem was the web proxy itself. After an upgrade, which fixed several SSL inspection issues, the problem went away.
2
votes
How to see debug logs for WireGuard (e.g. to see authentication attempts)
My version of logging users, script in crontab every 3 minutes. If inactivity less then 180 seconds, nothing doing, else appending to a log file.
wg show all dump | grep 10.0 | awk 'BEGIN {}; {if (...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
debian-buster × 140debian × 62
linux × 13
ipv6 × 7
nginx × 6
apt × 6
ssh × 5
linux-networking × 5
kvm-virtualization × 5
systemd × 5
networking × 4
dhcp × 4
dovecot × 4
mariadb × 4
fail2ban × 4
linux-kernel × 4
mysql × 3
postfix × 3
apache-2.4 × 3
docker × 3
openvpn × 3

bind × 3
vlan × 3
proxmox × 3