Installation report , (ln, ls, semodule, rm)

Jim Cornette fct-cornette at insight.rr.com
Sat Dec 10 20:25:51 UTC 2005


Dawid Gajownik wrote:
> Dnia 12/10/2005 05:38 PM, Użytkownik Jim Cornette napisał:
> 
>> You probably could have accessed your system by adding selinux=0 via 
>> grub on boot.
> 
> 
> Thanks, I completely forgot about this option :)
> 
>> Using --noscripts probably messed up something on the system though.
> 
> 
> I thought that installation with `--noscripts' option only copies files 
> to the disk and adds necessary entries to the RPM database :/

As far as I understand, the post scripts could call programs,set 
enviromnmental factors or do any other item needed to set things up for 
   the new programs. I know that running noscripts for the kernel is 
pretty much worthless since it does not add entries for the new kernel 
and might not have other items that it is supposed to.

> 
>> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=174919
>>
>> The bug above is for reference.
> 
> 
> Thanks, I've added myself to CC.
> 

You might want to include the installation report to the bug report also.

I see what you are referring to the scriptlet error with selinux-policy

This package downloads but aborts being installed either with rpm or yum.

Populating transaction set with selected packages. Please wait.
---> Downloading header for selinux-policy-targeted to pack into 
transaction set.
selinux-policy-targeted-2 100% |=========================| 8.3 kB    00:00
---> Package selinux-policy-targeted.noarch 0:2.1.1-1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
  Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
  selinux-policy-targeted  noarch     2.1.1-1          development 
  221 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       1 Package(s)
Remove       0 Package(s)
Total download size: 221 k
Downloading Packages:
(1/1): selinux-policy-tar 100% |=========================| 221 kB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
error: %pre(selinux-policy-targeted-2.1.1-1.noarch) scriptlet failed, 
exit status 255
error:   install: %pre scriptlet failed (2), skipping 
selinux-policy-targeted-2.1.1-1

Updated: selinux-policy-targeted.noarch 0:2.1.1-1
Complete!
[root at cornette-lt ~]# rpm -q selinux-policy-targeted
selinux-policy-targeted-2.1.0-1
[root at cornette-lt ~]# cd /var/cache/yum/development/packages/
[root at cornette-lt packages]# ls
selinux-policy-targeted-2.1.1-1.noarch.rpm
[root at cornette-lt packages]# rpm -Uvh sel*.rpm
Preparing...                ########################################### 
[100%]
error: %pre(selinux-policy-targeted-2.1.1-1.noarch) scriptlet failed, 
exit status 255
error:   install: %pre scriptlet failed (2), skipping 
selinux-policy-targeted-2.1.1-1




More information about the test mailing list