<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>187931</bug_id>
          
          <creation_ts>2007-08-06 15:57 0000</creation_ts>
          <short_desc>sys-cluster/vzctl missing keepdir</short_desc>
          <delta_ts>2007-08-16 19:58:14 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>geek@alum.rpi.edu</reporter>
          <assigned_to>vserver-devs@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>geek@alum.rpi.edu</who>
            <bug_when>2007-08-06 15:57:50 0000</bug_when>
            <thetext>Currently, vzctl creates a few empty directories when it is installed.  These directories are removed upon re-installation of vzctl.

The ones I have found are:
/vz/template/cache
/vz/template
/vz/lock
/vz/dump
/var/lib/vzctl/veip
/var/lib/vzctl
/usr/lib/vzctl/modules

Reproducible: Always

Steps to Reproduce:
1. Install vzctl
2. Immediately re-install vzctl
Actual Results:  
Removes empty directories belonging to vzctl package.

Expected Results:  
Should keep directories belonging to it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>arfrever@gentoo.org</who>
            <bug_when>2007-08-06 17:47:38 0000</bug_when>
            <thetext>No. It works correctly with newer Portage. Please post the output of:
emerge --info</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>geek@alum.rpi.edu</who>
            <bug_when>2007-08-06 17:51:38 0000</bug_when>
            <thetext>Portage 2.1.2.11 (hardened/amd64, gcc-3.4.6, glibc-2.5-r4, 2.6.18-028stab027 x86_64)
=================================================================
System uname: 2.6.18-028stab027 x86_64 Dual-Core AMD Opteron(tm) Processor 8212
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 03 Aug 2007 13:30:01 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS=&quot;amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=opteron -msse3 -O2 -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-march=opteron -msse3 -O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j9&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;amd64 apache2 bash-completion berkdb cracklib crypt hardened justify midi nls nptl nptlonly pam pic readline sse sse2 ssl tcpd urandom xorg zlib&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;mouse keyboard&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; USERLAND=&quot;GNU&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>arfrever@gentoo.org</who>
            <bug_when>2007-08-06 18:24:00 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; Portage 2.1.2.11 (hardened/amd64, gcc-3.4.6, glibc-2.5-r4, 2.6.18-028stab027
&gt; x86_64)

Update GCC to 4.1.2. Try with Portage 2.1.3.3. It works correctly.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phreak@gentoo.org</who>
            <bug_when>2007-08-10 20:14:59 0000</bug_when>
            <thetext>(In reply to comment #0)
&gt; Currently, vzctl creates a few empty directories when it is installed.  These
&gt; directories are removed upon re-installation of vzctl.
&gt; 
&gt; The ones I have found are:
&gt; /vz/template/cache
&gt; /vz/template
&gt; /vz/lock
&gt; /vz/dump
&gt; /var/lib/vzctl/veip
&gt; /var/lib/vzctl
&gt; /usr/lib/vzctl/modules

Which version of vzctl is that exactly ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phreak@gentoo.org</who>
            <bug_when>2007-08-16 19:58:14 0000</bug_when>
            <thetext>Should be fixed in vzctl-3.0.18-r1 (hopefully).</thetext>
          </long_desc>
      
    </bug>

</bugzilla>