From: Brad Hubbard Date: Thu, 3 Jan 2019 06:45:50 +0000 (+1000) Subject: mount.fuse.ceph: Fix ambiguous shebang X-Git-Tag: v14.1.0~400^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=885a37ac026cb384efd3c73d6eb9125abd2a0043;p=ceph.git mount.fuse.ceph: Fix ambiguous shebang The ambiguous shebang now produces an error in rawhide and halts the build. In f29 this was a warning. Add python3 as a dependency for ceph-fuse. Fixes: http://tracker.ceph.com/issues/37787 Signed-off-by: Brad Hubbard --- diff --git a/ceph.spec.in b/ceph.spec.in index 49d4f58d9924..347daa5c519a 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -463,6 +463,7 @@ Summary: Ceph fuse-based client Group: System/Filesystems %endif Requires: fuse +Requires: python%{python3_pkgversion} %description fuse FUSE based client for Ceph distributed network file system diff --git a/debian/control b/debian/control index 48ce3528cd85..347a41d6898e 100644 --- a/debian/control +++ b/debian/control @@ -278,6 +278,7 @@ Package: ceph-fuse Architecture: linux-any Depends: ${misc:Depends}, ${shlibs:Depends}, + ${python3:Depends}, fuse, Description: FUSE-based client for the Ceph distributed file system Ceph is a massively scalable, open-source, distributed diff --git a/src/mount.fuse.ceph b/src/mount.fuse.ceph index 87349a0ab08d..c61625a8c2f5 100755 --- a/src/mount.fuse.ceph +++ b/src/mount.fuse.ceph @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 ''' Helper to mount ceph-fuse from /etc/fstab. To use, add an entry like: