You are not logged in.
I think you're correct. That search finds net-tools but not if you search bookworm-backports which certainly seems to be where it is. Odd one.
Tom
Thanks for the replies!! As it turned out, my assumption was correct...that is, that in Bookworm the net-tools is in the backports repo, which wasn't in that default Rackspace sources.list. Once I copied one of the other repo lines and changed it to bookworm-backports, I was able to install it.
Thanks again for all the help!
Tom
Thanks for the reply! I'm a little confused as to your answer to (b) though. We're using static IPs, though we're not using network-manager or conman. If what you're saying is the case, what automatically did the conversion when we did this from Buster to Beowulf?
EDIT: Oh also: Do you have any idea which Debian repo net-tools would be in? As I noted the repos that Rackspace was using didn't have that. Here's their original sources.list:
/etc/apt/sources.list-ORIG
deb http://mirror.rackspace.com/debian bookworm main non-free-firmware
deb-src http://mirror.rackspace.com/debian bookworm main non-free-firmware
deb http://mirror.rackspace.com/debian-security bookworm-security main non-free-firmware
deb-src http://mirror.rackspace.com/debian-security bookworm-security main non-free-firmware
# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://mirror.rackspace.com/debian bookworm-updates main non-free-firmware
deb-src http://mirror.rackspace.com/debian bookworm-updates main non-free-firmware
I see that they don't have a backports repo in there. Is that where it would be?
Thanks!
Tom
I'd actually REALLY like to better understand what exactly happened with this, as I'll probably have to do this two more times. If anyone whose fairly familiar with how the migration works can help it would be greatly appreciated.
What I'd like to understand is this:
a) From what I recall from migrating Buster to Beowulf the existing network configuration WAS automatically converted and I ended up with a working /etc/network/interfaces file. Just to be sure, I assume that WAS actually supposed to happen in this case(?).
b) I've also been assuming that the reason that automatic configuration failed was because the existing Bookworm install used the interface names enX0/enX1, but once it rebooted to Daedalus it had the interface names eth0/eth1.
Is all that correct? Thanks in advance.
One other thing I'm curious about as well: Manually creating that interfaces file would have been WAY more easy for me if the Debian Bookworm install had net-tools installed, and it didn't. At least on the Debian repos that Rackspace was using, the net-tools package wasn't even available. From everything I see, that SHOULD be available in Bookworm(?). In Bookworm, what repo would that be in? Is it possibly the backports? I don't think the Rackspace repos included that.
Thanks in advance!
Tom
Thanks! I literally just found that and tried that just before you posted that, and that worked. I was about to post here to ask if that was correct.
Thanks again!
Tom
I've completed a migration of a Debian Bookworm VM (on Rackspace) from Bookworm to Daedalus as noted here:
https://dev1galaxy.org/viewtopic.php?id=6652
The only issue I ran into was that, apparently because that Bookworm install had interface names of enX0/enX1 and Daedalus has eth0/eth1 (as we actually wanted) the network wasn't configured automatically...so I had to create the interfaces file manually. All that worked fine.
Just today we noticed that there was no /etc/devuan_release file, and it's because the base-files is from Debian. Here's the apt policy for that, and I don't quite understand it:
apt policy base-files
base-files:
Installed: 12.4+deb12u4
Candidate: 12.4+deb12u4
Version table:
*** 12.4+deb12u4 100
100 /var/lib/dpkg/status
12.4devuan3 500
500 http://deb.devuan.org/merged daedalus/main amd64 Packages
Clearly that 12.4devuan3 from the devuan repo is the one I want. What on earth is that first one that shows /var/lib/dpkg/status instead of repo information? Not getting that at all. I've found a similar issue posted here but nothing in that helped.
Thanks in advance for any suggestions.
EDIT: OK. I've at least found out that that /var/lib/dpkg/status means that it's installed but that it doesn't know the repository. I'm still trying to figure out how to get the proper version installed.
Tom
Yup...Adding the auto declaration in the interfaces file was our issue. Now we should be able to configure all that manually. As far as I know that was the only issue with the migration.
I'm going to mark this as solved. However after we work through other things like getting the rackspace services going I may post back here on that for other's future reference.
Thanks again!
Tom
Thanks delgado and ralph.ronnquist for the replies!
ralph: Wow yea...We clearly did NOT have that "auto" for the interfaces. That's clearly the issue. We'll try that today.
Thanks!
Tom
OMG. This is so screwed I almost don't know where to start. So to be clear as to what I was trying here...I was assuming/hoping that getting the VM to use the same interface names before and after the conversion would get all this to work. What I just went through trying that almost defies description:
So first of all, adding net.ifnames=0 to the kernel parameters (and I did make sure that I actually saw that option in /proc/cmdline) did NOT cause it to use the enX0/enX1 interface names...they were still set to eth0/eth1 after rebooting. After that I stumbled on this which just amazed me: Apparently Debian Bookworm DOES in fact use interface names like enX0(??):
https://yeri.be/bookworm-eth0-enx0/
I found it stunning that I didn't find more on that one. What I did was to add the reserve of that to the interfaces file...that is:
rename eth0=enX0
rename eth1=enX1
So what I did next was to try the conversion over again with a new Debian 12 VM. I made the above change first, and then went through the migration steps.Sure enough, after the reboot, the above DID cause it to use the same interface names as the original VM...that is enX0/enX1. However, that STILL didn't properly configure the /etc/network/interfaces file for some reason. It was left untouched.
I'm totally lost as to what part of this whole process would do that but it's clearly not happening. But stuff gets WAY worse than that:
Next we painstakingly created the the entries in /etc/network/interfaces manually. This is where it gets really strange. While doing "ifup enX0" does in fact bring up the interface properly, stopping and starting /etc/init.d/networking did NOT bring them up. Oddly enough, running "/etc/init.d/networking stop" DOES apparently do an "ifdown", yet doing "/etc/init.d/networking start" apparently does NOT do an ifup on the configured interfaces at all!
That last one is the show-stopper now for sure. Everything seems correct at that point. What on earth would prevent that service from running ifup on the configured interfaces??
Wow this is painful. We really need this server, and I'm desperately hoping I don't end up having to use Debiam as-is with systemd, but we're limited to what Rackspace offers.
ANY suggestions are welcome. This is just beyond painful.
Tom
OK. I see a few things I was confusing there. I was thinking of "net.ifnames=0", so I see your point about trying net.ifnames=1. I take it that the conversion of the network configuration for Devuan can only work if the device names are the same(?). That makes sense. I'm going to try that next.
As to the suggestion about installing sysvinit-coreas Debian, it occurred to me that it seems pretty unlikely that would even be in the Debian repos(?). They clearly don't support it, so I can't believe it would be there.
Thanks again!
Tom
Thanks for the reply!
As to that "Rackspace's Debian Bookworm VM", that's just the Devian 12 VM that Rackspace offers. As far as I'm aware you can't just install your own OS on servers there, and at least you have to start with one that they offer.
I'm confused as to what you're saying about that change to the grub configuration. First of all, before the migration, the interface names on this VM were enX0 and enX1. I'm not sure why and that looked pretty alien to me frankly. Also, I was under the impression that adding that net.ifnames=1 was expressly to end up with the eth0/eth1 names, and not the other way around(?). This is currently what's in /etc/default/grub:
grep GRUB_CMDLINE_LINUX /etc/default/grub
GRUB_CMDLINE_LINUX="root=LABEL=root vsyscall=emulate"
GRUB_CMDLINE_LINUX="vsyscall=emulate"
Clearly after that reboot I'm ending up with eth0 and eth1, so I'm totally confused as to all that. If you're suggesting that change in order to have them match the existing interface names, then again, the existing ones weren't the enp0s0 names anyway.
I'm also confused as to exactly what you're suggesting about installing sysvinit-core. Are you saying to do that and reboot before anything else...even before changing the /etc/apt/sources.list?
Thanks again for the reply!
Tom
Has anyone managed to migrate one of Rackspace's Debian Bookworm VMs to Daedalus? I tried that today and it didn't go well.
Years ago I was able to convert a Rackspace Buster VM to Beowulf without any major issues. In order to get some Rackspace specific services to work I actually got some init scripts from users here. Notably however the basic migration did in fact work.
As to my attempt to migrate Bookworm to Daedalus, I went by this guide:
https://www.devuan.org/os/documentation … o-daedalus
The only thing I saw during the migration that looked like something went wrong was during the step that does "apt-get install eudev sysvinit-core". During that I got this:
Unpacking sysvinit-core (3.06-4devuan3) ...
Setting up insserv (1.24.0-1) ...
insserv: FATAL: service mountkernfs has to exist for service networking
insserv: FATAL: service urandom has to exist for service networking
insserv: exiting now!
Setting up startpar (0.65-1+b1) ...
Setting up sysv-rc (3.06-4devuan3) ...
Setting up initscripts (3.06-4devuan3) ...
Note the insserv errors. Not sure what that is or if it was related, but after the first "reboot" required in that migration guide, the network simply didn't come up at all.
Digging into things I found several things that made no sense. Most notably the file /etc/network/interfaces had nothing for the eth0 or eth1 interfaces. We tried manually adding entries in there for eth0 (which is the public facing interface). After adding that, we were able to manually run "ifup eth0" and were able to get that interface at least working. We also had no /etc/resolv.conf file. Once we added servers to that we were at least able to complete the migration steps, but even eth0 doesn't come up when it's rebooted.
I have a feeling that's not much info to go by, but I was hoping someone had a clue what might be going on there.
Thanks!
Tom
Yes! That worked and got it running! In fact I was able to resolve a similar issue with another executable I had that required libstdc++5:i386.
Thanks a million!
Tom
Odd. I did all the above. What I don't quite understand is that the "apt upgrade" didn't update or install anything, and the executable I'm trying to run still can't find libcrypt.so.1. Here are some outputs:
dpkg --print-foreign-architectures
i386
apt policy libcrypt1
libcrypt1:
Installed: 1:4.4.33-2
Candidate: 1:4.4.33-2
Version table:
*** 1:4.4.33-2 500
500 http://deb.devuan.org/merged daedalus/main amd64 Packages
100 /var/lib/dpkg/status
dpkg -L libcrypt1
/.
/lib
/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libcrypt1
/usr/share/doc/libcrypt1/changelog.Debian.gz
/usr/share/doc/libcrypt1/changelog.gz
/usr/share/doc/libcrypt1/copyright
/lib/x86_64-linux-gnu/libcrypt.so.1
Here's the ldd output of the executable:
linux-gate.so.1 (0xf7edb000)
libnsl.so.1 => /lib32/libnsl.so.1 (0xf7eb3000)
libdl.so.2 => /lib32/libdl.so.2 (0xf7eae000)
libm.so.6 => /lib32/libm.so.6 (0xf7da9000)
libcrypt.so.1 => not found
libutil.so.1 => /lib32/libutil.so.1 (0xf7da4000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7d9f000)
libc.so.6 => /lib32/libc.so.6 (0xf7a00000)
/lib/ld-linux.so.2 (0xf7edd000)
As you can see that's still not found. Any ideas? Thanks!
Tom
Thanks! Will give that a try.
Tom
I've read all sort of things on this that frankly have my head spinning:
In Beowulf the libc6-i386 package provided the file /lib32/libcrypt.so.1. In Daedalus libc6-i386 no longer does.
However in Daedalus, the package libcrypt1 provides libcrypt.so.1, but only at the path /lib/x86_64-linux-gnu/libcrypt.so.1.
I'm hoping to use a binary executable that requires that and did work under Beowulf, but nothing I try gets it to work. It just complains that libcrypt.so.1 can't be found.
Any clues as to all this? Thanks!
Tom
Yea...agreed. I'll likely try to compile it from source using the newer libraries.
EDIT: One important thing to note about this post: No clue what I was thinking, but when I was referring the "ld" command I totally intended to be using "ldd". No wonder I got so confused on that.
Thanks!
Tom
OK. It turned out that that there was a newer version of that installed (libhcrypto.so.5.0.0). Creating a link to that named libhcrypto.so.4, plus a few other similar ones got the executable running. Seems like a somewhat ugly hack, but did in fact seem to work.
Thanks!
Tom
This libhcrypto.so.4 has something to do with Heimdahl stuff. Maybe that's a hint ...
Yea I noticed that. There were some heimdal related packages also required by the same executable. So far I haven't been able to figure out if any others might provide that library.
Tom
OMG you're totally correct. That came up in a google search for "libhcrypto4 bookworm" and I didn't notice that difference. Thanks. Just uninstalled that.
Tom
This is odd. So I was able to find that package for Debian Bookworm here:
https://packages.debian.org/bookworm/libmcrypt4
I installed the deb file libmcrypt4_2.5.8-7_amd64.deb. It's clearly installed:
dpkg-query -L libmcrypt4
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libmcrypt.so.4.4.8
/usr/share
/usr/share/doc
/usr/share/doc/libmcrypt4
/usr/share/doc/libmcrypt4/changelog.Debian.gz
/usr/share/doc/libmcrypt4/changelog.gz
/usr/share/doc/libmcrypt4/copyright
/usr/lib/x86_64-linux-gnu/libmcrypt.so.4
Yet my executable still says it's missing:
error while loading shared libraries: libhcrypto.so.4: cannot open shared object file: No such file or directory
What do you suppose that's all about?
Thanks!
Tom
Thanks for the reply! I'll have to figure out how to best handle this one.
What I was hoping to use ld for was to see if there are any other missing libraries in the executable. That's something I'd always done in the past. Is that no longer possible?
Thanks!
Tom
On a related topic, I've installed binutils to get the ld command, but ls doesn't work on anything I try. It always fails with an error like this:
ld: cannot use executable file '<filename>' as input to a link
I've read some things about that though I can't make any sense out of it. I've seen suggestions to use "-r" but that doesn't help.
Any clue on that would be appreciated as well.
Thanks!
Tom
I'm trying to use an executable under Daedalus that needs the missing library libhcrypto.so.4.
Does anyone know if any package provides that? I'm seeing things about a "libhcrypto4" package in Bookworm but that doesn't appear to be available. Currently I have the daedalus, daedalus-security, and daedalus-updates repos enabled.
Thanks in advance!
Tom
I've just done an install of Daedalus on a VM running from within VMware Workstation Player. It currently is headless and has almost nothing except the base system installed. I'm getting these during the boot:
[Wed Apr 3 14:52:23 2024] udevd[409]: 'dmi_memory_id' ressize 16384 too short
[Wed Apr 3 14:52:23 2024] udevd[409]: 'dmi_memory_id' ressize 16384 too short
[Wed Apr 3 14:52:23 2024] udevd[409]: 'dmi_memory_id' ressize 16384 too short
[Wed Apr 3 14:52:23 2024] udevd[409]: 'dmi_memory_id' ressize 16384 too short
[Wed Apr 3 14:52:23 2024] udevd[409]: 'dmi_memory_id' ressize 16384 too short
[Wed Apr 3 14:52:23 2024] udevd[409]: 'dmi_memory_id' ressize 16384 too short
[Wed Apr 3 14:52:23 2024] udevd[409]: 'dmi_memory_id' ressize 16384 too short
[Wed Apr 3 14:52:23 2024] udevd[409]: 'dmi_memory_id' ressize 16384 too short
[Wed Apr 3 14:52:23 2024] udevd[409]: 'dmi_memory_id' ressize 16384 too short
Any clue what that means or what might be causing it?
Thanks!
Tom