Folks,

Please review fix for CR :
7120902 var/cache/pkg/sysrepo recreated with broken perms

webrev : https://cr.opensolaris.org/action/browse/pkg/saurabhv/CR-7120902-rev1/webrev/

Unit testing done :

   * Removed the directory /var/cache/pkg/sysrep
   * Then enabled the system-repository servic
   * Verified that service is comes online
   * Verified the permission on the directory,  /var/cache/pkg/sysrep

Here are details :

    # rmdir /var/cache/pkg/sysrepo
    # svcadm enable svc:/application/pkg/system-repository:default
    # svcs -a | grep system-repository
    online 9:10:25 svc:/application/pkg/system-repository:default
    # ls -ld /system/volatile/pkg/sysrepo
    drwxr-xr-x 3 root root 322 Feb 23 09:10 /system/volatile/pkg/sysrepo
    # ls -ld /var/cache/pkg/sysrepo
    drwxr-xr-x 2 root root 2 Feb 23 09:10 /var/cache/pkg/sysrepo
    # ls -ld /var/log/pkg/sysrepo
    drwxr-xr-x 2 root bin 5 Feb 23 09:10 /var/log/pkg/sysrepo

Thanks,
Abhi.

--
Oracle
Abhinandan Ekande
Solaris Install,
Revenue Product Engineering (RPE), Systems
Phone: +91 8041847267 | Fax: +91 80 22231794 | Mobile: +91 9632144088
ORACLE India | Off Langford Road | Bangalore | 560025
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to