First the dead link:

On the wiki: https://wiki.obarun.org/doku.php?id=66-services

At the top it says "For example together with dhcpcd you must install dhcpcd-66serv, and to enable the service follow the instructions at 66-enable"

The instructions being pointed to, "66-enable", is a dead link.

The correct link is: https://wiki.obarun.org/doku.php?id=66-enable

Then 66-enable:

I have installed dhcpcd and dhcpcd-66serv, but trying to enable it fails.

When I do:
66-enable dhcpcd
I get:
66-enable: fatal: unable to find tree /var/lib/66/system//usr/lib/66/service/dhcpcd: no such file or directory
The same error occurs if you specify with the "-t" options.

It seems like the "/var/lib/" directory has been hardcoded, but the files are not there?
This link is active
https://web.obarun.org/software/66/v0.5.1.1/66-enable.html

Thanks for pointing this out. Since 66 is undergoing development and there is one stable release 0.5.1.1 and several 0.6 releases, currently the one in obcore-testing repository is 0.6.1 and the documentation will soon change a little, please be patient.
https://web.obarun.org/software/66/ the main link for the documentation shows the current stable and changes of new versions.

Also % man 66-enable should give you the same manual as the version you have installed.
The introduction to 66 is also helpful for common tasks.

Please provide the output of % sudo 66-intree -g so I can tell what trees you already have set-up and please tell us what installation you did (base, openbox, xfce, plasma, jwm) or custom.

% sudo 66-enable -t root dhcpcd

It appears as you have no active/current tree for this to happen.

% sudo 66-tree -ncE root

will create at least one active/current/Enabled tree
When you don't specify a tree then the service is activate/enabled in the "current" tree.

Names of trees are arbitrary.
Thank you for your reply. I have no prior experience with s6 and haven't been following Obarun closely, so I have possibly also missed some relevant information.

I used the minimal flavour "obarun-2020.11.01-x86_64.iso" and installed the base system manually (didn't use the installer). I haven't installed anything further yet, besides from dhcpcd and dhcpcd-66serv.
# 66-intree -g
66-intree: info: no tree exist yet
So I must have missed that step.

I have just activated a tree:
# 66-tree -ncE root
Which enabled the tree for root successfully.

And enabled dhcpcd successfully with:
# 66-enable -t root dhcpcd
66-enable: info: Enabled successfully: dhcpcd
I need to study up on s6 and the different tools.
So you have no boot tree then either. You must read the intro-to 66 in the wiki.
If you know about runit, s6 is similar but with a tremendous amount more potential. 66 harnesses this potential and makes it more user friendly. After a couple of weeks when it all begins to make sense, you will feel disabled going with any other system.

Congratulations on doing the installation the old fashioned arch way. If you followed the wiki to do it I am the one who wrote it, so feel free to ask. The essential part is to install base, to make sure you are not missing anything.

The reason that 66 has a separate page and it would be redundant to have the same in the Obarun wiki is that 66 is portable and has been used in most systems we know off. Obarun is pretty much 66 and Arch.

Powered by Obarun