[Bug 1807288] [NEW] mkfs.ext4 -d $directory_with_acls leads to EINVAL

Michael Hudson-Doyle mwhudsonlp at fastmail.fm
Thu Dec 6 23:57:14 UTC 2018


Public bug reported:

This looks an awful lot like bug 1645232 but that is claimed to be
fixed:

mwhudson at ringil:~/tmp$ mkfs.ext4 -V
mke2fs 1.44.1 (24-Mar-2018)
	Using EXT2FS Library version 1.44.1
mwhudson at ringil:~/tmp$ dd if=/dev/zero count=0 bs=1M seek=100 of=./fake.img
0+0 records in
0+0 records out
0 bytes copied, 0.0015871 s, 0.0 kB/s
mwhudson at ringil:~/tmp$ mkdir -p stuff/journal
mwhudson at ringil:~/tmp$ setfacl -m g:adm:rwx stuff/journal
mwhudson at ringil:~/tmp$ mkfs.ext4 -L lala -O -metadata_csum -T default -O uninit_bg fake.img -d ./stuff/
mke2fs 1.44.1 (24-Mar-2018)
Discarding device blocks: done                            
Creating filesystem with 25600 4k blocks and 6400 inodes

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (1024 blocks): done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done

mwhudson at ringil:~/tmp$ sudo mount ./fake.img /mnt
mwhudson at ringil:~/tmp$ getfacl /mnt/journal/
getfacl: /mnt/journal/: Invalid argument

** Affects: e2fsprogs (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  mkfs.ext4 -d $directory_with_acls leads to EINVAL

Status in e2fsprogs package in Ubuntu:
  New

Bug description:
  This looks an awful lot like bug 1645232 but that is claimed to be
  fixed:

  mwhudson at ringil:~/tmp$ mkfs.ext4 -V
  mke2fs 1.44.1 (24-Mar-2018)
  	Using EXT2FS Library version 1.44.1
  mwhudson at ringil:~/tmp$ dd if=/dev/zero count=0 bs=1M seek=100 of=./fake.img
  0+0 records in
  0+0 records out
  0 bytes copied, 0.0015871 s, 0.0 kB/s
  mwhudson at ringil:~/tmp$ mkdir -p stuff/journal
  mwhudson at ringil:~/tmp$ setfacl -m g:adm:rwx stuff/journal
  mwhudson at ringil:~/tmp$ mkfs.ext4 -L lala -O -metadata_csum -T default -O uninit_bg fake.img -d ./stuff/
  mke2fs 1.44.1 (24-Mar-2018)
  Discarding device blocks: done                            
  Creating filesystem with 25600 4k blocks and 6400 inodes

  Allocating group tables: done                            
  Writing inode tables: done                            
  Creating journal (1024 blocks): done
  Copying files into the device: done
  Writing superblocks and filesystem accounting information: done

  mwhudson at ringil:~/tmp$ sudo mount ./fake.img /mnt
  mwhudson at ringil:~/tmp$ getfacl /mnt/journal/
  getfacl: /mnt/journal/: Invalid argument

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1807288/+subscriptions



More information about the foundations-bugs mailing list