https://bugzilla.novell.com/show_bug.cgi?id=550021
https://bugzilla.novell.com/show_bug.cgi?id=550021#c48
Michal Hrusecky
Let me give a short feedback now:
1) SuSE deliveres defective system include files that prevent to compile software (like star) that supports linux (ext* specific) file flags:
checking for sched_yield... yes checking for nanosleep... yes checking for /dev/tty... yes checking for /dev/null... yes checking for /dev/zero... yes checking for /dev/stdin... yes checking for /dev/stdout... yes checking for /dev/stderr... yes checking for /dev/fd/0... yes checking for /dev/fd/1... yes checking for /dev/fd/2... yes checking if Linux include file linux/ext2_fs.h is broken... yes checking if Linux include file /usr/src/linux/include/linux/ext2_fs.h is broken... yes checking if Linux include file scsi/scsi.h is broken... no checking if Linux include file /usr/src/linux/include/scsi/scsi.h is broken... no checking if Linux include file scsi/sg.h is broken... no checking if Linux include file /usr/src/linux/include/scsi/sg.h is broken... no
Warning: *** /usr/src/linux/include contains broken include files *** Warning: *** /usr/src/linux/include is not used this reason *** Warning: This may result in the inability to use recent Linux kernel interfaces
Warning: *** linux/ext2_fs.h is not usable at all *** Warning: *** This makes it impossible to support Linux file flags ***
No URL to the software (try googling star ;-) ), nothing indicates what is broken about that. If you want some help, providing some basic info can help ;-)
2) the sample program from the attachment does not compile. This is another result from the defects in /usr/include. In spacial: /usr/include/sys/capabilities.h does not exist.
$ rpm -ql libcap-devel | grep include /usr/include/sys/capability.h
3) There is no support for capabilities in Suse by default. Isn't it a pity that a system that installs a 6.4 GB sized system does not include 44kBytes of security related software that is needed to avoid suid root binaries?
I got setcap and getcap without installing them explicitly so either they are part of minimal X or quite basic stuff depends on it...
4) I experimented with the following set:
/sbin/getcap cdrecord cdrord = cap_dac_override,cap_net_bind_service,cap_ipc_lock,cap_sys_admin,cap_sys_nice,cap_sys_resource+ep
Comments?
Just a few comments to help you provide more information for people that are working on it - general bugzilla recommendation, I'm just a curious bystander. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.