file doesn't recognise all "Linux make config build file[s]"

Bug #1058191 reported by Ken Sharp on 2012-09-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
file (Ubuntu)
Undecided
Unassigned

Bug Description

$ file /boot/config*
/boot/config-2.6.38-16-generic: Linux make config build file
/boot/config-2.6.38-8-generic: Linux make config build file
/boot/config-3.2.0-30-generic: ASCII text
/boot/config-3.2.0-31-generic: ASCII text

$ file -i /boot/config*
/boot/config-2.6.38-16-generic: text/plain; charset=us-ascii
/boot/config-2.6.38-8-generic: text/plain; charset=us-ascii
/boot/config-3.2.0-30-generic: text/plain; charset=us-ascii
/boot/config-3.2.0-31-generic: text/plain; charset=us-ascii

The files are practically identical.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: file 5.09-2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: fglrx wl
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
Date: Fri Sep 28 17:04:17 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: file
UpgradeStatus: No upgrade log present (probably fresh install)

Ken Sharp (kennybobs) wrote :
Ken Sharp (kennybobs) wrote :

Then again looking at

28 string make\ config Linux make config build file

it looks like these files might be incorrectly recognised as make config files.

Ken Sharp (kennybobs) wrote :

Doesn't recognise any of the newer config files.

$ file --version ; file *
file-5.14
magic file from /etc/magic:/usr/share/misc/magic
abi-3.8.0-29-generic: ASCII text
abi-3.8.0-32-generic: ASCII text
abi-3.8.0-33-generic: ASCII text
config-3.8.0-29-generic: ASCII text
config-3.8.0-32-generic: ASCII text
config-3.8.0-33-generic: ASCII text

Ken Sharp (kennybobs) wrote :

I see what the issue is now, will submit a patch upstream later.

Ken Sharp (kennybobs) wrote :
Changed in file (Ubuntu):
status: New → In Progress
assignee: nobody → Ken Sharp (kennybobs)
Ken Sharp (kennybobs) on 2013-11-25
tags: added: patch-forwarded-upstream
Ken Sharp (kennybobs) on 2014-01-21
tags: added: patch-accepted-upstream
removed: patch-forwarded-upstream
Changed in file (Ubuntu):
assignee: Ken Sharp (kennybobs) → nobody
status: In Progress → Confirmed
Ken Sharp (kennybobs) wrote :

This should appear in File 5.18 (Utopic). I don't have the options to set this in Launchpad.

Changed in file (Ubuntu):
status: Confirmed → Fix Committed
tags: added: i386 trusty
Ken Sharp (kennybobs) wrote :

$ file -i /boot/config*
/boot/config-4.10.0-38-generic: text/plain; charset=us-ascii
/boot/config-4.4.0-98-generic: text/plain; charset=us-ascii

Format changed again in Xenial.

tags: added: xenial
Ken Sharp (kennybobs) wrote :

Looking good again in Xenial:

/boot/config-4.13.0-38-generic: Linux make config build file, ASCII text
/boot/config-4.15.0-13-generic: Linux make config build file, ASCII text

But they are newer kernels. I don't have 4.4/10 to check again.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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