[Bug 1788958] Re: /usr/bin/file fails with Bash process substitution

Chai T. Rex 1788958 at bugs.launchpad.net
Fri Aug 24 23:11:36 UTC 2018


Reported upstream at https://bugs.astron.com/view.php?id=32

** Bug watch added: bugs.astron.com/ #32
   https://bugs.astron.com/view.php?id=32

** Also affects: file via
   https://bugs.astron.com/view.php?id=32
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to file in Ubuntu.
https://bugs.launchpad.net/bugs/1788958

Title:
  /usr/bin/file fails with Bash process substitution

Status in osFileManager:
  Unknown
Status in file package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/file/+bug/1788958/+subscriptions



More information about the foundations-bugs mailing list