オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /trunk/1.8.x/ccs-patch/README.ccs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5233 by kumaneko, Thu Jul 7 10:43:24 2011 UTC revision 5235 by kumaneko, Thu Jul 7 11:58:12 2011 UTC
# Line 2894  Version 1.8.2   2011/06/20   Usability e Line 2894  Version 1.8.2   2011/06/20   Usability e
2894    
2895  Fix 2011/07/07  Fix 2011/07/07
2896    
2897      @ Fix wrong namepsace reference.      @ Remove /proc/ccs/.domain_status interface.
2898    
2899        ccs_write_domain_profile() was by error using previously selected        Writing to /proc/ccs/.domain_status can be emulated by
2900        namespace. It should use selected domain's namespace.  
2901            ( echo "select " $domainname; echo "use_profile " $profile ) |
2902            /usr/sbin/ccs-loadpolicy -d
2903    
2904          and reading from /proc/ccs/.domain_status can be emulated by
2905    
2906            grep -A 1 '^<' /proc/ccs/domain_policy |
2907            awk ' { if ( domainname == "" ) { if ( substr($1, 1, 1) == "<" )
2908            domainname = $0; } else if ( $1 == "use_profile" ) {
2909            print $2 " " domainname; domainname = ""; } } ; '
2910    
2911          . Since this interface is used by only /usr/sbin/ccs-setprofile ,
2912          remove this interface by updating /usr/sbin/ccs-setprofile .

Legend:
Removed from v.5233  
changed lines
  Added in v.5235

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26