The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » [Solved] Incomplete install of Tor » 2020-04-04 15:59:19

You might need to install torbrowser-launcher (or one of the other suggested packages)?

I've never used tor so that's just a guess based on it's name.

Chris

#2 Re: News & Announcements » Beowulf Beta is here! » 2020-03-31 16:39:32

aus9 wrote:

@chris2be8

Thanks for the ls command. I did a slight mod to keep a list for later comparisons.

lsinitramfs /boot/initrd.img-4.19.0-8-amd64  > /tmp/init-list.txt

Do you know much about the order of processing initrd?

I don't know anything about the order of processing initrd. Sorry.

I'd run lsinitramfs -l to get a long list of the contents. File sizes etc could be useful.

Chris

#3 Re: News & Announcements » Beowulf Beta is here! » 2020-03-30 15:56:11

You can use lsinitramfs to list the contents of an initrd.img. Also check the man page for unmkinitramfs (that's a script to extract content from an initramfs image). And other related commands.

An old trap is to update something in initramfs and reboot without rebuilding your initramfs (the update gets ignored). I found this the hard way getting CUDA working.

Chris

#4 Re: Hardware & System Configuration » Nvidia warning at boot #2 » 2020-03-25 17:49:18

You probably need to run update-initramfs (or live-update-initramfs) to make the blacklist take effect. Without that the initial ramdisk will still tell the OS to load nouveau. Check the man page first though.

Chris

#5 Re: Hardware & System Configuration » CUPS accounting [Solved] » 2020-03-20 18:22:21

I've just tried copying the two sample logs you gave above and running awk against them and get 3 both times:

chris@rigel:~/ecm-3031$ cat cupslog1 
Samsung_M2020_Series groucho 3 [27/Nov/2018:16:41:51 -0300] 1 1 - localhost
Samsung_M2020_Series groucho 3 [27/Nov/2018:16:42:00 -0300] 2 1 - localhost
Samsung_M2020_Series groucho 4 [05/Dec/2018:08:29:39 -0300] 1 1 - localhost
chris@rigel:~/ecm-3031$ awk '/groucho/{pages += $7} END {print pages}' cupslog1 
3
chris@rigel:~/ecm-3031$ cat cupslog2 
Samsung_M2020_Series groucho 13 [27/Nov/2018:16:41:51 -0300] 1 1 - localhost
Samsung_M2020_Series groucho 13 [27/Nov/2018:16:42:00 -0300] 2 1 - localhost
Samsung_M2020_Series groucho 14 [05/Dec/2018:08:29:39 -0300] 1 1 - localhost
chris@rigel:~/ecm-3031$ awk '/groucho/{pages += $7} END {print pages}' cupslog2 
3

So I can't see what's going wrong for you.

Chris

#6 Re: Hardware & System Configuration » CUPS accounting [Solved] » 2020-03-19 17:30:57

awk counts words separated by spaces. So as long as the number of pages printed is just a string of digits awk will total it correctly. I've run similar code to total multi digit numbers without problems.

You could make a copy of some of the log, edit the numbers, run awk against it and see what you get. That should find any problems in time to fix them

Chris

#7 Re: Other Issues » Can't execute program. System doesn't recognize it's location. » 2020-03-11 17:11:14

take_a_number wrote:
[username]@[hostname]:~$ file ~/Desktop/palemoon/palemoon
/home/[username]/Desktop/palemoon/palemoon: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=85a9932d8111ba3bb1c58f85331435adab6e79e8, stripped

That's probably the wrong architecture. Unless your system is very old you want a 64-bit executable.

Post output from uname -a which will tell us what sort of system you are running on, and what OS it runs.

Also post output from ls -ld ~/Desktop/palemoon/palemoon so we can see what permissions it has.

Chris

#8 Re: Installation » Installing Devuan Ascii 2.1 with virt-install » 2020-02-22 17:57:24

Thanks, got it installed now, and apt-file installed as well.

Chris

#9 Re: Installation » Install Devuan over existing Linux system? » 2020-02-22 17:42:57

You should be able to boot off a live CD (or equivalent), su/sudo to root, mount the hard disk and chroot to it. That should get you into the new system as root, where you could reset passwords as desired. Then you could reboot and log on normally to investigate it. But I've not had to do it myself so I'm not sure if I've missed a step.

Or you could just back up the hard disk from the live system, eg over the network to one of your existing systems.

Or use the live system to edit /etc/shadow on the new system to set the root password hash to the same as on a system where you know the root password.

Chris

#10 Re: Installation » Installing Devuan Ascii 2.1 with virt-install » 2020-02-21 20:58:38

Which package contains isoinfo? And is there a way to search for packages containing a particular file?

Chris

#11 Re: News & Announcements » Sources.list broken » 2020-02-06 17:37:39

Are there tabs instead of spaces in your /etc/apt/sources.list ? Or any other strange characters?

If you can't see anything post output from od -xc /etc/apt/sources.list here (it will be a bit lengthy).

Chris

#12 Re: News & Announcements » Sources.list broken » 2020-02-05 17:13:25

My /etc/apt/sources.list contains

## package repositories
deb http://deb.devuan.org/merged/ ascii main contrib non-free 
deb http://deb.devuan.org/merged/ ascii-updates main contrib non-free 
deb http://deb.devuan.org/merged/ ascii-security main contrib non-free 
# deb http://deb.devuan.org/merged/ ascii-backports main 

## source repositories
# deb-src http://deb.devuan.org/merged/ ascii main 
# deb-src http://deb.devuan.org/merged/ ascii-updates main 
# deb-src http://deb.devuan.org/merged/ ascii-security main 
# deb-src http://deb.devuan.org/merged/ ascii-backports main 

Note there is a / after merged which you do not have. Try adding that.

Chris

#13 Re: Installation » installing nvidia drivers on ascii 2.1 » 2020-01-09 17:26:22

Also try lspci | grep -i NVIDIA followed by lspci -v -s 01:00 (replace 01:00 with the first 5 chars of output from the first command). That should show what kernel driver is in use. Post output here if you are not sure what it means.

Also search the forum for CUDA. I had a lot of "fun" getting it working on my system and posted details of what I had to do. They should help.

Chris

#14 Re: Other Issues » Please let me know why there are so many suid programs and even dirs? » 2019-12-12 17:37:14

Directories like /var/local/ and /var/mail/ are OK, the "s" just means that newly created files and subdirectories in them will have the same group as they do.

Programs like sudo and passwd do need to run as root. So they are the ones you need to worry about.

Chris

#15 Re: Desktop and Multimedia » lightdm wicd error » 2019-12-01 16:54:26

Does lightdm read the user's groups when it starts up and cache them (thus missing groups if LDAP isn't fully up then)? That's the only thing I can think of that would explain why restarting lightdm would make it start working.

Can you delay lightdm starting until after LDAP, wicd, etc are fully initialiased?

Chris

#16 Re: Installation » Problem with *.iso file » 2019-11-30 16:49:03

ralph.ronnquist wrote:

Note that isolinux/isolinux.bin is the "El Torito boot image", and that mkisofs does something to the first 64 bytes on transfer from disk to CD/DVD image, i.e. when the .iso is created.

Why not use something like tail --bytes=+64 isolinux.bin | md5sum to skip the first 64 bytes. That should tell you if the bulk of the file is OK.

Chris

#17 Re: Installation » Configuring persistence » 2019-11-25 16:49:37

Hello,

Looking at that I think it's all OK, you don't need to fix anything. System IDs not having a home dir is not a problem.

tty1 to tty6 are the text terminals you can log on to from ctrl-alt-f1 to f6 (at least on Devuan). It's odd that alien-os appears to be logged on to them if you havn't logged on there, but probably harmless.

Chris

#18 Re: Installation » Configuring persistence » 2019-11-24 17:27:16

A second thought,  users gets it's info from /var/run/utmp but that isn't always accurate (on my system users says nothing even though I'm certainly logged on to it). Try ps -ef | grep alien-os to see what tasks are running as it.

Chris

#19 Re: Installation » Configuring persistence » 2019-11-24 17:20:16

First try cat /etc/passwd and see if there's more than 1 entry for alien-os.

Then pwck -r and grpck -r as root to check for errors in the relevant files. They can delete incorrect entries if run without -r (which means read-only) but read the man pages and use that with caution.

Chris

#20 Re: Devuan Derivatives » Is ~/.profile ignored when running live remastered images? » 2019-10-14 16:09:25

From the man page for bash:

When  bash  is  invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands
from the file /etc/profile, if that file exists.  After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and  ~/.profile,  in  that
order,  and  reads  and  executes  commands  from the first one that exists and is readable.

So if there is a .bashrc on the system .profile will be ignored (unless I've misread that).

Chris

#21 Re: Hardware & System Configuration » second fan, low tone, makes terrible noisef » 2019-10-09 16:57:08

Try sensors which should say something like this:

$ sensors
atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage:       +1.21 V  (min =  +0.80 V, max =  +1.60 V)
 +3.3 Voltage:       +3.38 V  (min =  +2.97 V, max =  +3.63 V)
 +5 Voltage:         +5.21 V  (min =  +4.50 V, max =  +5.50 V)
 +12 Voltage:       +12.32 V  (min = +10.20 V, max = +13.80 V)
CPU FAN Speed:      1205 RPM  (min =  600 RPM, max = 7200 RPM)
CHASSIS1 FAN Speed: 1088 RPM  (min =  600 RPM, max = 7200 RPM)
CHASSIS2 FAN Speed:    0 RPM  (min =  600 RPM, max = 7200 RPM)
POWER FAN Speed:       0 RPM  (min =  600 RPM, max = 7200 RPM)
CPU Temperature:     +80.0°C  (high = +60.0°C, crit = +95.0°C)
MB Temperature:      +33.0°C  (high = +45.0°C, crit = +75.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +74.0°C  (high = +89.0°C, crit = +105.0°C)
Core 2:       +74.0°C  (high = +89.0°C, crit = +105.0°C)

That's on a desktop though so your output won't match that.

Chris

#22 Re: Other Issues » Unable to ssh from A to B to execute sudo command with arguments » 2019-10-02 16:29:27

I've not used sudo for passwordless access for quite a few years. But as far as I can remember:

It should not make any difference whether you logged onto wolke7 through ssh or directly on to it.

Start by running sudo -l on wolke7 and see what it says you can do.

Once you can run it locally without being asked for a password ssh os@192.168.255.42 '/sbin/wondershaper eth0 1500 750' should work.

Chris

#23 Re: Other Issues » .cache folder in root » 2019-09-21 16:00:09

danista wrote:
# head -1 /etc/passwd
root:x:0:0:root:/root:/bin/bash

OK, that's one possible cause ruled out.

Chris

#24 Re: Other Issues » .cache folder in root » 2019-09-20 16:35:38

Where is root's home directory? head -1 /etc/passwd should show you.

If that's / then root's files such as .cache would end up there.

Chris

#25 Re: Off-topic » how to automatically get xinput id of keyboard? [SOLVED] » 2019-09-14 17:02:05

That would not work on my devuan system:
chris@rigel:~/bin$ xinput --list
bash: xinput: command not found

So how can it be done without asking the user to install xinput?

Chris

Board footer

Forum Software