Project

General

Profile

Actions

Bug #18719

closed

On sles system augtool requires a terminating break line to run a command passed via pipe

Added by Félix DALLIDET about 4 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
First impressions of Rudder
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

See:

agent:/tmp/tmp.epR3YYTx9n/tests/acceptance # printf "set /augeas/load/Passwd/lens "Passwd.lns" \nset /augeas/load/Passwd/incl "/etc/passwd" \nload \nget /files/etc/passwd/root/uid" | augtool --noautoload -e
augtool> set /augeas/load/Passwd/lens Passwd.lns 
augtool> set /augeas/load/Passwd/incl /etc/passwd 
augtool> load 
augtool> get /files/etc/passwd/root/uid
agent:/tmp/tmp.epR3YYTx9n/tests/acceptance # printf "set /augeas/load/Passwd/lens "Passwd.lns" \nset /augeas/load/Passwd/incl "/etc/passwd" \nload \nget /files/etc/passwd/root/uid\n" | augtool --noautoload -e
augtool> set /augeas/load/Passwd/lens Passwd.lns 
augtool> set /augeas/load/Passwd/incl /etc/passwd 
augtool> load 
augtool> get /files/etc/passwd/root/uid
/files/etc/passwd/root/uid = 0
augtool> 

Actions #1

Updated by Félix DALLIDET about 4 years ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET about 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Alexis Mousset
  • Pull Request set to https://github.com/Normation/ncf/pull/1273
Actions #3

Updated by Félix DALLIDET about 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Vincent MEMBRÉ about 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.7 which was released today.

Actions #5

Updated by Alexis Mousset over 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods - File Management to Generic methods
Actions

Also available in: Atom PDF