Many of the LXC templates are in the xz format for PVE 6.x and PVE 7.x whilst the newer ones use .zst
https://arstechnica.com/security/2024/04/what-we-know-about-the-xz-utils-backdoor-that-almost-infected-the-world/
The above warns of xz Utils v5.6.0 and v5.6.1 being vulnerable to a backdoor.
PVE 6.4-15
DAB
squeeze based template compilation worked till a week ago.
Now fails at:
dab task mysql --password random
Error:
install: mysql-server-5.1
install: mysql-common
command 'lxc-attach -n 9e74fc3a-76f2-4866-adf1-221c03c0e061 --rcfile...
pct push <VMID>
pct pull <VMID>
The above can be used on the host only when the LXC container is started and running with say pct start 101.
When an LXC has been created, pct set hostscript ... can be used to execute a script on the LXC guest when it is started or when it is explicitly stopped...
When a container is created, we need to populate the VMID and the NODE name into the LXC guest.
Tried the following in vain:
system("pct exec $vmid -- echo $vmid $node > /root/VMID-NODE");
inside the post-start section of the hookscript.
There was a "-c" parameter referred to in this post for...
Attempted building a Debian 6 (Squeeze) template and could not SFTP into it as the old keys were not loading.
Solved it on the LXC console with:
ssh-keygen -q -t rsa -f /etc/ssh/ssh_host_rsa_key -N "" <<< $'\ny' >/dev/null 2>&1
ssh-keygen -q -t dsa -f /etc/ssh/ssh_host_dsa_key -N "" <<< $'\ny'...
Getting the VMID inside a Debian Guest:
In a Debian OpenVZ container we could use:
VMID=`awk '{print $1}' /proc/vz/veinfo`
What is the equivalent for a Debian LXC container?
The following packages will be upgraded:
libhttp-daemon-perl libsndfile1 linux-libc-dev tzdata
Pleasantly surprised today that an EOL distribution like PVE 6.4 is still getting debian upstream updates on apt-get update && apt-get dist-upgrade still.
Linux Cheat Sheet - PDF 1 page, 128 KB
Linux history Command - HOWTO | Cache - 7 pages, 901KB,
Oracle sqlplus SET commands | sqlplus notes | Oracle Enterprise ISOs | Oracle Unofficial Mirrors
Linux Virtualisation Images
Just tested out Oracle Linux Server 64 bit v5.11 and inspite of changing...
One thread stated that LXC containers do not have a mounted state.
Here is how we can mount a stopped LXC container (CTID = 102 here):
# pct mount 102
mounted CT 102 in '/var/lib/lxc/102/rootfs'
# ls -al /var/lib/lxc/102/rootfs
total 96
drwxr-xr-x 21 100000 100000 4096 Sep 19 23:14 ...
/usr/bin/pvebash PVE page has been created to manage non booting OpenVZ containers and another similar script is Proxbash
Is there a similar script for LXC containers?
After a complete install of 7.2-1 from a USB drive and apt-get update && apt-get dist-upgrade on a new 610 mainboard and 12th gen i3 CPU 12100 and a normal HDD of 2TB using the pve-no-subscription repo, the update process generated a lot of ATA errors but the install proceeded normally. At each...
Installed PVE 72.-1 from the ISO in July and now updated it to PVE 7.2-3 (did not use the PVE 7.2-7 in the pvetest repo).
Tried to install dab in vain.
Did the following to install dab with all it's dependencies and then it worked fine:
apt-get update
apt-get dist-upgrade
# The last two are for...
A clean up of the PVE Wiki was done today. Some pages pertaining to the PVE v3.4 / OpenVZ too have been deleted now that by May 16th PVE 3.x will be EOL.
Here is a list of pages deleted and not extracted along with some important ones extracted from the last archival at http://archive.org/web...
Devuan v1.0.0 has been released. It sports the old SysVInit system in place of systemd.
Is Proxmox going to transfer to Devuan/SysV in the place of Debian/systemd?
NewZealand and Amsterdam companies currently provide Enterprise support for Devuan.
I have made an Alpine Linux OpenVZ Template that still needs networking to be manually started after bootup.
http://pve.proxmox.com/wiki/Alpine_Linux_Minimal
http://pve.proxmox.com/wiki/OpenVZ_Console#Alpine_Linux
Feedback will be useful.
CVE-2016-8655
Race Condition Error Exploit
https://security-tracker.debian.org/tracker/CVE-2016-8655
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=84ac7260236a49c79eede91617700174c2c19b0c
Has this been patched for PVE 3.x / 4.x ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.