pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46760: pkgtools/pkg_chk /tmp/pkg_chk.XXXXXa directories



>Number:         46760
>Category:       pkg
>Synopsis:       pkgtools/pkg_chk /tmp/pkg_chk.XXXXXa directories
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 31 09:30:00 +0000 2012
>Originator:     foo
>Release:        6.99.10 GENERIC i386
>Organization:
>Environment:
6.99.10 GENERIC i386
>Description:
"pkg_chk -g" command genarates a empty directory, /tmp/pkg_chk.XXXXXa.
It should be deleted automatically by pkg_chk.

$ grep Id: /usr/pkg/sbin/pkg_chk 
# $Id: pkg_chk.sh,v 1.67 2012/07/29 17:31:11 abs Exp $
$ ls /tmp
$ pkg_chk -g
$ ls /tmp
pkg_chk.12420a/
$ ls -al /tmp/pkg_chk.12420a/
total 4K
drwx------ 2 xxxxxxx wheel 512 July  31 18:14 ./
drwxrwxrwt 8 root    wheel 512 July  31 18:14 ../
$ pkg_chk -g
$ pkg_chk -g
$ pkg_chk -g
$ ls /tmp/
pkg_chk.10409a/  pkg_chk.12314a/  pkg_chk.12420a/  pkg_chk.13375a/
$

>How-To-Repeat:
Install pkg_chk-2.0.2, and do "pkg_chk -g".
>Fix:



Home | Main Index | Thread Index | Old Index