The officially official Devuan Forum!

You are not logged in.

#1 Re: Installation » [SOLVED] Shifting /home » Yesterday 16:12:38

Having logged on to tty1 run:
df -k which should show what disks are mounted.
If /home is the disk you expect enter ls -al /home to see what files are in it.
If that looks OK try which login which should return /bin/login or /usr/bin/login

Post output from the above commands if still stuck.

#2 Re: Other Issues » nfs4 no_root_squash strange behavior » 2025-06-28 16:13:10

From man chattr:
Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute.

And what are the ownership and permissions of the directory? That is what controls which accounts can delete a file.

#3 Re: Other Issues » nfs4 no_root_squash strange behavior » 2025-06-27 16:22:04

Try ls -ld ~/exportedshare on server. If the chomwitt account has write access to the directory it will be able to delete files in it even if it can't do anything else to them. This is one of the non-intuitive quirks of how UNIX file permissions work.

You could prevent it with chattr +i text.txt if you really needed to.

#4 Re: Freedom Hacks » How to change dependencies of a Debian package » 2025-06-08 16:10:17

I am starting to suspect igorzwx is a bot posting AI generated posts. Several of his posts look like an AI system hallucinating a mixture of unrelated text, with similar words but unrelated meaning.

#5 Re: Installation » [SOLVED] Problem with Failed to execute login command - Daedalus » 2025-05-14 16:14:10

df -i to see how many inodes are used in each filesystem would also be worthwhile. Although you are not very likely to run out on a new install.

#6 Re: Installation » [SOLVED] Upgrade Daedalus to Ceres - error » 2025-05-09 16:24:33

I would have started with ls -li /bin/xdotool /usr/bin/xdotool and checked the inode numbers were different. If two files in the same filesystem have the same inode number they are really the same file, possibly hard linked, possibly one part of one path is a link to part of the other path.

Eg if /bin is a symlink to /usr/bin then everthing in one is really the same file as in the other.

I'd also have moved /bin/xdotool to somewhere else in case it really turned out to be needed. Probably after diff /bin/xdotool /usr/bin/xdotool as well.

#7 Re: Documentation » apt-mirror config for a local Devuan repo » 2025-05-06 16:29:17

That confirms my suspicion from the error message that it's a perl script. But I don't know enough about package formatting to offer any more help. Sorry.

#8 Re: Documentation » apt-mirror config for a local Devuan repo » 2025-05-05 16:13:02

Please post output from:
file /usr/bin/apt-mirror

If it's some script, eg perl, then read it and see what line 920 is doing. If you don't know the language then post line 920 and a few lines each side of it.

#9 Re: Desktop and Multimedia » [SOLVED] Wallpaper Location » 2025-05-02 16:30:43

After cd /usr/share/images/desktop-base/ run ls -l which should show you the files in that directory.

As a new user the first command I recommend to you is man (short for manual). It tells you how to use commands.
Start with man less (less is the program man uses to display its output). Then man man and man ls (man cd won't work because cd is part of your shell (probably bash).

A good rule is that whenever someone recommends a command you are not familiar with always read it's man page before running it. It can prevent unpleasant surprises.

#10 Re: Desktop and Multimedia » Desktop locking up / temp freezes » 2025-04-13 16:09:20

When it's locked up will ctrl-alt-f1 get you to a text console? (Try this when it's OK to see what to expect, ctrl-alt-f7 to get back to GUI.)

Have you got another system you can use to ssh onto it from? Running top from the ssh session should give you some more info.

Does anything interesting appear in any of the logs?

#11 Re: Other Issues » Getting a ton of the same errors in .xsession-errors in excalibur » 2025-04-12 16:32:33

My first two thoughts would be:
rm ~/.xsession-errors;ln -s /dev/null ~/.xsession-errors # Send it somewhere harmless.
or
>~/.xsession-errors; sudo chown root:root ~/.xsession-errors;sudo chattr -i ~/.xsession-errors # Truncate file, then make it totally unwriteable.

#12 Re: Packaging for Devuan » libguava-java (gradle) » 2025-04-02 16:24:47

What is in your /etc/apt/sources.list ? Your first quote contains:

E: Failed to fetch http://deb.debian.org/debian/pool/main/g/guava-libraries/libguava-java_31.1-1_all.deb  Connection timed out [IP: 199.232.18.132 80]

Which suggests you have a mixture of devuan and debian resources. That is a recipe for disaster. You should only have devuan in there. Also check /etc/apt/sources.list.d/ as well.

And I'm not sure where the IP address 199.232.18.132 is supposed to be. Reverse DNS lookup fails but it responds to ping.

#13 Re: Packaging for Devuan » Repositories and their compatibility Devuan » 2025-02-10 17:29:14

First try host deb.devuan.org which should give something like this:

deb.devuan.org is an alias for deb.rr.devuan.org.
deb.rr.devuan.org has address 160.16.137.156
deb.rr.devuan.org has address 5.9.122.185
deb.rr.devuan.org has address 185.178.192.43
deb.rr.devuan.org has address 198.58.118.8
deb.rr.devuan.org has address 114.34.81.84
deb.rr.devuan.org has address 94.16.114.15
deb.rr.devuan.org has address 185.236.240.103
deb.rr.devuan.org has address 5.161.180.234
deb.rr.devuan.org has address 67.219.104.166
deb.rr.devuan.org has address 23.169.200.138
deb.rr.devuan.org has address 147.229.176.19
deb.rr.devuan.org has address 152.53.121.155
deb.rr.devuan.org has address 131.188.12.211
deb.rr.devuan.org has address 147.78.194.22
deb.rr.devuan.org has address 195.85.215.180
deb.rr.devuan.org has address 103.146.168.12
deb.rr.devuan.org has address 95.216.15.86
deb.rr.devuan.org has address 200.236.31.1
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 190.64.49.124
deb.rr.devuan.org has IPv6 address 2001:e42:102:1704:160:16:137:156
deb.rr.devuan.org has IPv6 address 2a01:4f8:162:7293::14
deb.rr.devuan.org has IPv6 address 2a03:4000:28:24c::
deb.rr.devuan.org has IPv6 address 2a0d:eb00:8006::acab
deb.rr.devuan.org has IPv6 address 2a01:4ff:f0:dd3a::1
deb.rr.devuan.org has IPv6 address 2401:c080:2000:229e:4b70:fe82:36ed:f788
deb.rr.devuan.org has IPv6 address 2602:817:2000:401::138
deb.rr.devuan.org has IPv6 address 2001:67c:1220:8b0::93e5:b013
deb.rr.devuan.org has IPv6 address 2a0a:4cc0:c0:4676:4242:4242:4242:4242
deb.rr.devuan.org has IPv6 address 2001:638:a000:1021:21::1
deb.rr.devuan.org has IPv6 address 2a0a:e5c0:10:3::6eeb
deb.rr.devuan.org has IPv6 address 2a01:9e40::180
deb.rr.devuan.org has IPv6 address 2407:b6c0::12
deb.rr.devuan.org has IPv6 address 2a01:4f9:2a:fa9::2
deb.rr.devuan.org has IPv6 address 2801:82:80ff:8000::2
deb.rr.devuan.org has IPv6 address 2a01:4f8:140:1102:2b76:955d:b48f:bdf3
deb.rr.devuan.org has IPv6 address 2001:878:346::116
deb.rr.devuan.org has IPv6 address 2001:4ca0:4300::1:19
deb.rr.devuan.org has IPv6 address 2800:a8:c001::a

Then ping -c 1 each IP address to see which respond (you can probably ignore the IPv6 addresses). Or host 5.9.122.185 to find an addresses name.

Trying to connect to http://deb.devuan.org/merged in a browser is another useful check.

Once you find a working address put it into  /etc/apt/sources.list (keep notes though).

Edit: Crossposted with RedGreen925.

#14 Re: Hardware & System Configuration » mDNS failure » 2025-01-27 17:11:58

Can you make avahi work again by restarting it (if all else fails by rebooting the system)? If so you could try switching off each device in turn until you find the one that causes avahi to fail (hoping there's only one such device). It might take a while though.

#15 Re: Hardware & System Configuration » [SOLVED] Entry in fstab but Authentication is still required to mount partition » 2025-01-10 17:17:06

I should have said "But don't let non-root users write into the mountpoint."

By mountpoint I mean the directory in the root filesystem that the other filesystem is going to be mounted on. It does not need the same owner and permissions as the root of the filesystem that will be mounted on it.

Unless you get that clear in your head you will have big problems sorting out what is going on.

NB. It is possible to mount a filesystem on a directory in another mounted filesystem. But that's can cause problems if the intermediate filesystem isn't mounted when you want to mount the second filesystem aand is best avoided unless you have a good reason.

#16 Re: Hardware & System Configuration » [SOLVED] Entry in fstab but Authentication is still required to mount partition » 2025-01-09 17:36:42

One suggestion, running mount without parms will show what options all the currently mounted filesystems have ended up with. So checking that after each try will tell you if you did what you wanted to.

Another suggestion, mountpoints should be owned by root with permissions 555. If you run ls -al in the root of a mounted filesystem it wil read the .. entry from the mountpoint. So you need to be able to read the mountpoint for that. But don't let non-root users write into it.

#17 Re: Installation » Devuan 5 not Booting on 2005 Toshiba Tecra A7 Intel Centrino Duo » 2024-12-17 17:20:48

Swap placement will have no effect on performance on a SSD.

On spinning rust it will only have any effect if you are actually using swap space. Seeking from 1 cylinder to another takes longer if they are further apart, so having swap space near to the data files you are accessing at the same time will be slightly faster. But if you are using swap space that often your performance will feel very slow.

I learnt a lot about tuning disks and swap space when I was a MVS systems programmer (back then 64Mb was a big system). Nowadays I'd prefer to just buy more RAM (after checking for software with a memory leak).

#18 Re: Installation » Remote directory for updates deb.devuan.org not work !!! » 2024-12-12 17:14:51

deb.devuan.org resolves to list of IP addresses (shown by host deb.devuan.org). Which IP address you get when you try to access one varies. This is useful to spread the load over several destinations.

But if one is down you get intermittent failures. Testing a few now I found 147.78.194.22 (147-78-194-22.ipv4.at.ungleich.ch.) doesn't respond to pings. But there seems to be a web server there.

One get round is to pick one that works and use that.

#19 Re: Installation » Remote directory for updates deb.devuan.org not work !!! » 2024-12-11 17:19:19

Looking at your ping attempt I noticed:
You ping'ed dev.devuan.com which is wrong. As said above try deb.devuan.org (deb not dev and .org not .com).
DNS lookup for dev.devuan.com worked and got the same IP address as I did (199.59.243.227).
The ping didn't get a response for you, but I did when I tried it just now. But ping uses ICMP and devuan uses HTTP or HTTPS to get updates.

So try deb.devuan.org and post output if that fails. You might have ping blocked, you could check that by trying to get to http://deb.devuan.org in a broswer.

#20 Re: Installation » Remote directory for updates deb.devuan.org not work !!! » 2024-12-10 17:14:40

What response do you get from:
host deb.devuan.org
ping -c 1 deb.devuan.org

And try the same for the other 3 mirrors listed in your first image.

#21 Re: DIY » how to implement Linux commands for building core boot image » 2024-11-29 17:23:27

The first command the OP (really) should learn is man (short for manual) which tells you what a command does. info is similar but "enhanced" which makes it a bit harder to learn.

The first thing to do when someone/something recommends a command you don't know is to read the man page to see what it should do.

Start with:
man less (less is the pager man uses to display man pages).
man man
man apropos (this lets you search man pages for a given string).

As time passes you will build up a useful knowledge base of UNIX/Linux commands.

#22 Re: Other Issues » ISBN number reader/scanner/database builder? » 2024-11-27 17:30:18

Looking through Linux Magazine back issues I found a perl script called upcscan to scan barcodes and add the to a sqlite database. The article is here: https://www.linux-magazine.com/Issues/2 … l-Barcodes

This looks like almost what you asked for in your first post.

#23 Re: Other Issues » ISBN number reader/scanner/database builder? » 2024-11-21 16:51:41

Reading another forum I found:

For instance, I am presently writing code to populate a PostgreSQL database with information about the books I own. Rather than typing in all the details only the ISBN is entered and the rest scraped from the Open Library. The Perl module which does the scraping, WWW::Scraper::ISBN, sets the user agent. As the source code to that module is available ...

P.S. Actually, the scraper was used only for initial tests. The production code will use the 11G (51G when unzipped) dump of the entire Open Library database now downloaded, as recommended. I have rather a lot of books.

I've copied that rather than posting a link because you have to register to read that forum. And there's not much else there relevant to you. But I though that might help.

It's at https://www.mersenneforum.org/node/2301 … ost1061326 is you want to read it though.

#24 Re: Other Issues » Book buying » 2024-10-01 20:00:47

I have a well thumbed copy of Hacking Linux Exposed which I found very useful. But I got it about 20 years ago so it was more up to date then and I didn't pay full price.

It would still be worth getting if you find a cheap copy. Or you need to concentrate on security for UNIX systems (it only covers security, not other server admin work).

#25 Re: Installation » [SOLVED] Very strange: is it connman or network-manager? » 2024-09-27 16:28:51

Try df -k /var/run/ and ls -lid /var/run
On my system /var/run/ is a symlink to /run which is a tmpfs. So it's contents will be re-created at every reboot, which will make the -i flag vanish (tmpfs is a filesystem that only exists in ram).

That would explain why chattr -i didn't seem to work. Checking with lsattr might be interesting too.

Board footer

Forum Software