<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=7862&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Devuan LXC container usage?]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7862</link>
		<description><![CDATA[The most recent posts in Devuan LXC container usage?.]]></description>
		<lastBuildDate>Sat, 14 Nov 2026 15:41:40 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Devuan LXC container usage?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=66490#p66490</link>
			<description><![CDATA[<p>Basic lxc has a container template for devuan5-6 (devuan host)<br />(does basic minimal config like /etc/inittab config for proper shutdown and disables consoles,<br />but leaves all the unneeded init services intact that will error and not run proper in containers)</p><p>lxc-create --name devuan6 --template download -- --dist devuan --release excalibur --arch amd64</p><p>Use this method to create the containers till you figure out how to customize the lxc and container configs!</p><p>I prefer to roll my own (privileged lxc) by debootstrap(ing) a minbase variant and going from there<br />(Ignore zfs commands if you do not use it, and my paths are custom lxc locations/configs)</p><p>=============== debootstrap ===============</p><p>debootstrap --arch=amd64 --variant=minbase \<br />--include=ifupdown,iputils-ping,isc-dhcp-client,locales,nano,netbase,procps,whiptail \<br />excalibur /srv/lxc_images/devuan6 <a href="http://us.deb.devuan.org/merged" rel="nofollow">http://us.deb.devuan.org/merged</a></p><p>zfs snapshot m92p-sata/srv/lxc_images/devuan6@debootstrap</p><p>-------------------- basicstrap1 --------------------</p><p>lxc-attach devuan6</p><p># Fix container shutdown<br />sed -i &quot;s#^pf::powerwait.*#pf::powerwait:/sbin/poweroff#&quot; /etc/inittab</p><p># Disable getty (or not if you use lxc-console instead of lxc-attach)<br />sed -i &#039;/tty[1-6]/s/^/#/&#039; /etc/inittab</p><p>echo en_US.UTF-8 UTF-8 &gt;&gt; /etc/locale.gen<br />locale-gen en_US.UTF-8 UTF-8<br />update-locale LANG=en_US.UTF-8</p><p>echo &#039;US/Eastern&#039; &gt; /etc/timezone<br />ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime</p><p>zfs snapshot m92p-sata/srv/lxc_images/devuan6@basicstrap1</p><p>-------------------- basicstrap2 --------------------<br />#here we remove all init services that error on boot and are not functional in containers!<br />lxc-start -F devuan6 (should show a clean startup and a clean shutdown after these steps)</p><p>lxc-attach devuan6</p><p>cd /etc/rcS.d/<br />update-rc.d mountkernfs.sh disable&#160; &#160; &#160; &#160; &#160; &#160; (/proc, /sys)<br />update-rc.d mountdevsubfs.sh disable&#160; &#160; &#160; &#160; &#160; &#160; (/dev/some, /dev/pts)<br />update-rc.d hwclock.sh disable&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; (save hwclock)<br />update-rc.d checkroot.sh disable&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; (fsk /, swap)<br />update-rc.d checkfs.sh disable&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; (fsk, others)<br />update-rc.d kmod disable&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; (kern modules)<br />update-rc.d mount-configfs disable&#160; &#160; &#160; &#160; &#160; &#160; (/sys/kernel/config)<br />update-rc.d procps disable&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; (. /etc/sysctl.conf)<br />update-rc.d urandom disable&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; (/dev/urandom)<br />update-rc.d brightness disable&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; (brightnes laptop)<br />update-rc.d udev disable&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; (/dev)<br />update-rc.d bootlogd disable&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; (startup bootlog)<br />update-rc.d stop-bootlogd-single disable&#160; &#160; &#160; &#160; (startup bootlog single)<br />update-rc.d checkroot-bootclean.sh disable&#160; &#160; &#160; &#160; (clear /tmp files)</p><p>cd /etc/rc0.d/ (numbering here might be different, just disabling stop services on shutdown)<br />mv K01udev D01udev<br />mv K01urandom D01urandom<br />mv K01hwclock.sh D01hwclock.sh<br />mv K01brightness D01brightness<br />mv K04umountfs D04umountfs<br />mv K05umountroot D05umountroot</p><p>zfs snapshot m92p-sata/srv/lxc_images/devuan6@basicstrap2</p><p>-------------------- provision1 --------------------<br />(functioning, very slim/basic container with just init running at this point)</p><p>lxc-attach devuan6</p><p>echo devuan6 &gt; /etc/hostname</p><p>groupadd user<br />useradd --shell /bin/bash -m user</p><p>passwd root<br />passwd user</p><p>edit /etc/network/interfaces<br />and any other config file you need</p><p>zfs snapshot m92p-sata/srv/lxc_images/devuan6@provision1</p><p>-------------------- provision2 --------------------<br />(basic utils and services to support whatever services/apps you decide to run) </p><p>apt update</p><p>apt install man vim bash-completion whiptail less<br />apt install rsync htop nmon ncdu ethtool psmisc tree wget</p><p>apt install dma bsd-mailx<br />apt install cron rsyslog logrotate</p><p>zfs snapshot m92p-sata/srv/lxc_images/devuan6@provision2</p><p>-------------------- base --------------------</p><p>check that everything works as intended<br />and use this as a base for all following containers<br />changing passwords etc... on next steps</p><p>apt install openssh-server --no-install-recommends</p><p>install openssh-server once inside new container (not before) unless you want to reset the hosts keys</p><p>=============== cgroups2 on devuan host (optional) ===============</p><p>update-rc.d cgroupfs-mount disable<br />echo &#039;cgroup2 /sys/fs/cgroup cgroup2 defaults,nsdelegate 0 0&#039; &gt;&gt; /etc/fstab</p><p>dan</p>]]></description>
			<author><![CDATA[dummy@example.com (danuan)]]></author>
			<pubDate>Sat, 14 Nov 2026 15:41:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=66490#p66490</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan LXC container usage?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=64188#p64188</link>
			<description><![CDATA[<p>I started to use Devuan lxc containers as well. I have prepared pct template of Devuan6 in the same way. I think much better experience in relation to LXC containers provide Incus, so recently I was thinking if would be better to start Proxmox VM and install INcus there just for LXC</p>]]></description>
			<author><![CDATA[dummy@example.com (kajko)]]></author>
			<pubDate>Sun, 07 Jun 2026 12:55:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=64188#p64188</guid>
		</item>
		<item>
			<title><![CDATA[Devuan LXC container usage?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=62820#p62820</link>
			<description><![CDATA[<p>Am I the only one crazy enough to use the Devuan LXC container template in Proxmox for my home workloads? <br />I assume they were included in Proxmox for a reason and not just decoration. <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>I have used the templates for Devuan 4 and 5, and dist-upgraded a 5 template into a 6 template this week.</p>]]></description>
			<author><![CDATA[dummy@example.com (bigbenaugust)]]></author>
			<pubDate>Mon, 23 Mar 2026 14:19:56 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=62820#p62820</guid>
		</item>
	</channel>
</rss>
