How to install SELinux original policy as original RPM

Shintaro Fujiwara shintaro.fujiwara at gmail.com
Tue May 5 13:59:37 UTC 2009


Yeah, I wrote,

%post
/usr/sbin/semodule -u /usr/share/segatex/segatex.pp

but, I got

Requires(post): /bin/sh
Requires: /bin/sh libQt3Support.so.4 libQtCore.so.4 libQtGui.so.4
libQtNetwork.so.4 libQtSql.so.4 libc.so.6 libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.4)
libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libm.so.6 libpthread.so.0
libselinux.so.1 libstdc++.so.6 libstdc++.so.6(CXXABI_1.3)
libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.9)
rtld(GNU_HASH)

what's this, I guess something's lacking in above statement ?


2009/5/5 Daniel J Walsh <dwalsh at redhat.com>:
> On 05/05/2009 12:56 AM, Shintaro Fujiwara wrote:
>>
>> Hello, I don't know how to install SELinux original policy as original
>> RPM.
>> I edited my spec file but semodule didn't work in BUILDROOT.
>> Thanks in advance.
>>
> semodule should be run in the post install not during the build section.
>  You are adding you policy to the installed policy on the destination
> machine.
>



-- 
http://intrajp.no-ip.com/ Home Page




More information about the fedora-selinux-list mailing list