ports/158628: graphics/opencv and daily periodic disks clean

Romain Tartiere romain at FreeBSD.org
Mon Jul 4 07:30:12 UTC 2011


>Number:         158628
>Category:       ports
>Synopsis:       graphics/opencv and daily periodic disks clean
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 04 07:30:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Romain Tartiere
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD marvin.blogreen.org 8.2-STABLE FreeBSD 8.2-STABLE #7 r222417: Sat May 28 13:23:35 CEST 2011 root at marvin.blogreen.org:/usr/obj/usr/src/sys/MARVIN amd64


	
>Description:

-- context (feel free to skip) --

The /etc/periodic/daily/100.clean-disks script can be run daily to look for
files that could be deleted from the hard disk setting

  daily_clean_disks_enable="YES"

into /etc/periodic.conf.  In this case, files matching daily_clean_disks_files
are hunt and unlinked.  This variable default value is set in
/etc/defaults/periodic.conf as:

  daily_clean_disks_files="[#,]* .#* a.out *.core *.CKP .emacs_[0-9]*"

-- end of context --

Reading root's 'daily run output' mail:

  Cleaning disks:
  /tmp/a.out
  /var/cache/portshaker/ports/graphics/opencv/pkg-plist.core
  /usr/local/poudriere/ports/mono/ports/graphics/opencv/pkg-plist.core
  /usr/local/poudriere/ports/romain/ports/graphics/opencv/pkg-plist.core
  /usr/ports/graphics/opencv/pkg-plist.core

Because one of the ports file is named pkg-plist.core, the port may be
incomplete on the system of an user when we wants to install it.

>How-To-Repeat:

1. Activate daily_clean_disks_enable;
2. Update ports;
3. Wait for the periodic run to happen.

>Fix:

Because daily_clean_disks_enable is not enabled by default, the issue is quite
marginal, but renaming the file to not match *.core may avoid some frustration
for a few users.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list