Bug 575555 - corecmd_exec_sbin() has been deprecated, please use corecmd_exec_bin()
Summary: corecmd_exec_sbin() has been deprecated, please use corecmd_exec_bin()
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 0.9
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space11
TreeView+ depends on / blocked
 
Reported: 2010-03-21 13:18 UTC by Miroslav Suchý
Modified: 2010-05-05 09:57 UTC (History)
0 users

Fixed In Version: osad-5.9.34-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-05 09:57:54 UTC
Embargoed:


Attachments (Terms of Use)

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 2010-05-04 09:13:38 UTC
Fixed in Spacewalk master, ffa0917cee789470fd79ee7153e3768faea6efed.

Tagged as osad-5.9.34-1.

Comment 2 Jan Pazdziora 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.


Note You need to log in before you can comment on or make changes to this bug.