Package: selinux-policy-refpolicy-src
Version: 0.0.20061018-2
Severity: normal



-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages selinux-policy-refpolicy-src depends on:
ii  checkpolicy               1.32-1         SELinux policy compiler
ii  gawk                      1:3.1.5.dfsg-4 GNU awk, a pattern scanning and pr
ii  policycoreutils           1.32-1         SELinux core policy utilities
ii  python                    2.4.4-2        An interactive high-level object-o

Versions of packages selinux-policy-refpolicy-src recommends:
ii  setools                       2.4-3      Tresys tools for managing Security

-- no debconf information

I followed the instructions in the README:

        * make install-src
        * make conf
        * make policy

The following error shows up in the build:

m4 -D strict_policy -D enable_mls -D distro_debian -D direct_sysadm_daemon -D 
mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D 
hide_broken_symptoms -s policy/support/loadable_module.spt 
policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt 
policy/support/obj_perm_sets.spt tmp/generated_definitions.conf 
tmp/all_interfaces.conf policy/modules/system/selinuxutil.te 
tmp/selinuxutil.mod.role > tmp/selinuxutil.tmp
/usr/bin/checkmodule -M -m tmp/selinuxutil.tmp -o tmp/selinuxutil.mod
/usr/bin/checkmodule:  loading policy configuration from tmp/selinuxutil.tmp
policy/modules/system/selinuxutil.te:89:ERROR 'unknown type tmpfs_t' at token 
';' on line 3129:
allow restorecon_t tmpfs_t:chr_file { read write };
# for initial labeling of tmpfs /dev
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make: *** [tmp/selinuxutil.mod] Error 1



On further investigation, I foudn the offending line is not in the upstream 
source but was added as a Debian patch.  On a whim, I commented out the 
offending line and make policy succsfully completed.  I did not attach a patch, 
since I did not understant the statement's purpose.

Thanks,

- Ryan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to