kernel headers do not define OVERLAYFS_SUPER_MAGIC

Bug #1247769 reported by James Hunt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Joseph Salisbury
Precise
Medium
Joseph Salisbury
Quantal
Medium
Joseph Salisbury
Raring
Medium
Joseph Salisbury
Saucy
Medium
Joseph Salisbury
Trusty
Medium
Joseph Salisbury

Bug Description

Include file /usr/include/linux/magic.h is missing the following:

#define OVERLAYFS_SUPER_MAGIC 0x794c764f

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1247769

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
dino99 (9d9) wrote :

no logs needed here

tags: added: bot-stop-nagging
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Brad Figg (brad-figg) wrote :

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1247769

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
tags: added: kernel-da-key trusty
Changed in linux (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu Saucy):
status: New → In Progress
Changed in linux (Ubuntu Raring):
status: New → In Progress
Changed in linux (Ubuntu Quantal):
status: New → In Progress
Changed in linux (Ubuntu Precise):
status: New → In Progress
Changed in linux (Ubuntu Saucy):
importance: Undecided → Medium
Changed in linux (Ubuntu Raring):
importance: Undecided → Medium
Changed in linux (Ubuntu Quantal):
importance: Undecided → Medium
Changed in linux (Ubuntu Precise):
importance: Undecided → Medium
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu Quantal):
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu Raring):
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu Saucy):
assignee: nobody → Joseph Salisbury (jsalisbury)
tags: added: precise quantal raring saucy
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Hi James,

It would be helpful to know which other piece of software would like the define in magic.h. That define already exists in fs/overlayfs/super.c, so we need to figure out if its best to remove it from there when adding it to magic.h.

Revision history for this message
James Hunt (jamesodhunt) wrote :

Hi Joseph,

Due to the headaches introduced by bug 882147 (which effectively guarantees that tests will fail erroneously), we are changing the Upstart tests to detect a /tmp overlayfs filesystem and display a warning. One approach is to make use of OVERLAYFS_SUPER_MAGIC to check /tmp. See below for the discussion:

https://code.launchpad.net/~jamesodhunt/upstart/check-for-overlayfs/+merge/191393

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I created a patch with the OVERLAYFS_SUPER_MAGIC define moved to include/uapi/linux/magic.h from fs/overlafs/super.c

I built a test kernel with this patch and posted it at:
http://kernel.ubuntu.com/~jsalisbury/lp1247769/

Can you test this kernel to confirm it resolves this bug for you?

Changed in linux (Ubuntu Precise):
status: In Progress → Incomplete
Changed in linux (Ubuntu Raring):
status: In Progress → Incomplete
Changed in linux (Ubuntu Quantal):
status: In Progress → Incomplete
Changed in linux (Ubuntu Saucy):
status: In Progress → Incomplete
Changed in linux (Ubuntu Trusty):
status: In Progress → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Closing unsupported series nomination.

This bug was nominated against a series that is no longer supported, ie saucy. The bug task representing the saucy nomination is being closed as Won't Fix.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu Saucy):
status: Incomplete → Won't Fix
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This bug was nominated against a series that is no longer supported, ie raring. The bug task representing the raring nomination is being closed as Won't Fix.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu Raring):
status: Incomplete → Won't Fix
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This bug was nominated against a series that is no longer supported, ie quantal. The bug task representing the quantal nomination is being closed as Won't Fix.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu Quantal):
status: Incomplete → Won't Fix
Revision history for this message
dino99 (9d9) wrote :
Revision history for this message
dino99 (9d9) wrote :
Revision history for this message
dino99 (9d9) wrote :

Closing that report as it seems outdated and fixed.

Changed in linux (Ubuntu Trusty):
status: Incomplete → Invalid
Changed in linux (Ubuntu Precise):
status: Incomplete → Invalid
Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers