[arch-general] kernel 2.6.24 and rlocate can work together
Hi, i put this here as an information instead of writing a feature request because at the moment i don't think it is the job of the arch devs to cancel a decision of the kernel devs. Okay, i found a patch to get the possibility of loading LSM modules back: http://bugs.gentoo.org/show_bug.cgi?id=207421#c7 After following the instructions from above i have this lines in my config: CONFIG_SECURITY=y CONFIG_SECURITY_MODULAR=y # CONFIG_SECURITY_NETWORK is not set # CONFIG_SECURITY_CAPABILITIES is not set updatedb and locate works as normal. I don't know if this will works with following kernel releases but at the moment this is a nice option if you use rlocate. See you, Attila
2008/2/1, Attila <attila@invalid.invalid>:
Hi,
i put this here as an information instead of writing a feature request because at the moment i don't think it is the job of the arch devs to cancel a decision of the kernel devs.
Okay, i found a patch to get the possibility of loading LSM modules back:
http://bugs.gentoo.org/show_bug.cgi?id=207421#c7
After following the instructions from above i have this lines in my config:
CONFIG_SECURITY=y CONFIG_SECURITY_MODULAR=y # CONFIG_SECURITY_NETWORK is not set # CONFIG_SECURITY_CAPABILITIES is not set
updatedb and locate works as normal. I don't know if this will works with following kernel releases but at the moment this is a nice option if you use rlocate.
Please file a feature request so this won't get lost. -- Roman Kyrylych (Роман Кирилич)
On Samstag, 2. Februar 2008 18:03 Roman Kyrylych wrote:
Please file a feature request so this won't get lost.
If you wish it you get it.-) http://bugs.archlinux.org/task/9447 See you, Attila
2008/2/2, Attila <attila@invalid.invalid>:
On Samstag, 2. Februar 2008 18:03 Roman Kyrylych wrote:
Please file a feature request so this won't get lost.
If you wish it you get it.-)
Just wanted to inform users who don't keep an eye on a bugtracker, that I've patched rlocate to work with 2.6.24 kernel So now: * configure doesn't fail due to capabilities not being modularized/disabled * rlocate module builds with non-modularized LSMs (no reverting of the (in)famous commit needed) * modprobe rlocate doesn't fail, /dev/rlocate is created * /etc/rc.d/rlocate runs I didn't manage how to make it update the db in real-time though, but maybe I was doing something wrong (I don't use any locate utility at all :-P) So please test rlocate-0.5.6-3 to see if rlocated really does its job with .24 kernel. -- Roman Kyrylych (Роман Кирилич)
On Mittwoch, 13. Februar 2008 23:15 Roman Kyrylych wrote:
Just wanted to inform users who don't keep an eye on a bugtracker, that I've patched rlocate to work with 2.6.24 kernel
At first i want to thanks for your your work.
So now: * configure doesn't fail due to capabilities not being modularized/disabled * rlocate module builds with non-modularized LSMs (no reverting of the (in)famous commit needed) * modprobe rlocate doesn't fail, /dev/rlocate is created * /etc/rc.d/rlocate runs
This works well too here with your files from aur and the arch kernel.
I didn't manage how to make it update the db in real-time though, but maybe I was doing something wrong (I don't use any locate utility at all :-P)
A test is very easy but i can understand you.-)
So please test rlocate-0.5.6-3 to see if rlocated really does its job with .24 kernel.
I take a test directory which includes some files and play a little around with 'cp -r' and 'rm -r'. I boot several times to compare the behavior with my other two kernel packages (2.6.22.18 and 2.6.24.2 which use the 2.6.24-LSM-revert-static.patch). It is even the same with the ARCH kernel because it seems that the file /var/lib/rlocate/rlocate.db.diff never gets updated. This is why i suggest to re-open bug #9564. I hope this happens only to me because i can live with patching my own kernel package and wait what the future will brings. See you, Attila
2008/2/14, Attila <attila@invalid.invalid>:
On Mittwoch, 13. Februar 2008 23:15 Roman Kyrylych wrote:
Just wanted to inform users who don't keep an eye on a bugtracker, that I've patched rlocate to work with 2.6.24 kernel
At first i want to thanks for your your work.
So now: * configure doesn't fail due to capabilities not being modularized/disabled * rlocate module builds with non-modularized LSMs (no reverting of the (in)famous commit needed) * modprobe rlocate doesn't fail, /dev/rlocate is created * /etc/rc.d/rlocate runs
This works well too here with your files from aur and the arch kernel.
I didn't manage how to make it update the db in real-time though, but maybe I was doing something wrong (I don't use any locate utility at all :-P)
A test is very easy but i can understand you.-)
So please test rlocate-0.5.6-3 to see if rlocated really does its job with .24 kernel.
I take a test directory which includes some files and play a little around with 'cp -r' and 'rm -r'. I boot several times to compare the behavior with my other two kernel packages (2.6.22.18 and 2.6.24.2 which use the 2.6.24-LSM-revert-static.patch). It is even the same with the ARCH kernel because it seems that the file /var/lib/rlocate/rlocate.db.diff never gets updated. This is why i suggest to re-open bug #9564.
Done.
I hope this happens only to me because i can live with patching my own kernel package and wait what the future will brings.
It happened to me too (which means I even did test it correctly, yay! :-P) so I'll take a closer look, but cannot promise anything as I don't have much idea where to look exactly. -- Roman Kyrylych (Роман Кирилич)
On Donnerstag, 14. Februar 2008 21:15 Roman Kyrylych wrote:
It happened to me too (which means I even did test it correctly, yay! :-P) so I'll take a closer look, but cannot promise anything as I don't have much idea where to look exactly.
I wants again to thank you for your work and good luck. See you, Attila
participants (2)
-
Attila
-
Roman Kyrylych