How to remove (or modify) ip6tnl0 and tunl0 interface from Ubuntu 16.04 running in Docker

I am currently running Ubuntu 16.04 in Docker and need to get rid of (or adjust) /sys/class/net/ip6tnl0 and /sys/class/net/tunl0. The reason is that I need to install software that crashes when those interfaces are present. The precise reason is that the two interfaces have weird MAC addresses of unusual length: root@5b573f1125d0:/# cat /sys/class/net/tunl0/address 00:00:00:00 root@5b573f1125d0:/#…

Using ‘archive_command’ directive on postgres container in kubernetes ‘invalid argument: “%p”

I’ve got Postgres 11.5-alpine running in kubernetes in a leader-follower setup that has been working well using streaming replication for some time. I’ve decided to cover my bases by writing the WAL archive to a shared network drive (Azure blob via blobfuse csi driver). The driver is working fine, things are being written to the…

AWS ec2 Debian users can run commands with sudo without being in the sudoers file

I’m trying to work out why users in my AWS EC2 Debian instances can run sudo commands without being in any groups which allow these kind of permissions. This is my sudoers file: Defaults env_reset Defaults mail_badpass Defaults secure_path=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin” # User privilege specification root ALL=(ALL:ALL) ALL # Allow members of group sudo to execute any…