The officially official Devuan Forum!

You are not logged in.

#301 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

#302 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

#303 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

#304 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

#305 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

#306 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

#307 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

#308 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

#309 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

#310 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

#311 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

#312 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

#313 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

#314 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

#315 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

#316 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

#317 Re: Desktop and Multimedia » Blender 2.8 freezes the system. » 2019-08-25 15:58:39

How thoroughly frozen is it?

Does ctrl-alt-f1 get you to a text console when it's hung?
Can you log on from another system (if you have one)? If it's only the GUI that's hung you should be able to investigate then. If that session hangs as well set it running top etc before starting blender and the last screenful should be readable on the other system.
Does pressing caps/num/scroll lock light up the LED on the keyboard.
Does ctrl-alt-del have any affect?
Does the reset button reboot the system? I'd not expect a software bug to stop that.

Chris

#318 Re: Other Issues » system hangs after exiting second tty » 2019-07-13 19:03:37

Can you log on to it from another system (eg via ssh)? If you can then try to use that session to gather data about what tasks are running before and after a hang. And try sudo shutdown -r now as a gentler way to reboot it than the power switch.

Chris

#319 Re: Hardware & System Configuration » Non-specific error message at boot from nVidia drivers » 2019-07-13 18:56:58

I think the number in "udevd[*number*]" is the PID of the udevd task. Run ps -ef | grep udev and see if the PID matches.

On my system /etc/modprobe.d/nvidia.conf contains

install nvidia modprobe -i nvidia-current $CMDLINE_OPTS

install nvidia-modeset modprobe nvidia ; modprobe -i nvidia-current-modeset $CMDLINE_OPTS

install nvidia-drm modprobe nvidia-current-modeset ; modprobe -i nvidia-current-drm $CMDLINE_OPTS

install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-current-uvm $CMDLINE_OPTS

remove nvidia modprobe -r -i nvidia-drm nvidia-modeset nvidia-uvm nvidia

# These aliases are defined in *all* nvidia modules.
# Duplicating them here sets higher precedence and ensures the selected
# module gets loaded instead of a random first match if more than one
# version is installed. See #798207.
alias   pci:v000010DEd00000E00sv*sd*bc04sc80i00*        nvidia
alias   pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*        nvidia
alias   pci:v000010DEd*sv*sd*bc03sc02i00*               nvidia
alias   pci:v000010DEd*sv*sd*bc03sc00i00*               nvidia

But I've not rebooted it for a while and I can't remember if I got that message when I did.

Chris

#320 Re: Installation » KVM guest - kernel panic when running from P9 share root » 2019-07-07 16:16:35

That message might mean you have a symlink loop, eg file a is a symlink to file b, which is a symlink to file a. Try ls -ld /sbin/init to see if it's a symlink to somewhere. If not try searching for a loop in /etc/rc?.d/ (I don't think a hanging symlink would cause this problem).

Chris

#321 Re: Hardware & System Configuration » Passwordless root execution in scripts » 2019-07-06 19:58:54

You can set up entries in /etc/sudoers to let members of a given group (or specific individuals) run specific commands via sudo without asking for a password. See the man page for sudoers for examples (and caveats).

Note that it's often safer to let them run a script you've written as root since the script can do any necessary checks before doing anything dangerous.

Chris

#322 Re: Installation » Help with bootup info and stuff » 2019-06-16 16:17:28

To check if you have sudo set up correctly try sudo id (you should get something like):

chris@rigel:~/ggnfs/tests$ id
uid=1000(chris) gid=1000(chris) groups=1000(chris),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),103(netdev),114(lpadmin),116(scanner)

chris@rigel:~/ggnfs/tests$ sudo id
[sudo] password for chris: 
uid=0(root) gid=0(root) groups=0(root)

Chris

#323 Re: Other Issues » How do I upgrade to latest Devuan [SOLVED] » 2019-06-15 16:17:16

Also run the dist-upgrade with --simulate first (this tell you what it will do but does not do anything).

Chris

#324 Re: Installation » The most secure hardened kernel » 2019-06-15 16:13:03

If OpenBSD people say GNU sources have invisible backdoors just ask them to point out some of them that have been found (or provide other proof that they exist). If they can't provide any evidence you can safely assume they are just scare stories.

The beauty of having the source code is that it's almost impossible to hide a backdoor in it that no one can find. Admittedly the compiler could be rigged to insert a backdoor when certain programs are compiled, but even that can be found by disassembling the compiler or the backdoored program.

Chris

#325 Re: Other Issues » Devuan essential packages ? [SOLVED + CUPS Log Error + Dbus Error] » 2019-05-15 16:40:11

I would advise you to truncate  /usr/lib/cups/notifier/error_log if it's getting too big:
>  /usr/lib/cups/notifier/error_log

rm will remove the directory entry, but won't free space if something still has the file open. You might be able to find it by looking in /proc (it will be in a directory of the PID of the task that has it open) and truncate it there. Otherwise restarting the task(s) will free the space (if all else fails a reboot restarts everything).

Chris

PS. I learnt that in the college of hard knocks.

Board footer

Forum Software