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

Bug #1058191 reported by Ken Sharp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
file (Ubuntu)
Fix Committed
Undecided
Ken Sharp

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)

Revision history for this message
Ken Sharp (kennybobs) wrote :
Revision history for this message
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.

Revision history for this message
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

Revision history for this message
Ken Sharp (kennybobs) wrote :

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

Revision history for this message
Ken Sharp (kennybobs) wrote :
Changed in file (Ubuntu):
status: New → In Progress
assignee: nobody → Ken Sharp (kennybobs)
Ken Sharp (kennybobs)
tags: added: patch-forwarded-upstream
Ken Sharp (kennybobs)
tags: added: patch-accepted-upstream
removed: patch-forwarded-upstream
Changed in file (Ubuntu):
assignee: Ken Sharp (kennybobs) → nobody
status: In Progress → Confirmed
Revision history for this message
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
Revision history for this message
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
Revision history for this message
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.

Ken Sharp (kennybobs)
Changed in file (Ubuntu):
assignee: nobody → Ken Sharp (kennybobs)
Revision history for this message
Ken Sharp (kennybobs) wrote :

Changed again. I guess this will be a never-ending task.

$ file -i /boot/config*
/boot/config-5.3.0-42-generic: text/plain; charset=us-ascii
/boot/config-5.3.0-45-generic: text/plain; charset=us-ascii
/boot/config-5.3.0-46-generic: text/plain; charset=us-ascii

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.