bugSystem V style init programs - Bugs: bug #33400, mountpoint breaks on some...

 
 

bug #33400: mountpoint breaks on some filesystems due to not being compiled with _FILE_OFFSET_BITS=64

Submitted by:  None
Submitted on:  Wed 25 May 2011 01:57:17 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 26 May 2011 07:51:32 AM UTC, comment #1:

It is up on you, the packager, to use e.g. the output of

getconf LFS_CFLAGS

with e.g.

make CFLAGS="$(getconf LFS_CFLAGS)"

Dr. Werner Fink <wfink>
Project Administrator
Wed 25 May 2011 01:57:17 PM UTC, original submission:

Except for the actual mount options and server/share name, the below is an actual transcript which exhibits the problem.
This happens on an Linux 2.6.37 on i686, but I've seen it on other kernel versions, too. Note the huge inode #
Kind regards,
Malte

$ cd sysvinit-2.88dsf/src
$ mkdir mounted-cifs-share
$ mount -t cifs -o $opts //$server/$share mounted-cifs-share/
$ make clean mountpoint && ./mountpoint mounted-cifs-share/
rm -f .o .bak
Type "make clobber" to really clean up.
cc -ansi -O2 -fomit-frame-pointer -W -Wall -D_GNU_SOURCE -c -o mountpoint.o mountpoint.c
cc mountpoint.o -o mountpoint
mountpoint: mounted-cifs-share/: Value too large for defined data type
$ make CFLAGS=-D_FILE_OFFSET_BITS=64 clean mountpoint && ./mountpoint mounted-cifs-share/
rm -f .o .bak
Type "make clobber" to really clean up.
cc -D_FILE_OFFSET_BITS=64 -W -Wall -D_GNU_SOURCE -c -o mountpoint.o mountpoint.c
cc mountpoint.o -o mountpoint
mounted-cifs-share/ is a mountpoint
$ stat mounted-cifs-share/
File: „mounted-cifs-share/“
Size: 0 Blocks: 0 IO Block: 16384 Verzeichnis
Device: 1bh/27d Inode: 281474976710692 Links: 1
Access: (0755/drwxr-xr-x) Uid: ( 1000/ malte) Gid: ( 0/ root)
Access: 2011-05-25 15:41:53.057308100 +0200
Modify: 2011-05-20 15:12:51.061128500 +0200
Change: 2011-05-20 15:12:51.061128500 +0200
Birth: -

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 26 May 2011 07:51:32 AM UTCwfinkStatusNone=>Wont Fix
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1