FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora SELinux Support

 
 
LinkBack Thread Tools
 
Old 02-05-2008, 02:37 PM
"Stanisław T. Findeisen"
 
Default semanage segmentation fault? (awstats)

Look I tried to intall awstats-6.6-1.fc7.noarch.rpm from Fedora release
on Fedora 7 64-bit and got segmentation fault in semanage I think.


First I tried this:

[root@srv-1 download]# rpm --install ./awstats-6.6-1.fc7.noarch.rpm
/var/tmp/rpm-tmp.71040: line 12: 3964 Segmentation fault semanage
fcontext -a -t httpd_sys_script_exec_t
'/usr/share/awstats/wwwroot/cgi-bin(/.*)?' 2> /dev/null
/var/tmp/rpm-tmp.71040: line 13: 3965 Segmentation fault semanage
fcontext -a -t httpd_sys_script_rw_t '/var/lib/awstats(/.*)?' 2> /dev/null


Then I realised I have HTTP server on, so I thought I will turn it off
and try again (on the way I had to erase the RPM because it was
considered "installed").


Then this happened:

[root@srv-1 download]# rpm --install ./awstats-6.6-1.fc7.noarch.rpm
/var/tmp/rpm-tmp.21042: line 12: 3995 Segmentation fault semanage
fcontext -a -t httpd_sys_script_exec_t
'/usr/share/awstats/wwwroot/cgi-bin(/.*)?' 2> /dev/null
/var/tmp/rpm-tmp.21042: line 13: 3996 Segmentation fault semanage
fcontext -a -t httpd_sys_script_rw_t '/var/lib/awstats(/.*)?' 2> /dev/null


I do not know what /var/tmp/rpm-tmp.* is, but I suppose that is an RPM
install script or something which comes with RPM (right?). After these 2
steps the /var/tmp directory was empty so I couldn't examine that file.


After that I downloaded awstats-6.7-2.fc7.noarch.rpm from Fedora updates
and it installed fine (although I haven't tested it yet).


I have also found this in /var/log/messages:

Feb 5 15:53:44 srv-1 kernel: semanage[3964]: segfault at
0000000000000000 rip 00002b610d7e9b49 rsp 00007fffa20be6b0 error 4
Feb 5 15:53:44 srv-1 kernel: semanage[3965]: segfault at
0000000000000000 rip 00002b2754535b49 rsp 00007fff5b3744b0 error 4
Feb 5 15:56:33 srv-1 kernel: semanage[3995]: segfault at
0000000000000000 rip 00002b0a226c9b49 rsp 00007fff8d1e0300 error 4
Feb 5 15:56:33 srv-1 kernel: semanage[3996]: segfault at
0000000000000000 rip 00002b0feea21b49 rsp 00007fffc0e86fc0 error 4


What do you think guys?

STF

--
fedora-selinux-list mailing list
fedora-selinux-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-selinux-list
 

Thread Tools




All times are GMT. The time now is 02:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org