Project

General

Profile

Actions

Bug #19429

closed

rudder-agent-postinst fails in 7.0 while closing fd

Added by Félix DALLIDET over 3 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

An old hack in the postinst to close the open fd right after the install seems to block the installation on the 7.0 version.
On a debian 10 the postinst fails like such:

    debian10_server: Setting up augeas-lenses (1.11.0-3) ...
    debian10_server: Setting up libaugeas0:amd64 (1.11.0-3) ...
    debian10_server: Setting up augeas-tools (1.11.0-3) ...
    debian10_server: Setting up rudder-agent (7.0.0~alpha1~git202106141100-debian10) ...
    debian10_server: /opt/rudder/share/package-scripts/rudder-agent-postinst: 1: exec: 10: not found
    debian10_server: dpkg: error processing package rudder-agent (--configure):
    debian10_server:  installed rudder-agent package post-installation script subprocess returned error exit status 127
    debian10_server: dpkg: dependency problems prevent configuration of rudder-server-relay:
    debian10_server:  rudder-server-relay depends on rudder-agent (>> 7.0.0~alpha1~git000000000000); however:
    debian10_server:   Package rudder-agent is not configured yet.
    debian10_server:   Version of rudder-agent on system, provided by rudder-agent:amd64, is <none>.
    debian10_server:  rudder-server-relay depends on rudder-agent (<< 7.0.0~alpha1~git999999999999); however:
    debian10_server:   Package rudder-agent is not configured yet.
    debian10_server:   Version of rudder-agent on system, provided by rudder-agent:amd64, is <none>.
    debian10_server: 
    debian10_server: dpkg: error processing package rudder-server-relay (--configure):
    debian10_server:  dependency problems - leaving unconfigured
    debian10_server: Errors were encountered while processing:
    debian10_server:  rudder-agent
    debian10_server:  rudder-server-relay


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #20522: rudder-agent-postinst doesn't close file descriptors anymoreReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF