The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » How to get inittab correctly written? » 2020-01-14 15:41:43

Which version of Devuan are you running?

You appear to be trying to run it from the command line. As installed, it currently still uses SysV init to get started and /etc/inittab is largely left as standard, but OpenRC gets used by replacements of /etc/init.d/rcS and /etc/init.d/rc.

When you just let it boot, there is very little to see to check that it is working. You will probably want to turn on logging in the config file, /etc/rc.conf then you can look in /var/log/rc.log

Geoff

#2 Re: Hardware & System Configuration » Migrating from ASCII LXDE to Beowulf LXQt » 2020-01-11 17:50:31

Reviewing what I did earlier at I think that simply running OpenRC under Beowulf should be fairly straightforward, whereby it still uses SysV init to get things started, but uses OpenRC to start up services and daemons.

Using openrc-init to replace SysV init completely is a bit more complicated, not helped by a bug in version 0.40 which doesn't sequence things correctly. This has been fixed by version 0.41.2, although this does not appear to be available via Deian/Devuan.

It is possible to compile v 0.41.2 and move in openrc-init, as detailed at :-

https://dev1galaxy.org/viewtopic.php?pid=15539#p15539

It is also necessary to use openrc-shutdown instead of shutdown.

I notice that openrc has moved on to version 0.42.1. I have not yet tried this and, indeed, have only tried openrc-init from 0.41.2. If Devuan is getting OpenRC from Debian, then I wonder how quickly it is likely to get updated. Might we need to get it directly from the authors?

Geoff

#3 Re: Hardware & System Configuration » Migrating from ASCII LXDE to Beowulf LXQt » 2020-01-10 08:10:59

Fortunately, someone has documented what was necessary to get openrc-init working correctly :-

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

I must now check whether this info needs updating. ;-)

Geoff

#4 Re: Hardware & System Configuration » Migrating from ASCII LXDE to Beowulf LXQt » 2020-01-10 07:16:36

While LXQt is running nicely under ASCII, the other point to mention is that it also stops nicely, in that you can shutdown via the leave options in the menu. I am running OpenRC. Under ASCII, SysV init is still used but control is passed to openrc to start all of the other processes.

On my laptop, under Beowulf, OpenRC ships with a replacement for SysV init, and I am using this replacement. I cannot recall whether this is how it is installed, or whether I had to configure it to do that. Anyway, this affects how the system id shut down. If you just run shutdown, OpenRC seems to notice that things are stopping and seems to restart them. There is a replacement /usr/bin/openrc-shutdown which works correctly. There is just the question of how you run it from the GUI. I have hacked up a very crude pop-up with xmessage, which doesn't look very good, but does work. I am just checking what I did, as it was some time ago!

Geoff

#5 Re: Hardware & System Configuration » Migrating from ASCII LXDE to Beowulf LXQt » 2020-01-09 16:28:16

I have managed to read some of the pop-up on shutdown. It seems to be a message about Dbus, which may well be correct, if it gets shutdown before I am completely logged out.

Geoff

#6 Hardware & System Configuration » Migrating from ASCII LXDE to Beowulf LXQt » 2020-01-09 10:39:46

Geoff 42
Replies: 4

I have a laptop running Beowulf and Lxdm/LXQt and I want to migrate my desktop from ASCII and LXDE/Lxdm to the same as the laptop, as it seems that LXQt works a bit more smoothly with the policykit set-ups available. I do have a few other things running under ASCII (including Postgresql, Postfix), so want to be a bit careful.

The plan was to move over to LXQt from LXDE, whilst still under ASCII and then ensure that the policykit stuff was set up correctly.

I currently have the following installed :-

elogind
libelogind0
libpam-elogind

consolekit
libck-connector0
libpolkit-backend-consolekit-1-0
libpolkit-gobject-consolekit-1-0

This is working with LXDE/Lxdm. It also seems to work ok with LXQt/Lxdm.

Moving to LXQt works, but it did take quite a bit of fiddling to get it running as I like it. I use spacefm instead of pcmanfm, which also looks after the desktop wallpaper. To get this running I went into Preferences>LXQt settings>Session settings

Under Basic Settings, I turned off Desktop, which is the module for pcmanfm, with the other modules all selected.
Under Autostart LXQt Autostart I added spacefm with the command

spacefm --desktop

Under Global Autostart I have turned off :-

Network
PulseAudio
Wicd
Power Manager

(Power Manager is the xfce one - the LXQt one is set in Basic settings)

My desktop has wired ether, so I am not using the network managers,

In order to configure the Panel, you can right click on the panel and select Configure Panel.

Setting up the Quick launch widget, involves dragging the desired programs from the start menu and dropping them on the Quick launch widget.

The wallpaper is set up by running spacefm and going to View>preferences>Desktop.

At this point, if I run lxqt-sudo rxvt -rv& it produces this warning (but still runs) :-

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "en_GB:en",
    LC_ALL = (unset),
    LC_MEASUREMENT = "en_NZ.UTF-8",
    LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").

I have used LC_MEASUREMENT = "en_NZ.UTF-8" in order to get metric measurements.
This warning does not appear under LXDE, but instead reports (and still works) :-

QXcbConnection: XCB error: 3 (BadWindow), sequence: 651, resource id: 16779311, major code: 40 (TranslateCoords), minor code: 0

Using Synaptic, if I try and mark libpolkit-backend-elogind-1-0 for installation it reports that it will also install libpolkit-gobject-elogind-1-0, while removing :-

consolekit
libpolkit-backend-consolekit-1-0
libpolkit-gobject-consolekit-1-0
lxde etc.
slim

I did the installation with :-

apt update
apt install libpolkit-backend-elogind-1-0

which then carried out the same things as Synaptic indicated. /var/log/apt/history.log reports :-

Start-Date: 2020-01-08  16:38:59
Commandline: apt install libpolkit-backend-elogind-1-0
Requested-By: ggibbs (1026)
Install: libpolkit-backend-elogind-1-0:amd64 (0.105-25+devuan0~bpo2+1), libpolkit-gobject-elogind-1-0:amd64 (0.105-25+devuan0~bpo2+1, automatic)
Remove: lxde-core:amd64 (9), consolekit:amd64 (0.4.6-6), slim:amd64 (1.3.6-5.1+devuan2), lxsession-logout:amd64 (0.5.3-2), libpolkit-backend-consolekit-1-0:amd64 (0.105-25+devuan0~bpo2+1), lxde:amd64 (9), lxsession:amd64 (0.5.3-2), openbox-lxde-session:amd64 (0.99.2-3), libpolkit-gobject-consolekit-1-0:amd64 (0.105-25+devuan0~bpo2+1)
End-Date: 2020-01-08  16:39:14

I have rebooted the machine and everything seems to work nicely. There are a couple of pop-ups which appear.
One is at login, when it reports that it is unable to bind the keys Control+Alt+D.
Another appears at shutdown but it disappears very quickly as the machine does indeed shutdown and I am unable to see what it says!

/var/log/messages reports :-

Jan  8 19:12:48 fluorine shutdown[4290]: shutting down for system halt
Jan  8 19:12:49 fluorine kernel: [ 2533.514734] lxqt-runner[3859]: segfault at 20 ip 00007fc12ecf9ea4 sp 00007ffd77a10790 error 6 in libQt5Core.so.5.7.1[7fc12ec54000+4be000]
Jan  8 19:12:49 fluorine kernel: [ 2533.514746] Code: 66 0f 1f 44 00 00 55 53 ba 01 00 00 00 48 83 ec 28 64 48 8b 04 25 28 00 00 00 48 89 44 24 18 31 c0 48 c7 44 24 08 00 00 00 00 <f0> 48 0f b1 17 0f 94 c2 74 05 48 89 44 24 08 84 d2 48 8b 5c 24 08

/var/log/auth.log  reports :-

Jan  8 18:31:15 fluorine polkitd(authority=local): Registered Authentication Agent for unix-session:1 (system bus name :1.12 [lxqt-policykit-agent], object path /org/lxqt/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
...
Jan  8 19:12:50 fluorine polkitd(authority=local): Unregistered Authentication Agent for unix-session:1 (system bus name :1.12, object path /org/lxqt/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected from bus)

The machine is currently running ASCII well with LXdm/LXQt and elogind. I will do some checking before I look at the upgrade to Beowulf itself...

Geoff

#7 Re: Devuan » Debian considering going systemd init only » 2019-12-28 14:53:45

aut0exec wrote:

That tallying system made the head hurt...

It looks as though it is the Condorcet method of voting

https://en.wikipedia.org/wiki/Condorcet_method

Geoff

#8 Re: Other Issues » [SOLVED] Apt-get show one package per line? » 2019-12-20 09:21:06

bgstack15 wrote:

Apt list --upgradable shows me a different list than what apt-get upgrade -V does.

Is this partly due to the difference between apt-get upgrade and apt-get dist-upgrade? (or apt upgrade and apt full-upgrade)

I suppose, in this context that using -V may be more accurate, in that it shows what it is actually about to do, rather than what it could potentially do, depending on which version of the command you later give.

Geoff

#9 Re: Other Issues » [SOLVED] Apt-get show one package per line? » 2019-12-19 16:37:26

Isn't that what apt list --upgradable does? It lists the repository with the versions.
The info fits on single lines if your terminal is wide enough ;-)

Geoff

#10 Re: Other Issues » [SOLVED] Apt-get show one package per line? » 2019-12-17 16:25:11

How about :-

# apt update
Get:1 http://deb.devuan.org/merged ascii InRelease [25.6 kB]
...
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
# apt list --upgradable
Listing... Done
git/stable-security,stable-proposed-updates 1:2.11.0-3+deb9u5 amd64 [upgradable from: 1:2.11.0-3+deb9u4]
intel-microcode/stable-security,stable-proposed-updates 3.20191115.2~deb9u1 amd64 [upgradable from: 3.20191112.1~deb9u1]
sa-compile/stable-security,stable-security,stable-proposed-updates,stable-proposed-updates 3.4.2-1~deb9u2 all [upgradable from: 3.4.2-1~deb9u1]
spamassassin/stable-security,stable-security,stable-proposed-updates,stable-proposed-updates 3.4.2-1~deb9u2 all [upgradable from: 3.4.2-1~deb9u1]
spamc/stable-security,stable-proposed-updates 3.4.2-1~deb9u2 amd64 [upgradable from: 3.4.2-1~deb9u1]
thunderbird/stable-security 1:68.3.0-2~deb9u1 amd64 [upgradable from: 1:68.2.2-1~deb9u1]
thunderbird-l10n-en-gb/stable-security,stable-security 1:68.3.0-2~deb9u1 all [upgradable from: 1:68.2.2-1~deb9u1]

Is that the sort of thing you are after?

Geoff

#11 Re: Hardware & System Configuration » Eudev broke down after upgrade. » 2019-12-13 09:03:32

Yes, a routine update has moved eudev and libeudev1 from 3.2.2-16 to 3.2.2-17 and I can reboot and still log in ;-)

rc.log reports :-

OpenRC 0.23 is starting up Linux 4.19.0-0.bpo.4-amd64 (x86_64)

* /proc is already mounted
* /run/openrc: creating directory
* /run/lock: correcting mode
* /run/lock: correcting owner
* Caching service dependencies ...
[ ok ]
keyboard-setup.sh     |[....] Setting up keyboard layout...cannot open file /tmp/tmpkbd.QWaL78
eudev                 |[....] Starting hot-plug events dispatcher: udevd[ ok .
eudev                 |[....] Synthesizing the initial hotplug events...[ ok done.
eudev                 |[....] Waiting for /dev to be fully populated...keyboard-setup.sh     |[ ok done.
[ ok done.

Thank you.

Geoff

#12 Re: Hardware & System Configuration » Eudev broke down after upgrade. » 2019-12-12 09:33:25

OK, but I can't afford to break my machine today, so it will probably have to wait until Friday.

Geoff

#13 Re: Hardware & System Configuration » Eudev broke down after upgrade. » 2019-12-11 14:15:15

OK, I decided to come at this from a different angle and see if the eudev problem was a simple configuration problem.

rc.log was reporting :-

Service `eudev' needs non existent service `unmountroot'
[ ok ]
eudev                 | * ERROR: eudev needs service(s) unmountroot

I had a look in /etc/init.d/eudev and it started :-

#!/bin/sh -e
### BEGIN INIT INFO
# Provides:          eudev udev
# Required-Start:    mountkernfs
# Required-Stop:     unmountroot
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Start udevd, populate /dev and load drivers.
### END INIT INFO

so it was asking for unmountroot, however, on my Beowulf laptop, it wants umountroot and there is indeed a service umountroot. I saved a copy of eudev in /root and then edited out the unwanted "n", so that eudev now starts :-

#!/bin/sh -e
### BEGIN INIT INFO
# Provides:          eudev udev
# Required-Start:    mountkernfs
# Required-Stop:     umountroot
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Start udevd, populate /dev and load drivers.
### END INIT INFO

This now boots just fine and rc.log reports :-

OpenRC 0.23 is starting up Linux 4.19.0-0.bpo.4-amd64 (x86_64)

* /proc is already mounted
* /run/openrc: creating directory
* /run/lock: correcting mode
* /run/lock: correcting owner
* Caching service dependencies ...
[ ok ]
keyboard-setup.sh     |[....] Setting up keyboard layout...cannot open file /tmp/tmpkbd.QWaL78
eudev                 |[....] Starting hot-plug events dispatcher: udevd[ ok .
eudev                 |[....] Synthesizing the initial hotplug events...[ ok done.
eudev                 |[....] Waiting for /dev to be fully populated...keyboard-setup.sh     |[ ok done.
[ ok done.

Geoff

#14 Re: Hardware & System Configuration » Eudev broke down after upgrade. » 2019-12-10 20:41:13

Ah, I think it is allow-downgrades.

This still produces the same problem with unpacking eudev.

Geoff

#15 Re: Hardware & System Configuration » Eudev broke down after upgrade. » 2019-12-10 20:08:42

Thank you.

I have now tried unsuccessfully :-

apt install --reinstall  --force-downgrade eudev=3.2.2-13 libeudev1=3.2.2-13 libeudev-dev=3.2.2-13
E: Command line option --force-downgrade is not understood in combination with the other options

apt-get install --reinstall  --force-downgrade eudev=3.2.2-13 libeudev1=3.2.2-13 libeudev-dev=3.2.2-13
E: Command line option --force-downgrade is not understood in combination with the other options

apt install --force-downgrade eudev=3.2.2-13 libeudev1=3.2.2-13 libeudev-dev=3.2.2-13
E: Command line option --force-downgrade is not understood in combination with the other options

I expect I am overlooking something simple!

I have also managed to open a vnc window from my laptop and then run Synaptic, but that also gets the same problem unpacking eudev that I got with apt.

Geoff

#16 Re: Hardware & System Configuration » Eudev broke down after upgrade. » 2019-12-10 17:09:10

I have tried reinstalling with the version 13 :-

apt install --reinstall  eudev=3.2.2-13 libeudev1=3.2.2-13 libeudev-dev=3.2.2-13

but is fails with

dpkg: error processing archive /var/cache/apt/archives/eudev_3.2.2-13_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
insserv: warning: script 'savecache' missing LSB tags and overrides
dpkg: warning: downgrading libeudev1:amd64 from 3.2.2-16 to 3.2.2-13
Preparing to unpack .../libeudev1_3.2.2-13_amd64.deb ...
Unpacking libeudev1:amd64 (3.2.2-13) over (3.2.2-16) ...
Errors were encountered while processing:
/var/cache/apt/archives/eudev_3.2.2-13_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Geoff

#17 Re: Hardware & System Configuration » Eudev broke down after upgrade. » 2019-12-10 16:31:25

Looking in /var/log/dpkg.log I see :-

2019-12-10 10:32:15 upgrade eudev:amd64 3.2.2-13 3.2.2-16

Geoff

#18 Re: Hardware & System Configuration » Eudev broke down after upgrade. » 2019-12-10 16:27:42

I have also hit this problem with eudev after an upgrade.

Looking in /var/log/rc.log I can see :-

OpenRC 0.23 is starting up Linux 4.18.0-0.bpo.1-amd64 (x86_64)

* /proc is already mounted
* /run/openrc: creating directory
* /run/lock: correcting mode
* /run/lock: correcting owner
* Caching service dependencies ...
Service `eudev' needs non existent service `unmountroot'
[ ok ]
eudev                 | * ERROR: eudev needs service(s) unmountroot
keyboard-setup.sh     |[....] Setting up keyboard layout...cannot open file /tmp/tmpkbd.QWaL78

What I am seeing is that the keyboard and mouse appear dead but the screen is still live, with the time updating.

I can log in via ssh.

Geoff

#19 Re: Other Issues » [Solved] hostname issue » 2019-11-16 16:53:42

Are you running dhcp? Could this have handed out a new host name?

What is in /etc/network/interfaces ?

Geoff

#20 Re: Desktop and Multimedia » Choosing an email client » 2019-10-29 16:07:49

I had a look at using /usr/local as the location for interlink. The steps were :-

create the directory /usr/local/interlink owned by me
as me unpack the tar file into /usr/local/interlink
create a link /usr/local/bin/interlink to /usr/local/interlink/interlink

This then still works and interlink wanted to update, so I let it do this and then let it restart and this also worked. I do not know if there are security problems with having the program owned by me rather than root.

I checked the network traffic with wireshark and it does seem to be encrypted as I would expect.

Geoff

#21 Re: Desktop and Multimedia » Choosing an email client » 2019-10-28 16:37:59

I have just installed Interlink Mail (the GTK2) version, and it looks quite nice.

I get the impression that Interlink is to Thunderbird as Pale Moon is to Firefox. As a Pale Moon user this is pleasing.

I had to set up my mail account manually, but simply copying the settings from Claws is quite easy!

I'm not sure where would be a sensible place to install it, maybe /usr/local/.

The memory size is under 200 MB and seems very responsive.

I also came across the web site "Alternatives to"

https://alternativeto.net/software/inte … -and-news/

Which offers alternative software offering.

Geoff

#22 Re: Desktop and Multimedia » Choosing an email client » 2019-10-27 15:15:18

I Used top to get some idea of the size of the program in memory, looking at the resident set size as the measure.

Claws was about 125 MB
Evolution    c. 133 MB
Thunderbird  c. 370 MB

Although further observation spotted that Evolution has quite a number (8?) of other processes between 20 and 80 MB.

I have the impression that Claws is the most responsive, although Evolution and Thunderbird are not very far behind.

On the subjective question of the look and feel, I am used to Claws and I like that it seem tight and compact in its use of screen space. When I had tidied up the layout of the other two and lined them up side by side, however, it turns out that the other two were no worse.
I thought that Evolution looks a bit more elegant, although it is currently displaying links in white. On the grey background of the headers this is not very good, but on the white background of the message body, they are invisible! After fiddling with the preferences>Mail Preferences and turning off and then on the "use the same fonts as other applications", the links are now showing in black!
Thunderbird shows the links in blue, while Claws shows links in green.
When I first ran Thunderbird I was unhappy with the way the menu and toolbars were arranged around the top of the window which I found untidy and unhelpful. With a little bit of tidying up I am more relaxed about it, although this not my favourite arrangement.

On the security front, Claws have the Webkit based "fancy" html plugin deprecated, because of its use of Webkit. As far as I can tell Evolution also uses Webkit and one of its dependencies is libwebkit2gtk-4.0-37. It also appears to have a couple of other processes running, which have Webkit in their names.
I do not know what Thunderbird uses for HTML rendering.

Geoff

#23 Re: Desktop and Multimedia » Choosing an email client » 2019-10-26 16:45:33

Thank you for your comment, they are very helpful.

I have started by having another look at Thunderbird and a look at Evolution, as they are simple installs.

Given my email address they were both able to set up my account. Thunderbird came up with the same settings as I use on Claws, using ports 465 and 993 while evolution wanted to use 587 and 143. I chose to change the settings on Evolution to 465 and 993 and this seems to work nicely. I then checked all 3 by running Wireshark to look at the network traffic and all 3 seemed to encrypt the logon and data conversations with the imap server.

Geoff

#24 Desktop and Multimedia » Choosing an email client » 2019-10-24 14:45:45

Geoff 42
Replies: 9

I like my email client to have a fairly simple gui and when I was first choosing an email client on Linux, the first one to try was Thunderbird. This seemed to work ok and I got the ssl settings working, but I thought that I should check that this was ok. I therefore tracked the network traffic with Wireshark (or whatever it was called then!). The initial conversation to encrypt the traffic could be seen, but it then went and passed the username and password over in clear! It may be that I had not got the settings quite right and/or the situation may have improved since then, but I looked for something else and found Claws-mail.

Claws seemed to do everything I wanted. It showed messages as plain text, but could display the html if I requested. It also seemed to encrypt the traffic correctly. The display of html is handled by the "fancy" plug-in, which seems to work very nicely. However, as we move towards Beowulf, this plug-in is deprecated as there is a security problem with the web-kit engine that it uses. The replacement for "fancy" is Dillo. Dillo will also work as a stand alone browser and for some web sites with simple html requirements works quite well. It is, however, fairly restricted in what it will display. In the more recent versions of Claws there is also another plug-in available called LiteHTML.

LiteHTML is not avalable in Beowulf but is avalable in Ceres. I thought that I should test this out and enabled the ceres repository. I then installed the most recent claws and litehtml and let it pull in its dependencies. I then removed ceres from the repository. This is probably not a recommended practice, but it looked as though it was not going to pull in very much and in fact, it does actually work in this case, also my Beowulf laptop is not mission critical for me! The LiteHTML plug-in does indeed seem to work nicely. One thing which works with LiteHTML and used to work with "fancy" was "cid:" references to other mime segments. This does not work with Dillo. I think that the LiteHTML plug-in is a bit more permissive with what it will display when compared with "fancy", which, say, would not load remote html content until specifically requested.

I wonder what other mail clients people like. kmail seems to get nice comments, although I do not use KDE. I use lxde or lxqt and use IMAP to access my mailbox.

Geoff

#25 Re: Desktop and Multimedia » Policykit, elogind & consolekit » 2019-10-24 13:43:46

Thank you for that clarification.

I think that I would not be able to explain how I got to my current ASCII set-up! I see that on the desktop /lost+found and /usr date from Sep 2013, so assume that the set up originates from then. I believe that it pre-dates elogind and that I installed that when it first became available. I have at some point installed lxqt on the desktop, but am not currently using it.

I went with lxqt on Beowulf because it appeared that that was the way things were going and that lxde pulled in stuff that didn't sit too comfortably with everything else.

Geoff

Board footer

Forum Software