I just verified that I am running hardened on a "multilib" system and the multilib useflag is disabled (also of note, this machine serves about 10 vm's via vmware server, which is only 32-bit, so it definitely runs 32-bit code):
> eix -I --installed-with-use multilib
No matches found.
On Dec 5, 2007 1:05 PM, John Eckhart <
jweckhart@gmail.com> wrote:
I'm not convinced it's a problem with multilib. The multilib use flag is deprecated and hard masked in most profiles (in fact, it takes a fair bit of juggling and profile mangling to get it back on). I would hesitate to say that it's multilib at all. I have an AMD64 system at work which is running hardened sources with pax, I will have to see what profile it's using and if it has the "multilib" flag at all.
It may not be hardened at all. I get ENOENT problems with filesystem corruptions, so I would recommend that you reboot with the livecd and fsck the partitions as well (it would at least be faster than a re-install).
On Dec 5, 2007 12:32 PM, Grant <emailgrant@gmail.com> wrote:
> > > > No! *Is that the problem? *USE=multilib has no effect because they are
> > > > all (-multilib). *Should I switch my profile from:
> > > >
> > > > /usr/portage/profiles/hardened/amd64
> > > >
> > > > to:
> > > >
> > > > /usr/portage/profiles/hardened/amd64/multilib
> > > >
> > > > ?
> > >
> > > khm, obviously if you want 32 bit apps on a 64 bit system you need
> > > multilib... i wonder how you could even emerge the emul-* packages
> > > in that profile, it should not be allowed.
> >
> > Nice, at least this is solved (by you). *Is switching profiles
> > problematic or should I just switch the link and emerge world?
>
>
> Complete reinstall.
Any other option whatsoever to get on multilib?
- Grant
--
gentoo-hardened@gentoo.org mailing list
12-05-2007, 05:33 PM
Ned Ludd
Hardened laptop: am I nuts?
On Wed, 2007-12-05 at 09:32 -0800, Grant wrote:
> > > > > No! Is that the problem? USE=multilib has no effect because they are
> > > > > all (-multilib). Should I switch my profile from:
> > > > >
> > > > > /usr/portage/profiles/hardened/amd64
> > > > >
> > > > > to:
> > > > >
> > > > > /usr/portage/profiles/hardened/amd64/multilib
> > > > >
> > > > > ?
> > > >
> > > > khm, obviously if you want 32 bit apps on a 64 bit system you need
> > > > multilib... i wonder how you could even emerge the emul-* packages
> > > > in that profile, it should not be allowed.
> > >
> > > Nice, at least this is solved (by you). Is switching profiles
> > > problematic or should I just switch the link and emerge world?
> >
> >
> > Complete reinstall.
>
> Any other option whatsoever to get on multilib?
No.. You must reinstall as I said already.
Also the "multilib" USE flag is moot. It was replaced long ago by
profile defines. It exists afaik for legacy reasons.
--
Ned Ludd <solar@gentoo.org>
Gentoo Linux
--
gentoo-hardened@gentoo.org mailing list
12-05-2007, 05:59 PM
Alex Efros
Hardened laptop: am I nuts?
Hi!
On Wed, Dec 05, 2007 at 10:33:18AM -0800, Ned Ludd wrote:
> No.. You must reinstall as I said already.
> Also the "multilib" USE flag is moot. It was replaced long ago by
> profile defines. It exists afaik for legacy reasons.
Huh... Can you please make it 100% clear?
If somebody has any 64-bit system, and at some point later he will need to
run any 32-bit binary (like VMware, Skype, etc.), he will need to
reinstall his system?
No way to, say, compile 32-bit-compatible packages in chroot, and then
just update current system with these binary packages using emerge -K?
In general, is it possible to switch (upgrade/disgrade) between 32-bit,
64-bit and 64-bit with 32-bit binaries support systems? I mean, by
recompiling/installing something on current system and reboot, without
need to boot special 32/64-bit environment like LiveCD, installing new
system and then moving all configuration from old system to new?
--
WBR, Alex.
--
gentoo-hardened@gentoo.org mailing list
12-05-2007, 06:14 PM
"John Eckhart"
Hardened laptop: am I nuts?
If you have a 32-bit compiler then your current spec should already support 32-bit applications. On my machine, the 32-bit compiler files (libs) are in /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/32/*.
What happens if you try:
> cp /opt/wengophone/qtwengophone /tmp
or
> cat /opt/wengophone/qtwengophone > /dev/null
Also, are you able to interpret the format at all:
What does
> ldd /opt/wengophone/qtwengophone
return?
Do you get any denial messages in dmesg (i.e run dmesg, do you see anything out of the ordinary. If there is any doubt post your dmesg log)
On Dec 5, 2007 1:59 PM, Alex Efros <
powerman@powerman.asdfgroup.com> wrote:
Hi!
On Wed, Dec 05, 2007 at 10:33:18AM -0800, Ned Ludd wrote:
> No.. You must reinstall as I said already.
> Also the "multilib" USE flag is moot. It was replaced long ago by
> profile defines. It exists afaik for legacy reasons.
Huh... Can you please make it 100% clear?
If somebody has any 64-bit system, and at some point later he will need to
run any 32-bit binary (like VMware, Skype, etc.), he will need to
reinstall his system?
No way to, say, compile 32-bit-compatible packages in chroot, and then
just update current system with these binary packages using emerge -K?
In general, is it possible to switch (upgrade/disgrade) between 32-bit,
64-bit and 64-bit with 32-bit binaries support systems? I mean, by
recompiling/installing something on current system and reboot, without
need to boot special 32/64-bit environment like LiveCD, installing new
system and then moving all configuration from old system to new?
--
* * * * * * * * * * * *WBR, Alex.
--
gentoo-hardened@gentoo.org mailing list
12-05-2007, 06:39 PM
Ned Ludd
Hardened laptop: am I nuts?
On Wed, 2007-12-05 at 20:59 +0200, Alex Efros wrote:
> Hi!
>
> On Wed, Dec 05, 2007 at 10:33:18AM -0800, Ned Ludd wrote:
> > No.. You must reinstall as I said already.
> > Also the "multilib" USE flag is moot. It was replaced long ago by
> > profile defines. It exists afaik for legacy reasons.
>
> Huh... Can you please make it 100% clear?
I already made it 100% clear! You can not upgrade cleanly unless you do
a lot of work. far more work than any gentoo dev in his right mind will
tell you or suggest. In short. IT DOES NOT WORK! It's never worked. The
amd64 team does not support it. Hardened does not support it.
So.. I'll state it yet again.. "Complete Reinstall"
--
Ned Ludd <solar@gentoo.org>
Gentoo Linux
--
gentoo-hardened@gentoo.org mailing list
12-05-2007, 07:35 PM
Grant
Hardened laptop: am I nuts?
> If you have a 32-bit compiler then your current spec should already support
> 32-bit applications. On my machine, the 32-bit compiler files (libs) are in
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/32/*.
>
> What happens if you try:
> > cp /opt/wengophone/qtwengophone /tmp
Success.
> or
> > cat /opt/wengophone/qtwengophone > /dev/null
No output.
> Also, are you able to interpret the format at all:
> What does
> > ldd /opt/wengophone/qtwengophone
> return?
I get "not a dynamic executable".
> Do you get any denial messages in dmesg (i.e run dmesg, do you see anything
> out of the ordinary. If there is any doubt post your dmesg log)
I don't get anything in dmesg after boot (i.e. errors printed when
trying to run the 32-bit apps) and nothing jumps out at me in the boot
portion of dmesg. I'll post it if you'd like me too.
- Grant
--
gentoo-hardened@gentoo.org mailing list
12-05-2007, 08:07 PM
Alex Efros
Hardened laptop: am I nuts?
Hi!
On Wed, Dec 05, 2007 at 11:39:04AM -0800, Ned Ludd wrote:
> I already made it 100% clear! You can not upgrade cleanly unless you do
> a lot of work. far more work than any gentoo dev in his right mind will
> tell you or suggest. In short. IT DOES NOT WORK! It's never worked. The
> amd64 team does not support it. Hardened does not support it.
> So.. I'll state it yet again.. "Complete Reinstall"
Thanks! Looks like my decision to continue working in 32-bit mode even on
modern processors save me from additional troubles. And good luck to
all people who choose to work in 64-bit mode!
--
WBR, Alex.
--
gentoo-hardened@gentoo.org mailing list
12-05-2007, 08:20 PM
"Alex Howells"
Hardened laptop: am I nuts?
On 05/12/2007, Alex Efros <powerman@powerman.asdfgroup.com> wrote:
> Hi!
>
> On Wed, Dec 05, 2007 at 11:39:04AM -0800, Ned Ludd wrote:
> > I already made it 100% clear! You can not upgrade cleanly unless you do
> > a lot of work. far more work than any gentoo dev in his right mind will
> > tell you or suggest. In short. IT DOES NOT WORK! It's never worked. The
> > amd64 team does not support it. Hardened does not support it.
> > So.. I'll state it yet again.. "Complete Reinstall"
>
> Thanks! Looks like my decision to continue working in 32-bit mode even on
> modern processors save me from additional troubles. And good luck to
> all people who choose to work in 64-bit mode!
There's nothing wrong with 64-bit and I'd hasten to add that if you
have a capable processor in a desktop or server, you'd be nuts not to
take advantage of it with applications that're able - there are big
performance gains to be had.
It's really very simple, if you want to *ever* run a 32-bit
application, you install with a multilib profile.
--
gentoo-hardened@gentoo.org mailing list
12-05-2007, 08:32 PM
Grant
Hardened laptop: am I nuts?
> > Hi!
> >
> > On Wed, Dec 05, 2007 at 11:39:04AM -0800, Ned Ludd wrote:
> > > I already made it 100% clear! You can not upgrade cleanly unless you do
> > > a lot of work. far more work than any gentoo dev in his right mind will
> > > tell you or suggest. In short. IT DOES NOT WORK! It's never worked. The
> > > amd64 team does not support it. Hardened does not support it.
> > > So.. I'll state it yet again.. "Complete Reinstall"
> >
> > Thanks! Looks like my decision to continue working in 32-bit mode even on
> > modern processors save me from additional troubles. And good luck to
> > all people who choose to work in 64-bit mode!
>
> There's nothing wrong with 64-bit and I'd hasten to add that if you
> have a capable processor in a desktop or server, you'd be nuts not to
> take advantage of it with applications that're able - there are big
> performance gains to be had.
>
> It's really very simple, if you want to *ever* run a 32-bit
> application, you install with a multilib profile.
Are you sure my problem here is the profile? At least a couple other
people have chimed in in doubt and I want to be sure before I
reinstall. I must say it makes sense. You want multilib, you select
mulitlib.
- Grant
--
gentoo-hardened@gentoo.org mailing list
12-05-2007, 08:35 PM
Hardened laptop: am I nuts?
More specifically: the problem lies in closed source 32-bit binaries...
But closed source is also a problem on 32-bit hardened systems. If you
have a choice what softwares you can use, 64bit is the way to go.
Personally try to make all my relatives to use open source alternatives.
Of course I'm an idiot from their point of view, but I can use Ekiga for
VOIP calls and I don't have to run a binary (Skype) with executable
stack...
Regards,
Dw.
--
dr Tóth Attila, Radiológus Szakorvos jelölt, 06-20-825-8057, 06-30-5962-962
Attila Toth MD, Radiologist in Training, +36-20-825-8057, +36-30-5962-962
On Sze, December 5, 2007 22:20, Alex Howells wrote:
> On 05/12/2007, Alex Efros <powerman@powerman.asdfgroup.com> wrote:
>> Hi!
>>
>> On Wed, Dec 05, 2007 at 11:39:04AM -0800, Ned Ludd wrote:
>> > I already made it 100% clear! You can not upgrade cleanly unless you
>> do
>> > a lot of work. far more work than any gentoo dev in his right mind
>> will
>> > tell you or suggest. In short. IT DOES NOT WORK! It's never worked.
>> The
>> > amd64 team does not support it. Hardened does not support it.
>> > So.. I'll state it yet again.. "Complete Reinstall"
>>
>> Thanks! Looks like my decision to continue working in 32-bit mode even
>> on
>> modern processors save me from additional troubles. And good luck to
>> all people who choose to work in 64-bit mode!
>
> There's nothing wrong with 64-bit and I'd hasten to add that if you
> have a capable processor in a desktop or server, you'd be nuts not to
> take advantage of it with applications that're able - there are big
> performance gains to be had.
>
> It's really very simple, if you want to *ever* run a 32-bit
> application, you install with a multilib profile.
> --
> gentoo-hardened@gentoo.org mailing list
>