[refpolicy] refpolicy doesnt see ext4 but fix_files does

Justin Mattock justinmattock at gmail.com
Mon Aug 10 23:06:57 CDT 2009


seems Ive hit yet another interesting thing
(the perils of creating my own system)

in refpolicy sudo make relabel
(shows this)

Relabeling filesystem types: ext2 ext3 xfs jfs
No filesystems with extended attributes found!
make: *** [relabel] Error 1

kernel .config does have ext4 built-in
ext3,ext2 are not built-in(only modules).

fixfiles relabel shows:


    Files in the /tmp directory may be labeled incorrectly, this command
    can remove all files in /tmp.  If you choose to remove files from /tmp,
    a reboot will be required after completion.

    Do you wish to clean out the /tmp directory [N]? y
Cleaning out /tmp
/bin/rm: cannot remove `/tmp/.X11-unix': Is a directory
filespec_add:  conflicting specifications for /usr/bin/getconf and
/usr/lib64/glibc/getconf/POSIX_V7_LP64_OFF64, using
system_u:object_r:lib_t.
filespec_add:  conflicting specifications for /usr/bin/git and
/usr/lib64/git-core/git-annotate, using system_u:object_r:lib_t.
find: unknown predicate `-context'
find: unknown predicate `-context'

(seems to have relabeled as should)

the partition scheme is simple:
all ext4 for testing(and a swap on the side!!).



-- 
Justin P. Mattock


More information about the refpolicy mailing list