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 almost 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

Also available in: Atom PDF