I don't understand the use case of this, why would you want to 'save'
and that the changes aren't written to the disk? whouldn't that be
unusefull?
On Wed, 08 Sep 2010, martin f krafft wrote:

> Package: augeas
> Version: 0.7.0-1
> Severity: normal
> Tags: upstream
> 
> Augtool insists on writing to the filesystem, even if it does not
> need to make any changes. For instance, the following fails because
> /etc is mounted read-only, and hence /etc/ssh/sshd_config.augnew
> cannot be written (strace attached):
> 
>   augtool> print /files/etc/ssh/sshd_config/PermitRootLogin
>   /files/etc/ssh/sshd_config/PermitRootLogin = "without-password"
>   augtool> set /files/etc/ssh/sshd_config/PermitRootLogin without-password
>   augtool> print /files/etc/ssh/sshd_config/PermitRootLogin
>   /files/etc/ssh/sshd_config/PermitRootLogin = "without-password"
>   augtool> save
>   Saving failed
> 
> Please use a temporary directory for writing temporary files.
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.35-trunk-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> 
> -- 
>  .''`.   martin f. krafft <madd...@d.o>      Related projects:
> : :'  :  proud Debian developer               http://debiansystem.info
> `. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
>   `-  Debian - when you have better things to do than fixing systems





-- 
Nicolas Valcárcel
Security Engineer
Custom Engineering Solutions Group
Canonical OEM Services
Mobile: +511 994 293 200
Key fingerprint = 5C4D 0C85 D9C0 98FE 11F9  DD12 524E C3CD EF58 4970
gpg --keyserver keyserver.ubuntu.com --recv-keys 654597FE

Attachment: signature.asc
Description: Digital signature

Reply via email to