The officially official Devuan Forum!

You are not logged in.

#651 Re: Installation » [BUG] Kernel's problem on devuan daedalus netinstall » 2023-03-13 23:55:13

I tried with that ISO last week, and I tried the new one just hot out of the oven, and I can't repeat the problem;
basically, the kernel package includes the module.

What is your installation setup, i.e. partitions,  filesystem setup, encryption, lvm, desktop?
Any "special" hands-on during the installation.

EDIT: actually I found a way to repeat the problem using an rtl8139 (emulated) card, and I see that probably the installer has a bug in its module selection logic, that results in that some "intermediate modules (e.g. mii.ko) are missing.

EDIT 2: Your path forward could be to just install without network the base system from the ISO. That will install a kernel with modules, and that will (should) detect your ethernet card. Thereafter you make sure to configure the network, eg

 # cat <<EOF >> /etc/network/interfaces
auto eth0
iface eth0 inet dhcp
EOF
# ifup eth0

and to enable the source.list  entries for network installation, followed by manual apt-get, for example:

 # nano /etc/apt/sources.list
... ensure the cdrom line is commented out
... there is: deb http://deb.devuan.org/merged daedalus main
... save and exit
# apt-get update
# apt-get install task-xfce-desktop

EDIT 3: the daedalus-security repository is not available yet

#652 Re: Installation » [BUG] Kernel's problem on devuan daedalus netinstall » 2023-03-12 22:46:46

Not sure why your install has that issue; there should be an r8196.ko kernel module availabele on your system, and assuming that to be the module for handling RTL8111/8168/8411, the kernel should have loaded that.

Try with modprobe r8169 to see if it looks happier, and if that works, then add r8169 to your /etc/initramfs-tools/modules file before using the command update-initramfs -u -k all in order to prime your initrd to load the module on boot.

#653 Re: Installation » [SOLVED] unplugged ssd grub problem...HELP! » 2023-03-12 11:18:56

One possible approach on this could be that you get and install using a daedalus preview server iso, without using network.

It is more than odd that it now doesn't find the firmware for your network adapter and it would be helpful if you could grab the log file at the point just before partitioning disks, and either upload to here or send to me on email. The steps for that would be:
1. start the installation and step forward up to partitioning disks dialog
2. then use ctrl-alt-f2 to enter a shell with the installer system
3. copy /var/log/syslog to a safe place; maybe ideally onto a separate USB disk/stick

The server iso has the same installer s/w as netinstall but it also includes a package pool for setting up a server system, and is self-contained in that way. The desktop iso is similar, but with a much larger package pool that includes a couple of desktop environments.

I at one time had the problem that the UEFI nvram was filled up so it couldn't add the boot entry for Devuan, and though I remember solving that by clearing the nvram, I don't remember exactly how. Also this is probably not the cause since you are able to install other systems.

#654 Re: Installation » [SOLVED] fail2ban banactions, convert from iptables to nftables » 2023-03-10 13:07:16

@Marjorie: I think it's slightly misleading to say that the kernel module is nftables; rather it's the netfiltering subsystem that is targeted by either (or both) iptables rules and nft rules. And the main change in iptables is in using the netfilter socket for its kernel interactions rather than ioctls that it used previously. I guess you are clear on this, but generally there's a lot of confusion on this topic.

Basically nft rules and iptables rules do the same things with different syntax. As far as I know they are alternatives for the same function, except that iptables allows use of ipset, which is something that hasn't got into nft yet.

#655 Re: Installation » [SOLVED] fail2ban banactions, convert from iptables to nftables » 2023-03-10 12:51:51

I suggested you install iptables just because that would solve your problem; whether "debian" prefers that in their default installation or not doesn't seem to be particularly relevant or important to me. I think of it as one of the advantages with debian's and thus devuan's large repository that often there are alternative solutions to various functionalities, and then you stack solutions that work together.

E.g., apparently fail2ban works with iptables, so if one wants fail2ban one also installs iptables. Of course, since both nftables and iptables are support software operating on the kernel's network filtering subsystem you might not want both or at least you may have to take some care to make their usages complement each other.

#656 Re: Installation » [SOLVED] fail2ban banactions, convert from iptables to nftables » 2023-03-09 21:11:37

@bai4Iej2need, you could also just install iptables, couldn't you?

#657 DIY » overlay-boot » 2023-03-08 23:58:10

ralph.ronnquist
Replies: 0

If you like the notion of chroot overlay of the root filesystem, then you might also find pleasure with the overlay-boot package in http://deb.devuan.org/devuan experimental

It's some more serious scripting to establish "virtual machines" sharing the running kernel as well as overlaying the filesystem (fully or partially).

It comes with some documentation; man pages mostly.

#658 Re: Freedom Hacks » Is it safe to encrypt only the home directory? » 2023-03-08 21:35:59

@zapper please stop including the previous post into your post.
Doing so creates a very tedious and confusing forum thread.

#659 Re: DIY » Regarding making cronie jobs, » 2023-03-07 04:38:50

Possibly yes; cron typically executes scripts and programs in /etc/cron.hourly according to the line saying so in /etc/crontab.

See also the note about PATH in man 5 crontab.

#660 Re: DIY » Regarding making cronie jobs, » 2023-03-07 01:25:04

/etc/rc.local is an executable script (or program) that gets exec'd by e.g.,  the /etc/init.d/rc.local startup script.

/etc/inittab is a configuration file for sysvinit's init program, and it is not a script, but rather a series of service declarations that are interpreted by /sbin/init. When man pages were a thing you would have "man inittab" as way of finding out its syntax.

#661 Re: Other Issues » Is there a good way to install Inkscape 1.2.2? » 2023-03-05 04:00:01

No I meant to mount an overlay of your current OS, and then install in the overlay. Something like

# mkdir /X/{U,W,R}
# mount -t overlay -olowerdir=/,upperdir=/X/U,workdir=/X/W oly /X/R
# chroot /X/R
# echo "deb http://deb/devuan.org/merged daedalus main" >> /etc/apt/sources.list
# cat <<EOF >> /etc/apt/preferences.d/reluctant-daedalus
Package: *
Pin: release n=daedalus*
Pin-Priority: 90
EOF
# apt-get update
# apt-get install incscape -t daedalus

And then run it there... you will need to sort out authorization for X of course, and you may want to also bind-mount lower /home onto /X/R/home. I'm sure you'll work that out.

In that way your lower / installation is unaffected by whatever the inkscape installation from daedalus pulls in.

EDIT: change "upper" to "lower" (as it should be)

#662 Re: Other Issues » Is there a good way to install Inkscape 1.2.2? » 2023-03-04 23:31:39

1.2.2 seems available on daedalus and ceres, but if it was me I would probably install that into a "not unshared" overlay chroot rather that into the main system, since it does in particular upgrade libsrdc++6, and some few other libs.

#664 Re: DIY » Regarding making cronie jobs, » 2023-03-04 00:55:22

/etc/rc.local belongs to initscripts which according to its dependencies are used the same in sysv-rc | file-rc | openrc.

So, no, it's not a sysvinit function.

I suppose there is always the question of which belongs to what, and in particular, which part of the OS belongs to "the init system". When asked, different people answers different things about that. Perhaps the most strict view about sysvinit would be to say that it consists only of the binaries of sysvinit-core and the configuration file /etc/inittab, and then anything below that is "run control", start up code or daemons.

And then perhaps an opposite "init is everything" may also be peddled, as well as any concept granularity in between.

#665 Re: Hardware & System Configuration » Chroot/Jails alternative available for Devuan » 2023-02-28 05:07:54

Yes, everything is complicated in its particulars. That's why it's fun to learn stuff.

#666 Re: Hardware & System Configuration » Chroot/Jails alternative available for Devuan » 2023-02-27 21:35:32

You might want to look at overlay-boot from devuan/experimental for light-weight container-like hosts using linux namespaces. I.e. sharing the kernel by virtual hosts. (Source at https://git.devuan.org/devuan/overlay-boot)

I'm also exploring user-mode-linux for non-root pseudo-virtualization; separate kernels on the host's hardware (not virtualized). This includes the variant where the VM file system is a host directory. (see https://git.devuan.org/rrq/umlvm)

#667 Re: Other Issues » sha512sum... » 2023-02-17 21:14:02

tmp=$(sha512sum $sourcedir/$file | grep -v $not_this_file)
sha512sum $sourcedir/*.zz > part2.txt

Have you looked at what those "sha512sum" runs generate?

Yes, you may concatenate "shasum.txt" snippets. But you must be sure that the pathnames are the correct ones for when that "shasum.txt" is used.

Afaict, in your example (in the previous post) the pathnames in the file include "$sourcedir/" as path prefix, and therefore the checksum verification needs to be done with the files being in the "$sourcedir/" subdirectory of the current working directory.

If I may venture an opinion though, it generally makes the code less complicated and more easily reviewable when having a "shasum.txt" for all files in a directory be generated only once, when that directory is fully populated. Basically, your examples "like this, it works " are examples of good coding practice whereas the other examples "like this, it doesn't work" leave a bit in that respect. Which perhaps illustrates the point.

#668 Re: Other Issues » sha512sum... » 2023-02-17 05:57:42

Are those the actual commands?
Are the files in a/athe same as in a/?
Or have you transcribed into some notional commands to illustrate what you wanted to do?
(or actually a near miss thereof)

I don't think any of your options applies, since it very likely is just a user error.

#670 Re: Installation » Install on a recent lenovo going badly, anyone know an answer » 2023-02-11 23:53:11

When I got this Acer (Aspire 5) it also had an UEFI setup that "forced" going to Windows, and as far as i remember I needed to trek some path telling through Windows to enter the UEFI setup screens, and there flip things to allow the USB boot to happen.

Then as this disk is nvme, I also had to do manual hands-on at the first dialog to load the nvme, ext4 and crc32c modules, as they hadn't been loaded by the installer's init. Afair before I worked that out, the installation attempt started then failed, and fell back to booting Windows.

I'm afraid I didn't keep the URL for this Windows trekking, as after installation I just use efibootmgr to change boot order. Though the UEFI configuration screens are still unavailable for me without a new Windows trekking, and I have kept that Windows on the disk for that purpose (though forgotten the trekking path).

#671 Re: Other Issues » [SOLVED] Bookworm's "which" pogram » 2023-02-09 08:18:09

Yes, your technical advice is likely to be helpful.

But pretending to be an arrogant twit less so, although I can understand that there probably is a constructive basis for that artistic style in your mind.

I am thinking that Bookworm is a release of debian, and as such its developers would or should strive for backward compatibility in as many ways as possible with all of the possible uses of the debian software. I believe it serves the end user community quite badly to make up a "pseudo fight" about which particular software is the better one for some functionality. Especially when it concerns actually removing programs or packages that get deemed to be the lesser good, and certainly where it's widely used software.

I suppose if we keep needing to patch against debian developers' choices, then we end up at that place where debian is no longer our platform. Actually @Head_on_a_Stick, I believe you are well ahead of me there.

#672 Re: Other Issues » [SOLVED] Bookworm's "which" pogram » 2023-02-09 07:06:22

Settle down a bit, please.

It should be obvious without stupid examples that trying to use a program for something it doesn't do, then it won't provide the output you want.

It's a huge step from there to saying that the program is useless, since then the problem really sits behind the keyboard.

#673 Re: Off-topic » Idle chatter nonsense » 2023-02-08 20:04:57

The nonsense keeps coming; I really should have closed this before.

#674 Re: Off-topic » Idle chatter nonsense » 2023-02-06 23:28:31

@blackhole: Thank you.

And whilst I would be the first to agree that one all too often can observe people severely lacking in their political education, I strongly suggest that we leave both any such observations and any suggestions about ways of improving them (constructive or otherwise) to other fora than this; this forum is intended merely for discussions about or around Devuan.

#675 Re: Off-topic » Idle chatter nonsense » 2023-02-06 22:20:34

@blackhole, that kind of post do very little to narrowing the gap in "street cred" between yourself and @MiyoLinux.

I think you too should train your own (new) forum appearance towards Professional, Precise and Polite.

Board footer

Forum Software