Package: am-utils
Version: 6.1.5-2
Severity: normal
I didn't have nfs-common present, thus couldn't cd /net/anywhere.
checked logs and saw
Nov 27 08:58:23 vaio automount[9285]: >> /etc/auto.net: line 40: --no-headers: c
ommand not found
and indeed:
*$> sh -x /etc/auto.net
+ key=
+ opts=-fstype=nfs,hard,intr,nodev,nosuid,nonstrict,async
+ for P in /bin /sbin /usr/bin /usr/sbin
+ for M in showmount kshowmount
+ '[' -x /bin/showmount ']'
+ for M in showmount kshowmount
+ '[' -x /bin/kshowmount ']'
+ for P in /bin /sbin /usr/bin /usr/sbin
+ for M in showmount kshowmount
+ '[' -x /sbin/showmount ']'
+ for M in showmount kshowmount
+ '[' -x /sbin/kshowmount ']'
+ for P in /bin /sbin /usr/bin /usr/sbin
+ for M in showmount kshowmount
+ '[' -x /usr/bin/showmount ']'
+ for M in showmount kshowmount
+ '[' -x /usr/bin/kshowmount ']'
+ for P in /bin /sbin /usr/bin /usr/sbin
+ for M in showmount kshowmount
+ '[' -x /usr/sbin/showmount ']'
+ for M in showmount kshowmount
+ '[' -x /usr/sbin/kshowmount ']'
+ '[' -x ']'
+ SHOWMOUNT=' --no-headers -e '
+ --no-headers -e
/etc/auto.net: line 40: --no-headers: command not found
+ LC_ALL=C
+ sort -k 1
+ sed 's/#/\\#/g'
+ awk -v key= -v opts=-fstype=nfs,hard,intr,nodev,nosuid,nonstrict,async -- '
BEGIN { ORS=""; first=1 }
{ if (first) { print opts; first=0 }; print " \\\n\t"
$1, key ":" $1 }
END { if (!first) print "\n"; else exit 1 }
'
I bet you should simple wrap in "" like
[ -x "$SMNT" ] || echo 1
and it would work ;-)
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (600, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-rc2-mm1
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Versions of packages am-utils depends on:
ii debconf 1.5.5 Debian configuration management sy
ii libamu4 6.1.5-2 Support library for amd the 4.4BSD
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libgdbm3 1.8.3-3 GNU dbm database routines (runtime
ii libhesiod0 3.0.2-16 Libraries for hesiod, a service na
ii libldap2 2.1.30-13+b1 OpenLDAP libraries
ii libwrap0 7.6.dbs-11 Wietse Venema's TCP wrappers libra
ii perl 5.8.8-6.1 Larry Wall's Practical Extraction
ii portmap 5-20 The RPC portmapper
ii ucf 2.0015 Update Configuration File: preserv
am-utils recommends no packages.
-- debconf information:
am-utils/import-amd-failed:
am-utils/clustername:
am-utils/map-net: true
* am-utils/use-nis: false
am-utils/nis-custom: echo "/amd-is-misconfigured /usr/share/am-utils/amd.net"
am-utils/import-amd-conf-done: false
am-utils/import-amd-conf: false
am-utils/nis-master-map: amd.master
am-utils/nis-key: default
* am-utils/rpc-localhost:
am-utils/map-others:
am-utils/nis-master-map-key-style: onekey
am-utils/map-home: false
am-utils/log-to-file:
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]