Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1095274

Summary: ERROR 'unknown type httpd_totpcgi_script_t' at token ';' on line 5216
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: totpcgiAssignee: Konstantin Ryabitsev <icon>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dennis, icon, opensource
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: totpcgi-0.5.5-4.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-18 12:16:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1105908    

Description Michael Schwendt 2014-05-07 11:52:56 UTC
totpcgi-selinux is on the Rawhide broken deps report for a long time, and the fix for that would be easy, but it fails to rebuild for Fedora newer than 20:

[...]
+ pushd selinux
~/build/BUILD/totpcgi-0.5.5/selinux ~/build/BUILD/totpcgi-0.5.5
+ for selinuxvariant in mls strict targeted
+ make NAME=mls -f /usr/share/selinux/devel/Makefile
Compiling mls totpcgi module
totpcgi.te:55: Warning: miscfiles_read_certs() has been deprecated, please use miscfiles_read_generic_certs() instead.
totpcgi.te:58: Warning: miscfiles_read_certs() has been deprecated, please use miscfiles_read_generic_certs() instead.
totpcgi.te":41:ERROR 'unknown type httpd_totpcgi_script_t' at token ';' on line 5216:
	typeattribute httpd_totpcgi_script_t syslog_client_type;
#line 41
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
/usr/bin/checkmodule:  loading policy configuration from tmp/totpcgi.tmp
make: *** [tmp/totpcgi.mod] Error 1

Comment 1 Till Maas 2014-11-13 18:42:55 UTC
*** Bug 1107456 has been marked as a duplicate of this bug. ***

Comment 2 Till Maas 2014-11-13 20:03:49 UTC
There are now patches in the master branch that fix the build. Tested on Fedora 20, scratch build for Rawhide is here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=8132784

Comment 3 Fedora Update System 2014-11-15 23:25:59 UTC
totpcgi-0.5.5-4.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/totpcgi-0.5.5-4.fc21

Comment 4 Fedora Update System 2014-11-16 14:41:20 UTC
Package totpcgi-0.5.5-4.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing totpcgi-0.5.5-4.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-15164/totpcgi-0.5.5-4.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-11-18 12:16:00 UTC
totpcgi-0.5.5-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.