Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"invisible" dependencies in portage?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
selig
Guru
Guru


Joined: 31 Jul 2005
Posts: 425
Location: Prague, Czech Republic

PostPosted: Thu Nov 22, 2007 9:34 am    Post subject: "invisible" dependencies in portage? Reply with quote

This problem might be specific to hardened-souces, but I am not sure - maybe there exists a similar problem with other packages.

My problem is that hardened kernel (hardened-sources) with enabled grSecurity and RBAC depends on gradm. hardened-souces-2.6.22 got unmasked in the portage, so I updated world and they got installed. I then compiled a new kernel and rebooted the system. It ended up with gradm exiting unsuccessfully saying that it is incompatible with the grSecurity present in the current kernel. There is a compatible version of gradm in the portage tree, unfortunately it is masked ~x86 at the present. I had to reboot back into the older kernel since I cannot install masked packages on this machine. This becomes a problem when you schedule a planned outage for kernel upgrade and end up upgrading nothing...

Should hardened-sources depend on the needed gradm version? However, gradm is not strictly needed for the kernel to function, so maybe a warning after installing the kernel sources saying something like "for grSecurity RBAC you need gradm of version X.X.X or higher" would be enough. Or maybe adding a USE flag which would trigger this dependency check?

There might be other instances of this problem elsewhere in portage, where one functionality of program X depends on a certain version of program Y.

I think that in such cases, at least a warning or a local USE flag should be used as to warn the user of a "possible" dependency.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9538
Location: beyond the rim

PostPosted: Sat Nov 24, 2007 1:40 am    Post subject: Reply with quote

Should just be a warning. The kernel doesn't depend on that tool at all anyway, it's the tool that depends on a specific kernel version.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum