Project

General

Profile

Actions

Bug #3665

closed

Upgrade rudder-agent through rudder-agent fails due to "Text file busy" on cp

Added by Dennis Cabooter almost 11 years ago. Updated over 10 years ago.

Status:
Released
Priority:
3
Assignee:
Matthieu CERDA
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

After upgrading rudder-agent through rudder-agent, the dpkg state is not correct:

# dpkg -l |grep rudd
iF  rudder-agent                         2.6.2-precise0               Configuration management and audit tool - agent

Looking into the rudder-agent output, shows this:

Q:env DEBIAN_FRONTEND= ...:cp: cannot create regular file `/var/rudder/cfengine-community/bin/cf-agent': Text file busy

Proposal:

Would it be a good idea to don't upgrade rudder-agent with the standard technique package management techniques, but as an option in rudder itself? As in: an "upgrade rudder agents" button somewhere, with tick boxes to in-/exclude nodes.


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #4098: Rudder-agent upgrade fails if one of the binaries is in use during upgradeReleasedJonathan CLARKE2013-10-22Actions
Has duplicate Rudder - Bug #3667: Update rudder-agent on nodes from rulesRejected2013-06-25Actions
Actions

Also available in: Atom PDF