The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » Default dhcp client floods my syslog » 2023-09-18 14:59:13

Thank you for looking into this, Lorenzo.

My Chimaera installation is happy without runit starting a copy of dhclient, and having removed it from Daedalus, that also seems happy. So I would think that having it disabled-by-default is probably the correct thing to do.

I am not an expert in networking so I a not sure when we would need to run a copy of dhclient from the init system.

Geoff

#2 Re: Hardware & System Configuration » Default dhcp client floods my syslog » 2023-09-17 14:58:20

I have spotted two copies of dhclient running after upgrading to daedalus.

I am using runit and, clearly, one copy was being started by runit but the other was less easy to track down. I came to the conclusion that one copy was started by the networking software, presumably related to /etc/network/interfaces .

The version started from runit has now been removed

update-service --remove /etc/sv/dhclient

and the VM (under Xen) where I am testing it, still boots ok with just the one copy of dhclient.

Interestingly, the runit copy was earlier complaining even more about not being able to find eth1. I then spotted that the new runit setup for dhclient had a config file in conf/interfaces which contained

INTERFACES=eth1

Changing this to eth0 soon solved that. But this is no longer in use!

Geoff

#3 Re: Installation » Daedalus upgrade with runit-init » 2023-09-01 15:11:56

One thing that I have been trying is to set up a symlink from /etc/init.d to /usr/bin/sv. This should mean that anything that uses a SysV init syntax should still work.

I have tried this on Postfix. As an extra backup I saved the old init.d scripts to /usr/local/etc/init.d

then :-

root@fluorine:/etc/init.d# mv postfix .postfix
root@fluorine:/etc/init.d# ln -s /usr/bin/sv postfix

root@fluorine:/etc/init.d# ls -alF .postfix postfix
-rwxr-xr-x 1 root root 3368 Mar 16  2020 .postfix*
lrwxrwxrwx 1 root root   11 Sep  1 15:49 postfix -> /usr/bin/sv*

root@fluorine:/etc/init.d# cd

root@fluorine:~# /etc/init.d/.postfix status
postfix is running.
root@fluorine:~# /etc/init.d/postfix status
run: postfix: (pid 1881) 6694s; run: log: (pid 1880) 6694s
root@fluorine:~# sv status postfix
run: postfix: (pid 1881) 6707s; run: log: (pid 1880) 6707s
root@fluorine:~# service postfix status
run: postfix: (pid 1881) 6718s; run: log: (pid 1880) 6718s

So, this shows that calling up the old SysV init script does still work if you know where it is and with the old behaviour
Then if you use what looks like the postfix script in init.d, you get the same result as if you use sv or service.

Geoff

#4 Re: Installation » Daedalus upgrade with runit-init » 2023-09-01 10:11:34

I have now re-booted with the Xen hypervisor and have fired up the test system so that I can examine it.

For the benefit of any innocent by-standers who are reading this, the "official" runit scripts are installed in /usr/share/runit/sv and also some in /usr/share/runit/meta. The installation is then able to copy over required ones into /etc/sv.

When I examine my test system, I can see from the time stamps on the files, that many files have been copied over to /etc/sv during the installation. Importantly it did not copy over postfix, as I had my own version in /etc/sv, so it spotted this and didn't overwrite it. I had my own version of postgresql, but that does not yet have an "official" set-up and my old version still works (sort of!).

I think that the preload service may be new and this was set up automatically.

There also seems to be a new dbus.dep-fixer which has been set up.

I also had a bunch of gettys set up, which have been overwritten, updating what I think were the original "official" versions, although I tend to add --noclear to tty1 and this has been overwritten.

I have two copies of dhclient running. There is one running from the script in /etc/sv/dhclient. There was a problem with this as it looks for its interface in /etc/sv/conf/interfaces, which was set to eth1 and I had to change it to eth0. I haven't yet tracked down where the other copy is being started from, but it seems to be early in the boot process.

I am not clear on the significance of /usr/share/runit/meta, which contains default-syslog, the gettys and ssh. These seem to have been copied over to /etc/sv.

Geoff

#5 Re: Installation » Daedalus upgrade with runit-init » 2023-09-01 09:10:02

Sorry to be a bit pedantic, but when I started looking at runit, some time ago, it was still using SysV init and called up runit from the last line of /etc/inittab.

Once I had that working I then moved to replacing SysV init with runit-init, which is a separate package from runit and completely by-passes inittab. This also affects things such as shutdown. I was being a bit cautious in case having a "non-standard" init program might affect the upgrade.

ls -l /sbin/init  /sbin/shutdown
lrwxrwxrwx 1 root root 21 Jul 25  2021 /sbin/init -> /lib/runit/runit-init
lrwxrwxrwx 1 root root 19 Jul 25  2021 /sbin/shutdown -> /lib/runit/shutdown

Geoff

#6 Re: Installation » Daedalus upgrade with runit-init » 2023-08-31 15:31:23

I haven't got round to checking what is available in in runit-services yet as I was looking at a couple of other things, including the start up for Postgresql.

I will get round it that shortly.

Were you running with runit-init when you tried it?

Geoff

#7 Installation » Daedalus upgrade with runit-init » 2023-08-31 14:50:16

Geoff 42
Replies: 7

Having upgraded my laptop with OpenRC, it was time to try my desktop machine, which uses runit, including runit-init. As I am a bit more sensitive about my desktop system, I chose to try a VM first. I use Xen for running VMs.

I first updated/upgraded the existing Chimaera system and then set about the upgrade to Daedalus. I followed the instructions on the Devuan web site and edited /etc/sources.list from Chimaera to Daedalus and was careful to ensure that I added non-free-firmware to each line. I also killed off xscreensaver

# killall xscreensaver

and then did the update/upgrade

# apt update
# apt upgrade

This seemed to go fairly smoothly. I noticed that it has installed runit-services (0.5.4) which should provide a good collection of runit type service scripts.
After it had finished I did

# apt full-upgrade
# apt-get autoremove --purge
# apt-get autoclean

I noticed that the last two lines seem to have removed about 1.7GB.

# reboot

It seems to come up cleanly and vnc works (which is useful for the VM under Xen!)
I still haven't checked everything, but it does work well enough that I can get in and have a look around (I hope that doesn't sound too negative. The main system is fine).

I have things like Postfix and Postgresql running, although Postgresql needed a bit of fiddling with versions, more on that elsewhere as it is not really an installation thing. I think that I will report on Postgresql in the Desktop section,

Geoff

#8 Desktop and Multimedia » Daedalus - Claws-mail tweeks » 2023-08-24 15:28:00

Geoff 42
Replies: 0

When I upgraded from Chimaera to Daedalus, it went smoothly, but there were a couple of things about Claws-mail.

My Claws-mail plug-ins had all been removed. It was no problem to reload them into Claws, as they were all still available.

The other thing was that the user interface had a couple of glitches. When the cursor moved over icons in the tool bar, all of the icons to the right moved slightly to the left! Also when I went to compose a message, the area where you set up the recipients usually is able to display about 4 lines of recipients and the icon to the right is of a brush, which is for clearing that line. After the upgrade the space for each line was much deeper, so that only 2 lines would fit in the area I had allocated.

The part where icons jump a little to the left rang a bell in my head and I thought it was something to do with themes.
I use lxdm and lxqt with Openbox. When I look in Preferences>Customise Look and Feel, the Widget option includes Clearlooks-Phenix-Sapphire, which I selected, as well as the Window Border>Theme also offers Clearlook-Pheneix-Sapphire, which I also selected. Once this theme had been selected, the UI oddities, mentioned above, went away.

There is some discussion about Clearlooks-Phenix-Sapphire in the Devuan thread.

Geoff

#9 Re: Installation » Daedalus upgrade with OpenRC » 2023-08-23 15:27:41

I have located a couple of related threads.

My ramblings start at :-

https://dev1galaxy.org/viewtopic.php?id=2788

and then the part about shutting down the file systems continue at :-

https://dev1galaxy.org/viewtopic.php?id=3371

Geoff

#10 Re: Installation » Daedalus upgrade with OpenRC » 2023-08-23 15:16:50

Andre4freedom wrote:

Hello,
That's really good and helpful information, thank you.
Could you possibly post your future experiences with open-rc init?

Thank you for your encouragement.

I have now performed a few shutdowns and have managed to get a photo of the screen, using my 'phone!
This shows that it fails to unmount both /run/user/1026 and /home, although I have not found this in the log files.
I also spotted that it was recovering at least one of the file systems on booting, although, again,
I have not found this in the log files. /run/user/1026 was a tmpfs, so probably would not need
to be recovered.

I think that this is the sort of problem I found some time ago and which I reported in earlier posts.
I must find them again!

Geoff

#11 Re: Installation » Daedalus upgrade with OpenRC » 2023-08-23 08:47:28

I have now managed to boot using openrc-init. I had an option in grub's linux command line

init=/sbin/init
which I edited to be
init=/sbin/openrc-init

I did this when the grub menu appeared and with the main Linux option selected, I typed "e"
which throws me into the editor. Having made the above edit, typing  ^X then proceeds with the boot process.

This proceeded smoothly and at first everything seems normal, but I will do some more checking,
which will have to include the shutdown, which is where I think there was a problem with the old version, where a file system may not have been unmounted cleanly. But so far so good...

$ cat /proc/1/comm 
openrc-init
$ cat /proc/1/cmdline 
/sbin/openrc-init
$ ps -p 1
  PID TTY          TIME CMD
    1 ?        00:00:00 openrc-init

Geoff

#12 Installation » Daedalus upgrade with OpenRC » 2023-08-22 09:12:27

Geoff 42
Replies: 4

While my desktop uses Runit, my laptop has OpenRC. I had tried adding openrc-init, but had rolled back to starting it with SysV init and then having OpenRC taking over. This has been working nicely. I was wondering whether the changed init systems would play nicely with the upgrade to Daedelus. I started with my laptop/OpenRC. I was careful to add the non-free-firmware entries to sources.list.

The upgrade went smoothly and I am happy to report that the system still boots up nicely using OpenRC. I will need to check out the updated version of openrc-init, to see if that is fully sorted out.

Geoff

#13 Re: Devuan » Devuan 5 Daedalus Release (Debian 12 - Bookworm) | Looking for info » 2023-06-15 15:49:37

boughtonp wrote:

That information would be at the same place it always is, https://www.devuan.org/os/releases:

I notice that on the Releases page that Daedalus is described under suites as In development, while the following text refers to testing.
Would it be more consistent if the entry under suites was testing?

Geoff

#14 Re: Off-topic » Show your desktop (rebooted) » 2022-12-13 15:10:28

Head_on_a_Stick wrote:

EDIT: 10 bonus points to anybody who can identify the book I'm reading in Firefox. No Googling!

Without Googling, I could see the URL and a quick poke around gave :-

https://www.gutenberg.org/cache/epub/16 … -cover.png

which was a bit of a give-a-way!

Geoff

#15 Re: Installation » [SOLVED] libc6 bug fix has not reached chimaera-proposed-updates » 2022-10-27 13:48:02

It would appear that libc6 version 2.31-13+deb11u5 has now reached chimaera-updates.

apt policy libc6

libc6:
  Installed: 2.31-13+deb11u5
  Candidate: 2.31-13+deb11u5
  Version table:
*** 2.31-13+deb11u5 500
        500 http://deb.devuan.org/merged chimaera-updates/main amd64 Packages
        100 http://deb.devuan.org/merged chimaera-proposed-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.31-13+deb11u4 500
        500 http://deb.devuan.org/merged chimaera/main amd64 Packages

hence solving the original query.

Geoff

#16 Re: Installation » [SOLVED] libc6 bug fix has not reached chimaera-proposed-updates » 2022-10-23 14:35:11

I have now tried your version with :-

Package: *
Pin:  release a=chimaera-proposed-updates
Pin-Priority: 100

and it does not change the priority :-

apt policy libc6

libc6:
  Installed: 2.31-13+deb11u5
  Candidate: 2.31-13+deb11u5
  Version table:
*** 2.31-13+deb11u5 500
        500 http://deb.devuan.org/merged chimaera-proposed-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.31-13+deb11u4 500
        500 http://deb.devuan.org/merged chimaera/main amd64 Packages

while :-

Package: *
Pin:  release n=chimaera-proposed-updates
Pin-Priority: 100

does change the priority :-

apt policy libc6

libc6:
  Installed: 2.31-13+deb11u5
  Candidate: 2.31-13+deb11u5
  Version table:
*** 2.31-13+deb11u5 100
        100 http://deb.devuan.org/merged chimaera-proposed-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.31-13+deb11u4 500
        500 http://deb.devuan.org/merged chimaera/main amd64 Packages

My original version also included o=Devuan which also worked, as above.
I originally used n= rather than a= as the output from apt policy gave this :-

...
100 http://deb.devuan.org/merged chimaera-proposed-updates/main amd64 Packages
     release v=4.0.0,o=Devuan,a=stable-proposed-updates,n=chimaera-proposed-updates,l=Devuan,c=main,b=amd64
     origin deb.devuan.org
...

and I wanted to use chimaera rather than stable, which generally seems to be the recommended approach.

#17 Re: Installation » [SOLVED] libc6 bug fix has not reached chimaera-proposed-updates » 2022-10-22 10:24:02

I now have proposed-updates enabled and have set its priority to 100, so that it will not pull in stuff from there without being told to!

My sources.list looks like this :-

cd /etc/apt
grep -v '#' sources.list | grep -v '^$'

deb http://deb.devuan.org/merged/ chimaera non-free contrib main
deb http://deb.devuan.org/merged/ chimaera-security non-free contrib main
deb http://deb.devuan.org/merged/ chimaera-updates non-free contrib main
deb http://deb.devuan.org/merged/ chimaera-proposed-updates non-free contrib main

cat preferences.d/99devuan-proposed-updates 

Package: *
Pin:  release o=Devuan, n=chimaera-proposed-updates
Pin-Priority: 100

apt policy libc6

libc6:
  Installed: 2.31-13+deb11u5
  Candidate: 2.31-13+deb11u5
  Version table:
*** 2.31-13+deb11u5 100
        100 http://deb.devuan.org/merged chimaera-proposed-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.31-13+deb11u4 500
        500 http://deb.devuan.org/merged chimaera/main amd64 Packages

I think that it is set up correctly and that I could, similarly, add in backports with a priority of 100.

Geoff

#19 Re: Installation » [SOLVED] libc6 bug fix has not reached chimaera-proposed-updates » 2022-10-21 07:16:33

I have now upgraded my system and it seemed to go smoothly.

Geoff

#20 Re: Installation » [SOLVED] libc6 bug fix has not reached chimaera-proposed-updates » 2022-10-21 06:55:13

Indeed, if I change devuan for merged in sources.list, then following an update, I can see libc6 with version u5.

I presume that it is safe to proceed with that and that there is an error on the web page :-

https://www.devuan.org/os/packages

Geoff

#21 Re: Installation » [SOLVED] libc6 bug fix has not reached chimaera-proposed-updates » 2022-10-21 06:48:14

I thought that I should carefully check my sources.list.

I notice that I have :-

deb http://deb.devuan.org/devuan/ chimaera-proposed-updates main contrib non-free 

The important point being that it is using devuan rather than merged, which does follow the advice in :-

https://www.devuan.org/os/packages

but I thought that I should check that it really should be devuan rather than merged.

#22 Re: Installation » [SOLVED] libc6 bug fix has not reached chimaera-proposed-updates » 2022-10-20 15:29:41

Thank you. You are right that I am still on u3.

With chimaera-proposed-updates enabled apt policy reports that it has a priority of 500 like the rest of the repo, while for libc6 :-

apt policy libc6

libc6:
  Installed: 2.31-13+deb11u3
  Candidate: 2.31-13+deb11u4
  Version table:
     2.31-13+deb11u4 500
        500 http://deb.devuan.org/merged chimaera/main amd64 Packages
*** 2.31-13+deb11u3 100
        100 /var/lib/dpkg/status

When I ask for it as you suggest I get :-

apt -t chimaera-proposed-updates install libc6

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libc-dev-bin libc6:i386 libc6-dev
Suggested packages:
  glibc-doc glibc-doc:i386 locales:i386
Recommended packages:
  libc-devtools libnss-nis libnss-nisplus libnss-nis:i386 libnss-nisplus:i386
The following packages will be upgraded:
  libc-dev-bin libc6 libc6:i386 libc6-dev
4 upgraded, 0 newly installed, 0 to remove and 138 not upgraded.
Need to get 0 B/8,213 kB of archives.
After this operation, 229 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
critical bugs of libc6 (2.31-13+deb11u3 → 2.31-13+deb11u4) <Resolved in some Version>
b1 - #1019855 - Fwd: libc6: immediately crashes with SIGILL on 4th gen Intel Core CPUs (seems related to AVX2 instructions), bricking the whole system (Fixed: glibc/2.31-13+deb11u5 glibc/2.35-2)
critical bugs of libc6:i386 (2.31-13+deb11u3 → 2.31-13+deb11u4) <Resolved in some Version>
b2 - #1019855 - Fwd: libc6: immediately crashes with SIGILL on 4th gen Intel Core CPUs (seems related to AVX2 instructions), bricking the whole system (Fixed: glibc/2.31-13+deb11u5 glibc/2.35-2)
Summary:
libc6(1 bug), libc6:i386(1 bug)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...] n

#23 Installation » [SOLVED] libc6 bug fix has not reached chimaera-proposed-updates » 2022-10-20 09:53:48

Geoff 42
Replies: 13

when I attempted an update with

apt update
apt upgrade

I got the following warning :-

critical bugs of libc6 (2.31-13+deb11u3 → 2.31-13+deb11u4) <Resolved in some Version>
b4 - #1019855 - Fwd: libc6: immediately crashes with SIGILL on 4th gen Intel Core CPUs (seems related to AVX2 instructions), bricking the whole system (Fixed: glibc/2.31-13+deb11u5 glibc/2.35-2)

My system has 4th gen Intel Core CPUs, so this looks a bit serious.

I have watched the bug report :-

https://bugs.debian.org/cgi-bin/bugrepo … ug=1019855

and it appears that this has now been fixed and is available in version: 2.31-13+deb11u5 of glibc/libc6.

When I look at the Devuan package info at

https://pkginfo.devuan.org/cgi-bin/poli … 6&x=submit

it seems to report that 2.31-13+deb11u5 is available in chimaera-proposed-updates.

I have added chimaera-proposed-updates to the repositories and updated, however, instead of being at u5 it is still at u4, which has the bug. The bug report had the fix on Fri 14 Oct, which is nearly a week ago. How long should it take for the fix to reach chimaera-proposed-updates?

All the best

Geoff

#24 Re: Other Issues » [SOLVED] Runit - sym-linking sv » 2022-03-23 14:57:55

I have now got a run script working for Xen and will report separately.

The use of sym-linking sv, taken from the link xinomilo gave above, seems to be as follows, assuming you have the foo daemon (food) working via a Runit run file :-

/etc/init.d/food stop
dpkg-divert --add /etc/init.d/food
mv /etc/init.d/food /etc/init.d/food.distrib &&
   ln -s /usr/bin/sv /etc/init.d/food
update-service --add /etc/sv/food

you can then use either of the following styles of command :-

sv status food

or

/etc/init.d/food status

to access the foo service under Runit.

Geoff

#25 Re: Other Issues » [SOLVED] Runit - sym-linking sv » 2022-03-22 16:47:58

OK, thank you for that link. I think it is saying that Runit still requires a proper Runit setup for the service, but you can have it controlled as though it were a SysV init script.

I have not found a Runit setup for xen and have been trying to convert the SysV init script into a Runit run script. To stop it looping I have added

sv once xen

which has the desired effect of stopping the looping when it is not booted on Xen, but more testing is required ;-)

Geoff

Board footer

Forum Software