← Back to issue list

Rockcraft wipes working directory

View original Github issue

Metadata

Project
rockcraft
Number
#132
Type
issue
State
open
Author
jardon
Labels
Created
2022-10-21 13:11:53+00:00
Updated
2026-03-18 17:52:54+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

When running rockcraft with the organize option, the working directory gets completely wiped. Steps to reproduce: ```bash git clone git@github.com:jardon/zookeeper-rock.git git checkout wipe-workdir rockcraft -v ``` Here is the verbose output: ``` Starting Rockcraft 0.0.1.dev1 Logging execution to '/home/jardon/.cache/rockcraft/log/rockcraft-20221021-081009.128623.log' Launching instance... Starting Rockcraft 0.0.1.dev1 Logging execution to '/tmp/rockcraft.log' Retrieving base ubuntu:20.04 Retrieved base ubuntu:20.04 for amd64 Extracting ubuntu:20.04 Extracted ubuntu:20.04 Initializing parts lifecycle Executing parts lifecycle Executing parts lifecycle: skip pull pebble (already ran) Executing action Executed: skip pull pebble (already ran) Executing parts lifecycle: skip pull zookeeper (already ran) Executing action Executed: skip pull zookeeper (already ran) Executing parts lifecycle: skip overlay pebble (already ran) Executing action Executed: skip overlay pebble (already ran) Executing parts lifecycle: skip overlay zookeeper (already ran) Executing action Executed: skip overlay zookeeper (already ran) Executing parts lifecycle: skip build pebble (already ran) Executing action Executed: skip build pebble (already ran) Executing parts lifecycle: build zookeeper Executing action Removing suid/guid from /root/parts/zookeeper/install/bin/su Removing suid/guid from /root/parts/zookeeper/install/usr/bin/newgrp /root/parts/zookeeper/install/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts will be a dangling symlink Removing suid/guid from /root/parts/zookeeper/install/sbin/pam_extrausers_chkpwd Removing suid/guid from /root/parts/zookeeper/install/sbin/unix_chkpwd :: + cp conf/zoo_sample.cfg conf/zoo.cfg :: + cp -r ./LICENSE.txt ./NOTICE.txt ./README.md ./README_packaging.md ./bin ./conf ./docs ./lib /root/parts/zookeeper/install /root/project: Device or resource busy Full execution log: '/tmp/rockcraft.log' craft-providers error: Failed to execute pack in instance. Full execution log: '/home/jardon/.cache/rockcraft/log/rockcraft-20221021-081009.128623.log' ``` Here is the [log](https://pastebin.com/YXAVDsph)

Evaluation history

No evaluation history available.