The officially official Devuan Forum!

You are not logged in.

#1 2024-03-26 15:54:19

dirk.gently
Member
Registered: 2024-03-26
Posts: 1  

Incus

Is anyone working on a Devuan package for Incus? Incus (https://linuxcontainers.org/incus) is a relatively recent fork of LXD (after Canonical pulled LXD from the linuxcontainers.org project and changed licensing).  Debian has no official Incus packages, but Zabbly maintains Debian/Ubuntu builds (https://github.com/zabbly/incus).  However Zabbly's Debian packages have systemd hooks in the package scripts that break things on Devuan.  I'm such a newbie to Devuan devel that I can't glean any useful information from pkginfo.devuan.org about who, for instance, repackaged LXD* for Devuan and what they did -- apologies.  The Incus fork is recent enough that it should be reasonable to just repeat the same changes from Debian that were needed for LXD.  I'd be willing to take this on but would happily stand aside if someone else is already working on it.  TIA!

Offline

#2 2024-03-27 02:18:27

nixer
Member
From: North Carolina, USA
Registered: 2016-11-30
Posts: 213  

Re: Incus

Debian has no official Incus packages

I found some debian packages in daedalus-backports.  But warning... by default it does try to pull in systemd-standalone-sysusers, and I would strongly urge you to pin this out so that it will not get installed.  There is a non-systemd package called opensysusers which will install in its place if the systemd* packages are pinned from getting installed.

For example, this is my apt pin in /etc/apt/preferences.d/00nosystemd:

Package: *systemd* systemd-* systemd-standalone-sysusers
Pin: release *
Pin-Priority: -1

Make sure the daedalus-backports repo is active in sources.list.

# apt policy incus

incus:
  Installed: (none)
  Candidate: 0.6-1~bpo12+1
  Version table:
     0.6-1~bpo12+1 100
        100 http://deb.devuan.org/merged daedalus-backports/main amd64 Packages

# apt install -t daedalus-backports incus

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  attr incus-client libcowsql0 liblxc-common liblxc1 libraft0 libsubid4 lxcfs
  opensysusers uidmap
Suggested packages:
  btrfs-progs ceph-common lvm2 zfsutils-linux incus-tools cgroupfs-mount
  | systemd
Recommended packages:
  apparmor dnsmasq-base incus-agent
The following NEW packages will be installed:
  attr incus incus-client libcowsql0 liblxc-common liblxc1 libraft0 libsubid4
  lxcfs opensysusers uidmap
0 upgraded, 11 newly installed, 0 to remove and 59 not upgraded.
Need to get 22.7 MB/22.8 MB of archives.
After this operation, 76.9 MB of additional disk space will be used.
Do you want to continue? [Y/n]

I have not installed, nor do I know if these packages will work.  I see that systemd is a "suggested" package, but not a dependency.  Let us know how it goes.  Thanks.

Edit:  grammar and spelling.

Last edited by nixer (2024-03-27 11:24:09)

Offline

#3 2024-08-07 17:36:51

1ma
Member
Registered: 2024-08-07
Posts: 1  

Re: Incus

The incus package in daedalus-backports doesn't include sysvinit scripts, so the service doesn't run.

I'm not sure where this should be reported.

Offline

#4 2024-08-07 21:00:47

golinux
Administrator
Registered: 2016-11-25
Posts: 3,334  

Re: Incus

@1ma . . . This post might give you some ideas:
Missing init scripts and how to provide them
https://dev1galaxy.org/viewtopic.php?id=4865

dirk.gently wrote:

Is anyone working on a Devuan package for Incus?

Perhaps you?

Offline

Board footer