The officially official Devuan Forum!

You are not logged in.

#226 Re: Devuan » Something strange happens to OpenRC after upgrade to Chimaera » 2022-02-20 17:40:24

I don't have OpenRC on my system so I'm just guessing here.

Try reading the man pages for ebegin and eend (if they have them) to see what they should do.
Try calling them directly (passing ebegin a suitable message as a parameter). Do they work?

The part of the script you posted defines a function the script will call further on. Does it change the PATH before calling it?

Does anyone who has OpenRC installed have any suggestions? Even just to say it works for them.

And one last thought, are you on a x86-64 CPU? x86-64 won't work on ARM etc.

Chris

#227 Re: Devuan » Something strange happens to OpenRC after upgrade to Chimaera » 2022-02-18 17:09:36

Run ls -l /lib/rc/bin/ebegin and check if it's marked executable. If it's a symlink to somewhere run ls -l against the destination (repeat until you reach the end if that's a symlink too). Post full output here if you can't understand it.

Then run file /lib/rc/bin/ebegin to see what it is. If it's some kind of script look at the first line of it to see which interpreter it's trying to use. And check that exists. Trying to run a script that tries to use an interpreter that does not exist might produce that message.

Also look at  /lib/rc/sh/supervise-daemon.sh to see if it's changing the path anywhere relevant. And post lines 26 and 52 from it here if you are not sure what they are trying to do.

Chris

#228 Re: Other Issues » [SOLVED-BAD RAM] Browser crashes on Devuan 3 and 4,... » 2022-02-14 17:59:34

First check how many memory sticks you have. If you have more than one then test each with memtest86+ (one pass will be enough). If one gives no errors they you don't need to replace that stick.

You *might* find that one of the sockets in the motherboard is faulty so the memory will work correctly in another socket. Or if you are really lucky just removing and replacing the memory will clean the connections and make it work.

#229 Re: Hardware & System Configuration » Severe damage to ext4 filesystem - advice needed » 2022-02-12 17:19:39

Altoid wrote:

I've realised that this happened because I used lsblk to re-check the USB drive's asigned letter.

Next time run lsblk twice, once *before* you plug the USB drive in and once *afterwards*. Then look for a device (or devices) that was not there before you plugged the USB drive in. Eg:

chris@rigel:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 298.1G  0 disk 
├─sda1   8:1    0   100M  0 part 
├─sda2   8:2    0    40G  0 part /
├─sda3   8:3    0 254.2G  0 part /home
└─sda4   8:4    0   3.9G  0 part 
sr0     11:0    1  1024M  0 rom  

chris@rigel:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 298.1G  0 disk 
├─sda1   8:1    0   100M  0 part 
├─sda2   8:2    0    40G  0 part /
├─sda3   8:3    0 254.2G  0 part /home
└─sda4   8:4    0   3.9G  0 part 
sdb      8:16   1   250M  0 disk 
└─sdb1   8:17   1   250M  0 part 
sr0     11:0    1  1024M  0 rom  

HTH

Chris

#230 Re: Desktop and Multimedia » [SOLVED] Broken pkexec in Chimaera » 2022-01-14 17:14:57

It might be worth checking it still works after one or two more reboots before you mark it as solved. I've see strange things happen too often to trust software to always do what you expect.

#231 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2022-01-05 17:13:56

Does ctrl-alt-f1 get you to a text console? If it does can you log on and see if you can find out why things are broken?

Does pressing Caps Lock, Num Lock or Scroll Lock toggle the LED on the keyboard?

Do you have a rescue (or live) CD/DVD/USB stick to try booting from?

Do you have another computer? If so does the hung one respond to pings or ssh?

#232 Re: Installation » Devuan with AMD integrated graphics » 2021-11-01 16:51:02

What sort of graphics card have you got? Or if you are using onboard graphics what sort of CPU is it?

#233 Re: Hardware & System Configuration » [SOLVED] Display / monitor / mouse freeze after hours - Chimaera, not ASCII » 2021-10-31 16:55:59

100% CPU busy.

Do Caps/Num/Scroll lock turn the relevant LEDs on and off on the keyboard?

Try logging on via ssh from another system and running top. When you get the next hang it should show you what was using the CPU.

#234 Re: Installation » Devuan was working ok, but now no internet » 2021-10-29 16:08:14

Try assigning it an IPv4 address manually to get ethernet working. Eg ifconfig eth0 addr 192.168.1.64/24 as root. Replace eth0 with whatever the link is called. And use an address nothing else you have is using.

That would only be a temporary fix, but would enable you to download fixes onto it.

Or post output from /sbin/ifconfig here to give us a bit more to go by.

#235 Re: Other Issues » recommend a good email prgram » 2021-09-08 16:11:47

durham wrote:

it had a nonsense error where it said a library that did exist did not exist.

Quoting the full text of the error message would be likely to get you a better response.

#236 Re: Installation » Beowulf Live Image Booting Problem » 2021-08-06 16:25:42

What make and model of system is it? CPU, motherboard, manufacturer, etc? Are you booting from a USB drive or a DVD? In either case what model?
Do any messages come out during the boot process?
If you have more than one system does it respond to pings from another system? If so can you log on to it over the network?
Exactly what message came out about the "live-boot" package when booting the minimal install? Can you take a photo of the screen and post it somewhere?

Chris

#237 Re: ARM Builds » [SOLVED] Banana Pi R1 Board - confused about SDcard bulding instructions » 2021-07-31 16:16:47

user9898 wrote:

I had to ask for someone to tell what the 'zcat' tool was for.

The best bit of advice for Linux users is to read the man page for any command you are not sure about. Just typing man zcat would tell you everything you are likely to need to know (although that man page also covers gzip and gunzip so is a bit wordy).

Just get into the habit of reading man pages and you will learn a lot.

Chris

#238 Re: Devuan » Windows 11 will _enforce_ Secure Boot » 2021-07-18 16:40:36

zapper wrote:

Secure boot is a misnomer, I prefer hazardous boot personally.

Yes, the microsoft loves linux thing is yet another deception that should have been obvious to most people, even linus torvaldo should see through the bs. 

Also, yes capitalism is a poison, clarifying to say out of balance.  Denialism is also a problem, which seems to prevent people from dealing with issues, including climate change. 

I roll my eyes at all the people who think capitalism is awesome and pure and perfect...

No balance, no hope.

Aka, no system by itself works, including capitalism...

The problem here is that microsoft is an effective monopoly. Capitalism works well if you have a choice of product to buy, eg cars. But most people have to buy the OS with most software written for it, and most software is written for the OS with most users. So just because microsoft got there first they won control of the desktop. Ditto Intel nearly control the hardware market, though AMD do provide some competition.

WSL is intended to help them keep control by allowing people who need software only available on Linux to stay on windoze.

Nothing but US government intervention could break microsoft's monopoly (eg by requiring that the source code for any OS be made publicly available). And don't hold your breath waiting for that to happen.

It's a similar story with facebook (most people use it because most of their friends use it). And google etc.

Chris

#239 Re: Installation » debootstrap » 2021-07-16 17:24:34

I thought it being marked immutable would be the most likely explanation.

The easiest way to find out how to fix it would have been to read the man page for lsattr, then the related command chattr that refers to. If someone recommends a command you are not familiar with it's always a good idea to read it's man page first.

Chris

#240 Re: Installation » debootstrap » 2021-07-15 16:01:39

Also check if the filesystem it is in is mounted read-only, Eg mount | grep /mnt/sd8

If all else fails copy everything you want to keep from that filesystem to somewhere safe, then re-format it.

Chris

#241 Re: Installation » [SOLVED] Ownership/permisisons of /home/user/mbox » 2021-07-07 17:05:36

Check what root's home directory is (ie it's not /home/groucho). Then look in it to see what it has for it's mbox.

Did you ever switch to root via su without a -, then run mail as root? Or do something else that could make root think it's home dir is /home/groucho ?

Chris

#242 Re: Installation » [SOLVED] Cleaning up installation » 2021-06-19 16:04:30

I'd try apt-get --simulate autoremove first and see what it said it would remove (or apt --simulate autoremove). Then double-check it wasn't saying it would remove anything current.

Chris

#243 Re: Devuan » Using LKRG module with Devuan Linux » 2021-04-14 16:58:25

Eaglet wrote:

After that, the lkrg module will start running every time a user logs into DE.

What would happen if a user types ctrl-alt-F1 and logged on to a text console? Or logged on from another system via SSH etc? You have to look for ways round any security checks.

Chris

#244 Re: Installation » [SOLVED] Help with script » 2021-04-14 16:39:12

https://gist.github.com/npcardoso/47d8f … wakeups-sh has backticks round grep '\*disabled' /proc/acpi/wakeup | cut -d ' ' -f1 and grep '\*enabled' /proc/acpi/wakeup | cut -d ' ' -f1. Those tell bash to run the command inside the backticks and assign the output from it to TOGGLE.

You could use $(...) instead, it's easier to read if you don't get muddled about what sort of brackets to use.

Chris

#245 Re: Other Issues » Kernel plod? » 2021-04-11 16:29:06

I doubt the keyboard really needed to be pressed harder than normal to get it to work. I've had it seem to need it, but eventually found it was an illusion caused by the system running slowly so it *seemed* to ignore keystrokes. Eventually I found pressing key normally always worked if the system was responding at all.

Why /var filling caused the system to respond slowly is more interesting. Do you have any swap files in /var? Were you logged on as root or as a user? If root where would it's home files be? I would expect anything writing to /var to be slow, eg logon writes to /var/log/wtmp. And anything writing to syslog would struggle.

Chris

#246 Re: Desktop and Multimedia » Hard freeze on Cinnamon desktop » 2021-04-06 16:47:28

Micronaut wrote:

I'll have to try Ctrl-Alt-F1 if it happens again. I hadn't heard of that hot-key combination. I think it was Ctrl-Alt-Backspace that forces a desktop environment to quit? I didn't think to try that at the time, but will remember it next time along with Ctrl-Alt-F1....

There are a number of text consoles, accessed by ctrl-alt-F1, ctrl-alt-F2, etc. ctrl-alt-F7 should take you back to the GUI if that's working (it might be some other combination such as ctrl-alt-F6 so it's worth testing before you need it in anger).

And did the logs show anything from the last time it happened? Although I've had systems lock up or suddenly reboot with nothing interesting in the logs before the messages from the system coming back up.

Chris

#247 Re: Desktop and Multimedia » Hard freeze on Cinnamon desktop » 2021-04-05 16:33:41

Does ctrl-alt-f1 get you to a console when it's hung?

Does it respond to ping from another system?

Can you log on via ssh from another system and set top running before a hang? Even if that is frozen the last screenful should give you an idea which task(s) were flooding the system.

Chris

#248 Re: Desktop and Multimedia » [SOLVED] Random freeze on ASCII » 2021-03-23 17:12:29

Try memtest86 (first single threaded, then multi). If that fails it's not the OS causing it.

Could you put the old CPU back in and see if that still works OK?

Try running watch sensors in another window and see if the system gets too hot under load. If you have another system log on to the faulty one (eg by ssh) and run it. That way you could still see the last screenful of output.

Try other stress tests. If it's stable under CPU load but not graphically intensive ones that might point to the error.

But it's odd the OS needs to be re-installed after a few crashes. What are the symptoms in that state?

Chris

#249 Re: Other Issues » [SOLVED] My Devuan is sluggish. » 2021-03-22 17:55:08

Does dmesg show any interesting messages when the system starts running slowly?

Are there any interesting messages in syslog (check /var/log/auth.log /var/log/daemon.log /var/log/kern.log /var/log/messages and /var/log/syslog)?

Chris

#250 Re: Desktop and Multimedia » Gnome flashback session failed to launch. » 2021-02-19 17:16:53

AhmadRaniri wrote:

I also dug into /var/log/messages and found log about gnome-flashback get segfault (I am not really sure what it means).

Please post the segfault log entries here (and a few each side of the segfaults).

Chris

Board footer

Forum Software