The officially official Devuan Forum!

You are not logged in.

#1176 Hardware & System Configuration » [Solved] Beowulf update holds back packages » 2019-03-29 18:43:58

rolfie
Replies: 29

Beowulf amd64 with i386 for wine

The following 3 packages are hold back. What might be the reason for this? I don't use pinning.

# apt list --upgradable
elogind/testing 241.1-1 amd64 [aktualisierbar von: 239.3+20190131-1]
libelogind0/testing 241.1-1 amd64 [aktualisierbar von: 239.3+20190131-1]
libpam-elogind/testing 241.1-1 amd64 [aktualisierbar von: 239.3+20190131-1]

Thanks, Rolf

#1177 Re: Installation » mini.iso 16-2-2019 BUG does not install on M2 disks » 2019-03-25 19:15:38

Would be interesting which kind of M2 device the OP has in his PC.

I have installed ASCII on a M2 nvme device without issues. I used a gparted live CD to pre-partition the disk. But also the installer should be able to do the job in manual mode.

Good luck, Rolf

#1179 Re: Installation » UEFI and NVME help » 2019-03-22 19:36:58

The nvme SSD does not matter. ASCII also installs easily on nvme.

The issue is grub and efi with Beowulf, refer to https://dev1galaxy.org/viewtopic.php?id=2676.

Needs to be fixed in the installer.

Rolf

#1180 Re: Hardware & System Configuration » [SOLVED] RAID Controller H730P - megaraid_sas » 2019-03-20 18:51:53

The driver is part of the kernel. The other deb packages are mainly utilities.

Regards, Rolf

#1181 Re: Hardware & System Configuration » Automount problem » 2019-03-16 16:11:21

What hinders you to use fstab? I mount ntfs partitions with boot with entries like:

# Windows
UUID=xxxxxx 	/mnt/Windows	ntfs-3g		rw,uid=1000,gid=1000,auto,users

Works like a charm for many years already.

Rolf

#1182 Re: Installation » Installing openrc. » 2019-03-12 21:05:48

On my ASCII I see the following in /etc/init.d/rcS:

exec /etc/init.d/rc S

while the Beowulf installation on my secondary PC tells me:

set -e
exec /sbin/openrc sysinit

I thought my ASCII was running openrc too, but it is not installed when I look in synaptic. I must be mistaken, maybe fooled by the many Virtual Box trials I did.

Rolf

#1183 Re: Other Issues » Root terminal without password » 2019-03-12 18:40:33

Are you sure you get a root terminal? Or is the prompt more like this one:

username@computername:~$ 

Rolf

#1184 Documentation » root-Terminal under Beowulf with Mate desktop » 2019-03-10 13:41:11

rolfie
Replies: 1

With Beowulf a new challenge is that gksu as tool is no more available to get root privilegues from the graphical desktop. Instead pkexe needs to be used.

This descrition documents the steps required with Mate desktop to create a starter that directly allows to open a root terminal.

Create a new starter in Mate main menu by adding a new entry.
Name: root-Terminal
Command: pkexec mate-terminal
Comment: Starts mate Terminal as root
Icon: select any.
I liked the former gksu icon and have copied the file gksu-root-terminal.png from ASCII to Beowulf and saved it in /usr/share/pixmaps.

In addition a policy needs to be created and saved in /usr/share/polkit-1/actions:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
 "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>

  <vendor>Mate-Terminal</vendor>
  <vendor_url></vendor_url>
  <icon_name>mate-terminal</icon_name>

<action id="org.mate-terminal.pkexec">
   <description>Run mate-terminal as root</description>
   <message>Authentication is required to run mate-terminal as root.</message>
   <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin</allow_active>
   </defaults>
   <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/mate-terminal</annotate>
   <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
 </action>

Owner is root.

If you want to read system log files with the log viewer, a similar thing needs to be done with the system-log-viewer.

Rolf

#1185 Re: Installation » Installing openrc. » 2019-03-07 18:57:16

I can confirm that it is present on ASCII CD/DVD 1 and the Beowulf netinstall dated Feb 19.

The selection is only possible in expert mode as mentioned before. Look for "Load installer components from CD". In there tick the second choice from the top: "choose init". The selection itself happens as one of the last topics in the install before reboot.

Rolf

#1186 Re: Hardware & System Configuration » sudo.log: read only file system » 2019-03-05 18:51:00

Altoid wrote:
rolfie wrote:

Observation: you haven't set a path ...

No, that's not it.
It seems the path is set in the environment variables.

groucho@devuan:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
groucho@devuan:~$ 

Unfortunately, that won't work. This is the path valid in your home only. Starting a shell requires setting path in the shell script or to use the full path to any command. Example from one of my scripts:

#!/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:

Rolf

#1187 Re: Hardware & System Configuration » sudo.log: read only file system » 2019-03-04 17:45:01

Observation: you haven't set a path in the script.

2nd guess: trying to write a log during shutdown might not work.

Regards, Rolf

#1188 Re: Hardware & System Configuration » Devuan on SSD » 2019-03-03 10:20:04

I am using SSDs for 8 or 9 years now with Linux PCs. No failures, no issues. Always used Crucial, starting with M4, later MX100, MX300, now MX500. The two M4s still work fine. All with luks encryption.

Initially I had a complicated setup with /var, /tmp and /swap on HD. Nowadays I have everything on the SSD, and I see no problems.

When you buy a top brand, you won't have issues.

My2cents, Rolf

#1189 Re: Hardware & System Configuration » Shutdown encrypted LVM on Beowulf » 2019-02-26 20:37:52

Are the cryptdisk erros to be expected?

Thanks, Rolf

#1190 Re: Hardware & System Configuration » Shutdown encrypted LVM on Beowulf » 2019-02-25 21:13:16

Just run an apt update/upgrade, that brought about 180 updates, that killed the patch again. Just redid it.

Rolf

#1191 Re: Hardware & System Configuration » Shutdown encrypted LVM on Beowulf » 2019-02-25 20:11:10

Would be easier if I could paste in a screenshot. I don't like these external file sharing hosters.

With the local declaration, I get the following display:

[ ok ] Unmounting local filesystems ... done
* ERROR: cryptdisks failed to stop
* ERROR: cryptdisks-early failed to stop

The shutdown is fast as expected now.

Without the declaration there are additional messages.
When checking my secondary PC again versus the encrypted VM on my main PC, it now looks like the messages I see are related to missing devices in a USB multi-card-reader. They also appear during the boot in an early phase.

The messages look like this:

  /dev/sdc: open failed: No medium found
  /dev/sdd: open failed: No medium found
  /dev/sde: open failed: No medium found
  /dev/sdf: open failed: No medium found
  /dev/sdg: open failed: No medium found

Rolf

#1192 Re: Hardware & System Configuration » Shutdown encrypted LVM on Beowulf » 2019-02-22 19:05:30

I have tried with 1 2 3 4 5 6, the messages seem to come a bit faster, the general appearance still is the same.

#1193 Re: Hardware & System Configuration » Shutdown encrypted LVM on Beowulf » 2019-02-21 21:00:25

Tried to find the line

local dst src key opts opencount major minor

in the new file as a hook or any hint for the patch that shuts down the LVM before the luks container, and failed.

I was able to apply the patch for ASCII, the patch and the description was sufficient for me. But for the new situation in Beowulf I do not understand enough about scripting and scripts to understand in detail what is happening there and how to possibly attack the problem.

To clarify: I got an LVM inside the luks container.

My impression: the new cryptdisks-functions just looks at encrypted volumes and does not take into account that a LVM may be included.

Thanks, Rolf

Remark: I use the classical setup with an un-encrypted boot partition, a system partition which is encrypted, and on top of that a LVM with at least two volumes for root and swap.

#1194 Hardware & System Configuration » Shutdown encrypted LVM on Beowulf » 2019-02-19 21:01:42

rolfie
Replies: 63

Looks like the delays as described in https://dev1galaxy.org/viewtopic.php?pid=7675#p7675 are back in Beowulf. The patch described in https://dev1galaxy.org/viewtopic.php?pid=11522#p11522 which works fine with ASCII does no more apply, the file cryptdisks.functions is no more present in Beowulf.

Looked through the scripts in /lib/cryptsetup/, but could not identify where to patch what.

Any proposals how to attack the issue in Beowulf?

Thanks, Rolf

#1195 Re: Desktop and Multimedia » MATE 1.20 on devuan ascii » 2019-02-18 18:24:08

This is a feature request. Please add mate-tweak to at least mate-desktop-environment-extra. In Buster, this is done.

Helps to adjust the behaviour.

Is this worth to raise a bug request?

Thanks, Rolf

#1196 Re: Desktop and Multimedia » [Solved] Moving application towards panel ends in full screen window » 2019-02-16 21:32:32

Required is: mate-tweak, just found this in https://forums.linuxmint.com/viewtopic. … 665026c41d

There you have the option to disable the windows going to full screen (just go the German term Fenstereinrasten, disable).

Also works on Beowulf = Mate 1.20.

Rolf

#1197 Re: Installation » [Solved] Stuck with Beowulf netinstall » 2019-02-14 21:01:25

Tested your proposal on my faulty VBox Beowulf on efi. Works, removing  grub-efi-amd64-signed followed by a  grub-install does the job.

Maybe this post will help others.

Have a nice evening, thank you again, Rolf

BTW: my secondary PC now is on Beowulf. Some questions remain for other threads.

#1198 Re: News & Announcements » Reporting bugs in devuan » 2019-02-13 22:52:47

I have got 2 to 3 issues.

Topic1 related to reportbug 7.1.6+devuan2.1:
The program simply crashes without error on my Mate Desktop 1.16.2 on my ASCII when selecting a category from the presented list, when pressing the button "Weiter" in German, possibly "Next" in English.

When called from a user terminal, I get this oputput:

reportbug --exit-prompt --ui gtk2
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 1120, in get_reports
    result = get_cgi_reports(package, timeout, system, http_proxy, archived,
NameError: name 'get_cgi_reports' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1050, in sync_pre_operation
    http_proxy=http_proxy, archived=archived, source=source)
  File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 1123, in get_reports
    raise NoNetwork
reportbug.exceptions.NoNetwork

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2235, in <module>
    main()
  File "/usr/bin/reportbug", line 1108, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1722, in user_interface
    latest_first=self.options.latest_first)
  File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1766, in func
    args, kwargs = op.sync_pre_operation(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1052, in sync_pre_operation
    error_dialog("Unable to connect to %s BTS." % sysinfo['name'])
  File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 138, in error_dialog
    _assert_context(ui_context)
  File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 93, in _assert_context
    (_describe_context(really), _describe_context(expected)))
AssertionError: Function should be called in <MainContext of reportbug thread> but was called in <MainContext of UI thread>

Topic2, valid for reportbug and reportbug-ng:
Unfortunately I do not know how at add a screenshot to show what strikes me most (I get Debian stuff instead of Devuan related).

Topic3: reportbug-ng wants to send a mail to: submit@bugs.debian.org. This is not right.

Rolf

#1199 Re: Installation » [Solved] Stuck with Beowulf netinstall » 2019-02-13 21:28:10

Thank you, that description contains the amount of detail I needed. The grub-efi-amd64-signed really was installed, I must have overlooked that fact in my previous searches.

Then I did grub-install --bootloader-id=debian followed by an update-grub.

Now I have got a non-working devuan efi entry, and a working debian efi entry. In any case, now I am logged in as root on my secondary PC.

I think I spend a grub-install --bootloader-id=devuan later.

Thank you for your help, Rolf

#1200 Re: News & Announcements » Reporting bugs in devuan » 2019-02-13 17:52:51

I am trying to submit bug reports from an ASCII installation.

reportbug from Devuan is installed, reportbug/stable,stable,now 7.1.6+devuan2.1 all  [installiert]. When trying to use it, it consequently crashes when selecting a topic from the list shown when you enter other as package name. The list presented is Debian stuff anyhow.

Also tried reportbug-ng/stable,stable 2.1. Also wants to send stuff to Debian, not to Devuan????? Mail prepared in Evolution:

submit@bugs.debian.org, 

Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org

--- Please fill out the fields below. ---

   Package name: Devuan Beowulf netinstall
        Version: Feb. 07 2017
Upstream Author: [NAME <name@example.com>]
            URL: [http://example.com]
        License: [GPL, LGPL, BSD, MIT/X, etc.]
    Description: [DESCRIPTION]

The default configuration is not correct obviously. How can this be fixed?

Thanks, Rolf

Board footer

Forum Software