New answers tagged

0 votes

Sending email inside a docker container to hosts smtp running postfix

ssmtp is only available on debian bullseye and later, before 11 you'll have to configure msmtp. On the host machine, add the docker subnet ( by default) to postfix's config at /etc/postfix/...
GammaGames's user avatar
0 votes

How to change a SSH host key?

I highly recommend using shred (or gshred on macOS/brew install coreutils). sudo shred -u /etc/ssh/*_key /etc/ssh/*
NorseGaud's user avatar
  • 151
1 vote

needrestart keeps asking for rebooting on new kernel

If you tried apt-get upgrade and it says The following packages have been kept back: linux-image-amd64 then you need to apt-get install linux-image-amd64 as root/with sudo. The message should stop ...
Honza's user avatar
  • 111
0 votes

RAID5 rescue with LVM2 running on it

I've recognized that during the build command, the order of the drives is important. That put me in to the situation to probe each kind of combination. So far, we have 6! = 720 different possibilities ...
Ronald Mendez's user avatar
1 vote

ionice for systemd journal

I know this is an old question but I did put this into my rc.local and my Ubuntu Jammy partition is now just as responsive as my Artix Linux (non-systemd) partition: /usr/bin/ionice -p $(/usr/bin/...
Arnaldo Montoya's user avatar
0 votes

VLANs and Bridges on Debian to share the same address

so that the physical port looking inside my network (eth1) would accept both new VLANs, frames without VLAN-id (untagged) That won't work. You need to configure a subinterface on your NIC with 802.1q ...
Zac67's user avatar
  • 10.4k
1 vote

Blocking traffic from specific countries. How to kill existing connection?

Since several years, the Linux kernel has been having an API to forcibly kill existing IP sockets whatever their state. It can be done with the ss command and its filter syntax: -K, --kill Attempts ...
A.B's user avatar
  • 11.3k
0 votes

Why does my pfsense gateway break SSL for some internal hosts?

As it turns out, this was due to a NAT rule clash regarding a specific subnet. So it was a routing problem that showed up only with static ip addresses, on that particular subnet.
barrymac's user avatar
  • 173
2 votes

How to find which process sent a HUP signal to my node.js process?

You can do this with eBPF: sudo dnf install bcc-tools sudo /usr/share/bcc/tools/killsnoop Here is how it looks when sending SIGHUP (-1) from process with PID 1221229, which is the bash shell where I ...
Mircea Vutcovici's user avatar
0 votes

Exim, Debian 12 (bookworm): Tainted '..Maildir/' (file or directory name for maildir_local_delivery transport) not permitted

I think you just need to replace directory = /home/${local_part}/Maildir/ with directory = /home/${local_part_data}/Maildir/ At least that is the first thing I found on
Lutz's user avatar
  • 101
0 votes

Debian sendmail not sending to gmail

The error message is pretty specific: Our system has detected that this message does not meet IPv6 sending guidelines regarding PTR records and authentication. Please review
roaima's user avatar
  • 1,646
0 votes

Cannot restart apache2 on Debian server - "Cannot load /usr/local/apache2/modules/ into server"

I had your problem in FreeBSD. version of your libidn isn't camptiable with your PHP. You need to apt-get update, Then remove your php modules ,php itself and remove mod_php, Then install php, mod_php ...
PersianGulf's user avatar
0 votes

LDAP server migration from Debian to Ubuntu Error

The error is due to the outdated database backend on most of the old slapd systems (<2.4.x). Converting manually to hdb/bdb => mdb fixes these issues on new slapd versions. sudo slapcat -n 0 -l ...
guest123's user avatar
1 vote

mdadm raid1 showing removed disk

In general, /proc/mdstat shows the true, current RAID status. sda5 is really missing from the RAID array: notice how its event count is much lower than sdb5. Also notice how sdb5 see an array status ...
shodanshok's user avatar
3 votes

Is it possible to configure a Linux/Ubuntu computer to be network silent?

You can make your machine completly silent with one of following solutions: drop any outgoing packets from firewall don't configure any IP addresses on interfaces where you want it to be silent You ...
Mircea Vutcovici's user avatar
0 votes

Mount smb remote storage on debian with local disk caching using FS-Cache for CIFS

I'm using the same remote storage (which I fully recommend, by the way). According to the mount.cifs man page, you also need to have cachefilesd daemon installed and running to make the cache ...
maurom's user avatar
  • 1
0 votes

Bad ssh config on remote server. Cannot login in

This exact file (SSH client config) is not usually needed on the server side, and the problem won't appear unless you are chaining SSH connections (using a server-side client to connect to another ...
mirekphd's user avatar
  • 115
2 votes

Should I use proxmox for this use case?

Your justification for using Proxmox here appears to be so that you can use keepalived (although I'm not sure exactly what for). That seems like massive overkill. There are other reasons that might ...
symcbean's user avatar
  • 21.6k
0 votes

Debian + Strongswan: does not pass traffic from the Internet to the tunnel

It was my own fault. I was careless when setting up iptables and wrote eth0 without checking the actual interface name which was ens5 on that VPS. It's a stupid mistake that would not be worth ...
m. vokhm's user avatar
0 votes

Trigger a monit reload after unattended upgrades

I found a clean solution to this with the help of this answer. All I needed to do is add an apt config file in /etc/apt/apt.conf.d/99monit containing: DPkg::Post-Invoke {"/usr/bin/monit reload&...
Synchro's user avatar
  • 3,148
0 votes

Trigger a monit reload after unattended upgrades

A suggestion only, You can use Monit (check file) to monitor the /var/log/dpkg.log file to get information about an update and then reload the configuration if necessary. On the other hand this will ...
lutzmad's user avatar
  • 231
1 vote

squid: Unable to allow but works

I solved it after debugging the connection with tcpdump.. Every request was NATed..and asked by my openwrt router and not the device ( After disabling NATing for this Network the request ...
mylan's user avatar
  • 41
0 votes

ocfs2_dlmfs file system not found while running tunefs.ocf2s command

Found a solution, first run dpkg-reconfigure ocfs2-tools Where you get the following option: Would you like to start an OCFS2 cluster (O2CB) at boot time? When you answer this with Yes, the dlmfs ...
no-preserve-root's user avatar

Top 50 recent answers are included