Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 575555

Summary: corecmd_exec_sbin() has been deprecated, please use corecmd_exec_bin()
Product: [Community] Spacewalk Reporter: Miroslav Suchý <msuchy>
Component: ClientsAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: osad-5.9.34-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-05 09:57:54 UTC Type: ---
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: 585232    

Description Miroslav Suchý 2010-03-21 13:18:55 UTC
Description of problem:
During build of package osad on RHEL6, I see warning about deprecation of corecmd_exec_sbin.

How reproducible:
always

Steps to Reproduce:
1. install rhel6
2. build package osad

  
Actual results:
cat: /selinux/mls: No such file or directory                                                                                                      
Compiling mls osa-dispatcher module                                                                                                               
osa-dispatcher.te:34: Warning: corecmd_exec_sbin() has been deprecated, please use corecmd_exec_bin() instead.                                    
/usr/bin/checkmodule:  loading policy configuration from tmp/osa-dispatcher.tmp                                                                   

Expected results:
No warnings.

Comment 1 Jan Pazdziora (Red Hat) 2010-05-04 09:13:38 UTC
Fixed in Spacewalk master, ffa0917cee789470fd79ee7153e3768faea6efed.

Tagged as osad-5.9.34-1.

Comment 2 Jan Pazdziora (Red Hat) 2010-05-05 09:57:54 UTC
The package was built and is in the nightly repo. On my Fedora 12, the build logs show

make: Entering directory `/builddir/build/BUILD/osad-5.9.34/osa-dispatcher-selinux'
Compiling mls osa-dispatcher module
/usr/bin/checkmodule:  loading policy configuration from tmp/osa-dispatcher.tmp
/usr/bin/checkmodule:  policy configuration loaded
/usr/bin/checkmodule:  writing binary representation (version 10) to tmp/osa-dispatcher.mod
Creating mls osa-dispatcher.pp policy package
rm tmp/osa-dispatcher.mod.fc tmp/osa-dispatcher.mod
make: Leaving directory `/builddir/build/BUILD/osad-5.9.34/osa-dispatcher-selinux'

so the warning is gone. I shall close this as CURRENTRELEASE now as this bugzilla was about building the package, and it has passed.