[issue269] smart will not start - bad parsing of /etc/auto.master

Miroslav Suchy at Labix Tracker tracker at labix.org
Tue Jan 2 02:23:44 PST 2007


New submission from Miroslav Suchy <msuchy at redhat.com>:

Hi,
i'm trying smart and it will not start.

# smart --gui
Traceback (most recent call last):
  File "/usr/bin/smart", line 194, in ?
    main(sys.argv[1:])
  File "/usr/bin/smart", line 161, in main
    forcelocks=opts.ignore_locks, loglevel=opts.log_level)
  File "usr/lib/python2.4/site-packages/smart/__init__.py", line 111, in init
  File "usr/lib/python2.4/site-packages/smart/control.py", line 53, in __init__
  File "usr/lib/python2.4/site-packages/smart/fetcher.py", line 53, in __init__
  File "usr/lib/python2.4/site-packages/smart/media.py", line 34, in __init__
  File "usr/lib/python2.4/site-packages/smart/media.py", line 41, in discover
  File "usr/lib/python2.4/site-packages/smart/hook.py", line 64, in call
  File "usr/lib/python2.4/site-packages/smart/media.py", line 329, in
discoverAutoMountMedias
ValueError: need more than 1 value to unpack


cat /etc/auto.master
#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
/misc   /etc/auto.misc
/net    -hosts
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master

This last line made the problem. You should change your parser. When I commented
the line. It works.

----------
messages: 1056
nosy: msuchy
priority: urgent
project: smart
status: unread
title: smart will not start - bad parsing of /etc/auto.master

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue269>
_______________________________________



More information about the Smart mailing list