The officially official Devuan Forum!

You are not logged in.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#294 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.

#295 Re: Other Issues » Devuan essential packages ? [SOLVED + CUPS Log Error + Dbus Error] » 2019-05-14 16:41:31

/proc isn't a real filesystem on disk and doesn't contain real files:

chris@rigel:~/bin$ df -k /proc/
Filesystem     1K-blocks  Used Available Use% Mounted on
proc                   0     0         0    - /proc

/proc/kcore will be your systems virtual storage mapped to a file. Don't worry about it (or anything else in /proc).

And in case it helps:
chris@rigel:~/bin$ ll /usr/lib/cups/notifier/dbus
-rwxr-xr-x 1 root root 14328 Jul 11  2018 /usr/lib/cups/notifier/dbus

Chris

#296 Re: Desktop and Multimedia » LXDE GDBus.Error woes » 2019-05-14 16:31:55

The ? means that polkitd isn't attached to a terminal. ps aux gives more information:

chris@rigel:~/bin$ ps aux | grep polkit
chris      360  0.0  0.0  12784   972 pts/2    S+   17:25   0:00 grep polkit
root      2787  0.0  0.1 297264  6992 ?        Sl    2018   0:00 /usr/lib/policykit-1/polkitd --no-debug

chris@rigel:~/bin$ ps aux | head -3
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  15812  1628 ?        Ss    2018   2:25 init [2]
root         2  0.0  0.0      0     0 ?        S     2018   0:05 [kthreadd]

The second command is just to show the column headings. The first column shows polkit runs as root which is why you need ps ax to show it.

Chris

#297 Re: Installation » Interested in installing devuan, couple questions before I do » 2019-05-12 16:01:27

Dutch_Master wrote:
crankypuss wrote:

IMO it's a disgrace that there's no linux distro that will start up in less than a second on some average mid-level machine.

Name me any OS that performs this from a cold start. roll

I had, for a time, a moderately spec'd desktop that could do a cold start in under 10 seconds, using an SSD, running Funtoo. This was with a Grub time-out period, so effectively it could boot in under 5 seconds. I'm still on the same hardware, but as I had to change OS due to Funtoo's inability to perform an intelligent update/upgrade w/o breaking virtually anything, switching to Devuan, it takes a little longer to boot, but still below 30 sec.

My Dragon 32 booted up in about half a second. But it's older than most of the people on the list (built in 1982 if I remember correctly). Boot up times are a nice example of Gates Law (Software gets slower faster than hardware gets faster).

Chris

#298 Re: Installation » The most secure hardened kernel » 2019-05-12 15:57:17

If you need to ask questions like that the three safest options are:

1: Keep it all in your head. And only discuss it face to face when safe from listening devices.

2: Only use pencil and paper etc, not computers.

3: Only use computers that are never connected to the internet at all. And be very careful if you need to copy data from the internet onto them, eg burn it to CD/DVD on an internet connected system, read it on the safe system, then destroy the disk to ensure data can't ever get out.

And think carefully about the threat model if you need to resort to any of the above options.

Chris

#299 Re: Hardware & System Configuration » [Solved] Webserver: connection refused » 2019-05-09 16:37:29

Could you log on to the new server any other way (eg ssh)? Did it respond to ping? Could you connect out from it to anywhere else (I assume it has a screen and keyboard)?

Chris

#300 Re: Hardware & System Configuration » Problematic wake-up, after sleep (ASCII). » 2019-05-09 16:32:44

If you have more than 1 system try ping, ssh, etc from another system to see if the hung system responds.

Does pressing caps/num/shift lock turn on the light on the keyboard?

Do any of the lights on the motherboard or NIC show anything significant (if the light's usually on when it's working and off when it's sleeping what does it show when the systems hung?)

Chris

Board footer

Forum Software