#194 Issue closed
: Running rear creates annoying messages when also running autofs with /net mounted¶
Labels: enhancement
rockyhb opened issue at 2013-01-30 07:02:¶
Hello,
when running rear it creates annoying messages on systems running autofs
with /net mounted. The reason is, that the script
/usr/share/rear/conf/GNU/Linux.conf uses /*/terminfo as COPY_AS_IS
which is also expanded to /net/terminfo - leading autofs try to connect
to a system called terminfo - which usually does not exists.
A solution would be: Change this to /etc/terminfo and /lib_/terminfo (and ... don't know which other /_/terminfo could be meant).
Regards,
Claas Rockmann-Buchterkirche
Here's the patch:¶
diff --git a/usr/share/rear/conf/GNU/Linux.conf
b/usr/share/rear/conf/GNU/Linux.conf
index e579c46..f30a59e 100644
--- a/usr/share/rear/conf/GNU/Linux.conf
+++ b/usr/share/rear/conf/GNU/Linux.conf
@@ -210,7 +210,7 @@ crc32c
crc32c-intel
)
-COPY_AS_IS=( ${COPY_AS_IS[@]} /dev /etc/inputr[c]
/etc/protocols /etc/services /etc/rpc /etc/termcap //terminfo
/usr/share/terminfo /etc/netconfig /etc/mke2fs.conf /etc/-release
/lib_/firmware /etc/localtime /usr/lib_/syslog-ng /etc/magic
/usr/share/misc/magic )
+COPY_AS_IS=( ${COPY_AS_IS[@]} /dev /etc/inputr[c]
/etc/protocols /etc/services /etc/rpc /etc/termcap /etc/terminfo
/lib_/terminfo /usr/share/terminfo /etc/netconfig /etc/mke2fs.conf
/etc/-release /lib/firmware /etc/localtime /usr/lib_/syslog-ng
/etc/magic /usr/share/misc/magic )
exclude /dev/shm/_, due to the way we use tar the leading / should be omitted¶
COPY_AS_IS_EXCLUDE=( ${COPY_AS_IS_EXCLUDE[@]} dev/shm/_ )
[Export of Github issue for rear/rear.]