Actions
Bug #19429
closedrudder-agent-postinst fails in 7.0 while closing fd
Pull Request:
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
Updated by Félix DALLIDET over 3 years ago
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
Updated by Félix DALLIDET over 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/2496
Updated by Félix DALLIDET over 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|8aa11e4871cb2b1f76d92210f9312cad3057717c.
Updated by Benoît PECCATTE over 3 years ago
- Target version changed from 7.0.0~beta1 to 6.1.14
Bugs must be patched in oldest supported version
Updated by Félix DALLIDET over 3 years ago
Applied in changeset rudder-packages|2a42f9fa448176cba70fff8e33c0abfd5168769e.
Updated by Alexis Mousset over 3 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 3 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.1.14 and 6.2.8 which were released today.
Updated by Benoît PECCATTE almost 3 years ago
- Related to Bug #20522: rudder-agent-postinst doesn't close file descriptors anymore added
Actions