/usr/bin/file fails with Bash process substitution

Bug #1788958 reported by Chai T. Rex
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
osFileManager
Unknown
Unknown
file (Ubuntu)
New
Undecided
Unassigned

Bug Description

== System information ==

Description: Ubuntu 16.04.5 LTS
Release: 16.04

file:
  Installed: 1:5.25-2ubuntu1.1
  Candidate: 1:5.25-2ubuntu1.1
  Version table:
 *** 1:5.25-2ubuntu1.1 500
        500 http://mirror.atlantic.net/ubuntu xenial-updates/main amd64 Packages
        500 http://mirror.atlantic.net/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1:5.25-2ubuntu1 500
        500 http://mirror.atlantic.net/ubuntu xenial/main amd64 Packages

== Expected behavior ==

    $ /usr/bin/file <( echo '#!/bin/sh' )
    /dev/fd/63: POSIX shell script, ASCII text executable

== Actual behavior ==

    $ /usr/bin/file <( echo '#!/bin/sh' )
    /dev/fd/63: broken symbolic link to pipe:[10687339]

Note that Bash process substitution does work properly in general:

    $ /bin/cat <( echo '#!/bin/sh' )
    #!/bin/sh

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: file 1:5.25-2ubuntu1.1
ProcVersionSignature: Ubuntu 4.15.0-30.32~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-30-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Aug 24 18:07:43 2018
Dependencies:
 gcc-6-base 6.0.1-0ubuntu1
 libc6 2.23-0ubuntu10
 libgcc1 1:6.0.1-0ubuntu1
 libmagic1 1:5.25-2ubuntu1.1
 zlib1g 1:1.2.8.dfsg-2ubuntu4.1
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-xenial-amd64-20160624-2
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-11-01 (661 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 20160624-10:47
SourcePackage: file
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Chai T. Rex (chaitrex) wrote :
Revision history for this message
Chai T. Rex (chaitrex) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.