The officially official Devuan Forum!

You are not logged in.

#201 Re: Hardware & System Configuration » apt-mark » 2022-10-03 16:28:49

sgage wrote:

When I typed 'apt-mark' yesterday, I got 'command not found'. Today it's working.

From experience the most likely explanation is that you misspelt it yesterday. I've learnt to take a hard look at what I typed if I get that error.

Have you still got the screen output? Or does your command history show you what you really typed?

If it's not that could your PATH have been altered to not include /usr/bin?

#202 Re: Other Issues » [SOLVED] boot error » 2022-10-02 16:36:07

First try ls -ld /tmp/ Output should look like

drwxrwxrwt 10 root root 16384 Oct  2 17:30 /tmp/

If it's missing then as root mkdir /tmp and chmod 1777 /tmp and see if that fixes it. If it exists but perms are not drwxrwxrwt enter the chmod.

#203 Re: Hardware & System Configuration » [SOLVED] external NVMe SSD is piggish » 2022-09-23 16:03:46

What happens if you put the Toshiba SSD into the Vantec enclosure? If both SSDs run fast in the Plugable enclosure and slow in the Vantec then you might be able to return it as faulty (if it's still in warranty). Or at least scrap it with full justification.

#204 Re: Installation » name of log for error/warning messages seen during boot » 2022-09-07 16:27:01

Can you take a video of the boot messages, then play it back a frame at a time? Or post it here so someone with better eyes can try to read it?

#205 Re: Freedom Hacks » Replacing sudo. » 2022-09-03 16:03:09

Excalibur wrote:

So, to install doas do the following: aptitude purge sudo ; aptitude install doas      (use your preferred package manager)

Or better:
aptitude install doas
Check doas works and does everything you need!
aptitude purge sudo
Now check if everything still works. Eg does the menu option to shut down the system need sudo?

I've spend too many years installing software to risk cutting myself off.

#206 Re: Hardware & System Configuration » [SOLVED] lvcreate is not working as expected » 2022-09-01 16:20:50

UnixRocks wrote:

This is a brand new disk, just taken out of the factory packaging this past weekend. It was completely blank when I added it as a PV then created the VG for the first time and attempted to create the first logical volume on it using the same LVM steps at the CLI I have used hundreds of times in my job as a Unix / Linux administrator at a regional ISP. Since then I have removed all the LVM data and started from a completely blank disk more than once now. There was nothing on the disk to confuse LVM from the start.

I once overheard one of the LAN admins in our company complaining loudly about a supposedly new disk not being blank (about half of the people in the canteen could hear him). He had spent several hours trying to add the disk to a Novell Netware server and could not get it to work. Eventually he removed all the old disks from the server and booted it with just the new supposedly blank disk in it and it came up as another company's server!

So don't assume a new disk is always blank. Or that a disk you send back as faulty (or part of a faulty system) won't end up being sold to a random customer. Always wipe anything that might be sensitive first.

#207 Re: Installation » mariadb on ceres » 2022-08-25 16:15:10

mknoop wrote:

/var/lib/mysql$ stat aria_log_control
  File: aria_log_control
  Size: 52            Blocks: 8          IO Block: 4096   regular file
Device: 801h/2049d    Inode: 404111      Links: 1
Access: (0660/-rw-rw----)  Uid: (  112/   mysql)   Gid: (  120/   mysql)
Access: 2022-08-24 14:52:13.500000000 -0500
Modify: 2022-08-24 14:37:32.160000000 -0500
Change: 2022-08-24 14:37:32.160000000 -0500
Birth: 2020-09-11 16:02:07.848000000 -0500

I do not know how to interpret this.

That says the file is owned by mysql, has group mysql and can be read and written by user mysql and any user in group mysql. Which all looks OK to me.

The last 4 lines of output say when it was last accessed (ie read), modified (written to), had it's directory entry changed and when it was first created.

Unfortunately the man page for stat is not very clear. But running it against a few files with known characteristics it's fairly easy to work out what it means.

As I said I don't run mariadb, so I was just guessing from the first error message in the log extract. So kudos to rbit.

#208 Re: Installation » mariadb on ceres » 2022-08-24 16:48:20

Does /var/lib/mysql/aria_log_control exist?
Would mysqld be able to write to it? Post output from stat '/var/lib/mysql/aria_log_control' if you are not sure.
Would mysqld be able to write to /var/lib/mysql/ ?

I'm just guessing what to look at, I don't run mariadb myself.

#209 Re: Installation » mariadb on ceres » 2022-08-21 15:54:26

The interesting part looks to be:

mknoop wrote:

Starting MariaDB database server: mariadbd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mariadb, action "start" failed.

What happens if you invoke the start script manually? Does that produce any interesting messages?

Was mariadb running OK before the upgrade (or is this a new install)?

If it's a new install do you need to do any first time setup steps?

#210 Re: Hardware & System Configuration » lsblk command doesn't see my usb plugged Android phone » 2022-08-11 17:10:18

At a guess the system sees the phone, but not as a block device. Try lsusb and see if that says anything (if in doubt run lsusb with the phone plugged in and again after unplugging it). Then try lsusb -v -s <whatever it's address is>

#211 Re: Installation » [SOLVED] How to INSTALL the .ISO that Refracta Snapshot creates? » 2022-08-08 16:02:17

I would *not* use --delete for restoring. It will delete any files on the target that are not in the backup. So you would lose any newly created files.

And I would be very wary of using it when backing up the system. If an important file, such as the kernel, got deleted by mistake and you didn't notice before running a backup you would lose the backup copy of it as well.

Also note it's a very good idea to test restoring things before you need to do it for real.

#212 Re: Installation » Choices during install of Chimaera not being applied » 2022-07-23 16:05:50

Perhaps the expert installer should have a note by it saying "Don't choose this for your first installation". Or other words to that effect.

#213 Re: Other Issues » "Temporary failure resolving 'deb.devuan.org' " » 2022-07-20 16:11:32

Checking a bit more:

chris@rigel:~/bin$ host deb.devuan.org
deb.devuan.org is an alias for deb.rr.devuan.org.
deb.rr.devuan.org has address 200.236.31.1
deb.rr.devuan.org has address 125.228.189.120
deb.rr.devuan.org has address 185.178.192.43
deb.rr.devuan.org has address 160.16.137.156
deb.rr.devuan.org has address 195.85.215.180
deb.rr.devuan.org has address 89.174.102.150
deb.rr.devuan.org has address 131.188.12.211
deb.rr.devuan.org has address 185.203.114.135
deb.rr.devuan.org has address 158.69.153.121
deb.rr.devuan.org has address 185.38.15.81
deb.rr.devuan.org has address 95.216.15.86
deb.rr.devuan.org has address 46.4.50.2
deb.rr.devuan.org has address 130.225.254.116
deb.rr.devuan.org has address 141.84.43.19
deb.rr.devuan.org has address 185.183.113.131
deb.rr.devuan.org has address 5.9.122.185
deb.rr.devuan.org has IPv6 address 2a0a:e5c0:2:2:400:c8ff:fe68:bef3
deb.rr.devuan.org has IPv6 address 2001:638:a000:1021:21::1
deb.rr.devuan.org has IPv6 address 2001:4190:801c:1::150
deb.rr.devuan.org has IPv6 address 2001:878:346::116
deb.rr.devuan.org has IPv6 address 2a01:4f9:2a:fa9::2
deb.rr.devuan.org has IPv6 address 2a01:4f8:162:7293::14
deb.rr.devuan.org has IPv6 address 2001:4ca0:4300::1:19
deb.rr.devuan.org has IPv6 address 2001:e42:102:1704:160:16:137:156
deb.rr.devuan.org has IPv6 address 2a01:4f8:140:1102:2b76:955d:b48f:bdf3
deb.rr.devuan.org has IPv6 address 2607:5300:61:95f:7283:11d9:f86:e691
deb.rr.devuan.org has IPv6 address 2801:82:80ff:8000::2
deb.rr.devuan.org has IPv6 address 2a01:9e40::180
deb.rr.devuan.org has IPv6 address 2a02:2a38:1:400:422a:422a:422a:422a

The first line of output is noteworthy.

So if you still have problems try ping deb.rr.devuan.org and see if that works. It's *possible* that just the alias deb.devuan.org was missing from the DNS server you were using.

If that also fails try host deb.devuan.org to see if the alias is there but not deb.rr.devuan.org.

The other thing that could happen is that one or more of the servers the load is shared over was down/inaccessible. This could cause intermittent failures which would be a pain to sort out. Especially if they are only blocked from some IP addresses.

#214 Re: Other Issues » "Temporary failure resolving 'deb.devuan.org' " » 2022-07-17 15:50:57

First try pinging the address in the URL and see if you get a response.

Then put the URL into a browser and see what it shows.

If still stuck post the contents of /etc/apt/sources.list here. And full output from apt update.

#215 Re: Off-topic » Executables in home directory » 2022-07-16 16:18:51

Check your path with echo $PATH (that's the most likely case).

But of course a "dropper" might well try to put things into somewhere in your path where it might get executed without you realising it. You might be better off copying from ~/bin etc every so often, *after checking what you are about to copy is OK*.

#217 Re: Installation » [SOLVED] Anacron symlinked to "true", again. » 2022-06-25 15:53:24

On my system la is an alias:

$ alias
alias l='ls -alF'
alias la='ls -A'
alias ll='ls -l'
alias ls='ls --color=auto'

Which is set in .bashrc (I don't know why it doesn't work for you though).

#218 Re: Installation » alternatives to Mozilla's and Chomethings » 2022-05-16 15:51:26

If you do have to use Firefox (or other not very privacy friendly browser) it's a good idea to shut down your internet connection before starting it for the first time. Then you can go through settings to switch off telemetry, set home page to a blank page (or some page you trust), switch on "do not track", etc without giving it a chance to phone home *before* you tell it not to phone home. But you might need another system to search for *all* the settings you need to change.

It would be nice if distros could ship Firefox with default settings like that, but that's probably deliberately made difficult.

#219 Re: Hardware & System Configuration » undesireable Motherboard config changes to time and fan settings » 2022-05-12 16:52:00

How old is it? I assume it's a desktop, not a laptop.

My first step would be to open the case and vacuum dust, fluff, etc out of it (especially round the CPU cooler). That might stop it over heating. Then check for stuck fans etc. And anything that would obstruct airflow. I had one PC with a decorative grill over the fan inlet, removing the grill cooled the CPU several degrees.

#220 Re: Hardware & System Configuration » [SOLVED] rsyncd - permission issue » 2022-04-30 15:58:09

First try ls -ld /stuff on groucho (I suspect you are trying to access a dir in the root directory). If it looks as if the ID should be able to write there then try touch /stuff/test1 as that ID to make sure.

If you want to put things into somewhere under the ID's home directory then try rsync -av /media/stuff/firefox.oldfile  rsync://groucho@192.168.1.3:stuff (assuming stuff is in your home dir on groucho).

Chris

#221 Re: Desktop and Multimedia » hotspotshield VPN - Can't establish VPN connection » 2022-04-06 16:11:08

First try ping www.hotspotshield.com If that works your connection to the internet is OK.

The one thing that jumped out from your post was:

Subscription valid until : Apr 04 2022

Has it previously worked for you? If so on what platforms? And is it still working?

Chris

#222 Re: Other Issues » Scrolling Output in the Console Window » 2022-04-03 16:22:11

I've just pressed ctrl-alt-f2, logged on, typed ls to get a few screenfuls of ouput and shift-page_up and shift-page_down work. But if I press ctrl-alt-f7 to get back to the GUI, then ctrl-alt-f2 the scroll buffer is cleared.

This is on ascii (I run CUDA on an old GPU and dare not update it because Nvidia have probably removed support for the GPU from current releases of their drivers and runtime).

Chris

#223 Re: Desktop and Multimedia » [SOLVED] init: No inittab.d directory found during boot log » 2022-03-24 17:16:14

mkdir /etc/inittab.d as root might get rid of the message.

What is the full text of the message? And what other messages came out at the same time? Those might tell us what is generating the message. Look for it in syslog, dmesg, boot.log etc.

#224 Re: Desktop and Multimedia » [SOLVED] in which (cache) folder are installed packages » 2022-02-23 17:01:59

I've not used armv and ains but if they work like apt then installing the ones you wanted to keep before removing ristretto would mark them not to to be removed when the meta package they were par of is removed.

So the process would be:
Test removing ristretto (either do a simulate run or reply 'n' to the prompt).
Install the packages you want to keep. This should only mark them as wanted.
Remove ristretto (check the list of packages to be removed *before* replying 'y').

That *should* stop anything needing to be re-downloaded.

Chris

#225 Re: Devuan » Something strange happens to OpenRC after upgrade to Chimaera » 2022-02-21 17:01:31

Check running ebegin and eend manually work. Then call them from a small dummy script as a double check.

Look at /lib/rc/sh/supervise-daemon.sh to see if it's changing the PATH anywhere relevant.
Temporarily add echo $PATH to it just before it calls ebegin. Compare with what you get by adding echo $PATH to the start of the script.
If PATH gets changed then work out where it gets changed by adding echo $PATH at suitable places.

If all else fails post the whole of the original version of /lib/rc/sh/supervise-daemon.sh here to let someone who knows shell scripting look at it.

Chris

Board footer

Forum Software