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 <[email protected]>      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

Attachment: augtool-ro.strace.gz
Description: Binary data

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to