Subversion リポジトリの参照
Diff of /trunk/1.8.x/ccs-patch/README.ccs
Parent Directory
| Revision Log
| Patch
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 |
|
|
|