[Pkg-salt-team] Bug#738954: salt-minion: file.find crashes on dangling symlinks
Avinash Sultanpur
avinash.s at yukthi.com
Fri Feb 14 08:53:31 UTC 2014
Package: salt-minion
Version: 0.16.4-2~bpo70+1
Severity: important
salt-call throws up an error when it encounters a dangling
symlink. The bug was fixed upstream:
https://github.com/saltstack/salt/issues/2830
$ sudo salt-call -l quiet --local file.find /tmp type=d
Traceback (most recent call last):
File "/usr/bin/salt-call", line 11, in <module>
salt_call()
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 76, in salt_call
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/__init__.py", line 265, in run
caller.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 132, in run
ret = self.call()
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 73, in call
ret['return'] = func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/salt/modules/file.py", line 480, in find
ret = [p for p in finder.find(path)]
File "/usr/lib/python2.7/dist-packages/salt/utils/find.py", line 555, in find
fstat = os.stat(fullpath)
OSError: [Errno 13] Permission denied: '/tmp/link'
Please include the fix in the deb.
-- System Information:
Debian Release: 7.2
APT prefers stable
APT policy: (900, 'stable'), (500, 'stable-updates')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages salt-minion depends on:
ii dctrl-tools 2.22.2
ii python 2.7.3-4+deb7u1
ii python-pkg-resources 0.6.24-1
ii salt-common 0.16.4-2~bpo70+1
Versions of packages salt-minion recommends:
ii dmidecode 2.11-9
Versions of packages salt-minion suggests:
pn python-augeas <none>
-- no debconf information
More information about the pkg-salt-team
mailing list