Verify CR 7002414

来源:互联网 发布:宣城太守知不知 白居易 编辑:程序博客网 时间:2024/05/22 14:02



http://monaco.us.oracle.com/detail.jsf?cr=7002414

PublicComments

***Test Case***

1. Open a terminal and remote login onto the testing box, tail the cde-lgoin service file
#tail -f /var/svc/log/application-graphical-login-cde-login\:default.log

2. Open another terminal and remote login onto the testing box,
Run as root:
#/usr/dt/bin/dtconfig -reset
Check the log file in step #1. After the fix. you will see the the lines like this(the status is 0):
---------------------------------
[ Mar 21 14:07:10 Rereading configuration. ]
[ Mar 21 14:07:10 Executing refresh method ("/usr/dt/config/dtlogin.rc reset") ]
[ Mar 21 14:07:10 Method "refresh" exited with status 0 ]
---------------------------------

3. Run as root:
#svcadm refresh cde-login
Check the log file in step #1. After the fix. you will see the the lines like this(the status is 0):
---------------------------------
[ Mar 21 14:08:32 Rereading configuration. ]
[ Mar 21 14:08:32 Executing refresh method ("/usr/dt/config/dtlogin.rc reset") ]
[ Mar 21 14:08:32 Method "refresh" exited with status 0 ]
---------------------------------
***Test Case End***

Entry 1 ava.zhang [2012-03-21 07:05]


=================================I DO ON SPARC :

Terminal I :

work@crazyhorse:~$ bash
work@crazyhorse:~$ su root
Password:
root@crazyhorse:~# bash
root@crazyhorse:~# ssh -l work goldpoint
The authenticity of host 'goldpoint (10.113.204.208)' can't be established.
RSA key fingerprint is 9c:74:0d:ad:f0:14:d4:82:2d:79:e3:c9:fb:4b:29:7f.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'goldpoint,10.113.204.208' (RSA) to the list of known hosts.
Password:
Last login: Tue Mar 20 19:07:57 2012
Oracle Corporation      SunOS 5.10      Generic Patch   January 2005
$ hostname
goldpoint
$ bash
bash-3.2$ tail -f /var/svc/log/application-graphical-login-cde-login\:default.log
[ Mar 20 14:24:40 Executing start method ("lib/svc/method/svc-dtlogin") ]
[ Mar 20 14:24:45 Method "start" exited with status 0 ]
[ Mar 20 18:40:37 Executing start method ("lib/svc/method/svc-dtlogin") ]
[ Mar 20 18:40:43 Method "start" exited with status 0 ]
[ Mar 20 18:50:40 Executing start method ("lib/svc/method/svc-dtlogin") ]
[ Mar 20 18:50:46 Method "start" exited with status 0 ]
[ Mar 20 19:06:28 Stopping because service restarting. ]
[ Mar 20 19:06:28 Executing stop method (:kill) ]
[ Mar 20 19:06:29 Executing start method ("lib/svc/method/svc-dtlogin") ]
[ Mar 20 19:06:29 Method "start" exited with status 0 ]
[ Mar 21 15:23:33 Rereading configuration. ]
[ Mar 21 15:23:33 Executing refresh method ("/usr/dt/config/dtlogin.rc reset") ]
[ Mar 21 15:23:33 Method "refresh" exited with status 0 ]

[ Mar 21 15:25:30 Rereading configuration. ]
[ Mar 21 15:25:30 Executing refresh method ("/usr/dt/config/dtlogin.rc reset") ]
[ Mar 21 15:25:30 Method "refresh" exited with status 0 ]

Terminal II :

ork@crazyhorse:~$ bash
work@crazyhorse:~$ su root
Password:
root@crazyhorse:~# ssh -l work goldpoint
Password:
Last login: Wed Mar 21 15:18:30 2012 from crazyhorse.cn.o
Oracle Corporation      SunOS 5.10      Generic Patch   January 2005
$ bash
bash-3.2$ hostname
goldpoint
bash-3.2$ su root
Password:
# bash
# /usr/dt/bin/dtconfig -reset
done
dtlogin config resources reloaded.
# svcadm refresh cde-login
#