Compare commits

...

175 Commits

Author SHA1 Message Date
OBS User darix
80f1a7a523 Set link to e2fsprogs.23987 via maintenance_release request
Rev SUSE:SLE-15-SP4:Update/1 Md5 23c42c00758f5f8f7f389933825fe19b 2022-05-17 15:44:41 darix None
2022-05-17 15:44:41 +00:00
OBS User gyribeiro
0536121f6b - use current version of e2fsprogs in SLE15-SP4 (jsc#SLE-17360, jsc#SLE-19636)
Rev SUSE:SLE-15-SP4:GA/2 Md5 eb4784ecce17ba9867785c4eb7ef27a3 2021-11-24 12:22:24 gyribeiro None
2021-11-24 12:22:24 +00:00
OBS User gyribeiro
b0958b1a61 initialize package
Rev SUSE:SLE-15-SP4:GA/1 Md5 f7e95412d3fd100526fc1d0e093a861d 2021-11-24 12:22:24 gyribeiro None
2021-11-24 12:22:24 +00:00
OBS User mschnitzer
2f00aa6c3a Set link to e2fsprogs.19068 via maintenance_release request
Rev SUSE:SLE-15:Update/8 Md5 2aaad48b51a87d525303faa798c730cb 2021-04-21 12:09:27 mschnitzer None
2021-04-21 12:09:27 +00:00
OBS User zkalmar
b54ad78a0e Set link to e2fsprogs.15537 via maintenance_release request
Rev SUSE:SLE-15:Update/7 Md5 8b70de7c267258495524bc70912e1e9e 2020-08-28 22:57:12 zkalmar None
2020-08-28 22:57:12 +00:00
OBS User hlohr
b8b5069980 Set link to e2fsprogs.14587 via maintenance_release request
Rev SUSE:SLE-15:Update/6 Md5 d8f0e1e9351003e8fa23e76a764813bf 2020-04-08 11:34:04 hlohr None
2020-04-08 11:34:04 +00:00
OBS User rfrohl
0328894a8d Set link to e2fsprogs.13738 via maintenance_release request
Rev SUSE:SLE-15:Update/5 Md5 eb1a28cc7ba2a60039724dc49b96f939 2020-01-30 13:05:32 rfrohl None
2020-01-30 13:05:32 +00:00
OBS User zkalmar
ce4cab74d9 Set link to e2fsprogs.13246 via maintenance_release request
Rev SUSE:SLE-15:Update/4 Md5 17a0b9447be3ce8ef4d2e09a5c30c6f8 2019-11-29 13:41:34 zkalmar None
2019-11-29 13:41:34 +00:00
OBS User bfilho
816fd423c3 Set link to e2fsprogs.12491 via maintenance_release request
Rev SUSE:SLE-15:Update/3 Md5 b618d077c0e0552bbcf357a8d7abb0fa 2019-10-15 19:06:53 bfilho None
2019-10-15 19:06:53 +00:00
OBS User mschnitzer
e42240714f Set link to e2fsprogs.11390 via maintenance_release request
Rev SUSE:SLE-15:Update/2 Md5 3351c876ac6232953f29f2c1ac20d3fe 2019-06-13 05:46:44 mschnitzer None
2019-06-13 05:46:44 +00:00
OBS User abergmann
e79bb61d9c Set link to e2fsprogs.7978 via maintenance_release request
Rev SUSE:SLE-15:Update/1 Md5 461973456954ec3715178f63c8dd5bb1 2018-07-19 07:50:31 abergmann None
2018-07-19 07:50:31 +00:00
OBS User sbehlert
50b21fe20d Automatic request from openSUSE.org:openSUSE:Factory by UpdateCrawler
Rev SUSE:SLE-15:GA/7 Md5 5f41ba689f8bc9fa1467f673e04278a9 2018-02-03 09:56:57 sbehlert None
2018-02-03 09:56:57 +00:00
OBS User dimstar_suse
be280e3a34 Accepting request 569339:
Rev openSUSE:Factory/99 Md5 5f41ba689f8bc9fa1467f673e04278a9 2018-01-29 13:54:45 dimstar_suse 569339
2018-01-29 13:54:45 +00:00
OBS User jankara
5d2723e850 - libext2fs-fix-build-failure-in-swapfs.c-on-big-endia.patch:
libext2fs: fix build failure in swapfs.c on big-endian systems (bsc#1077420)
- Update to 1.43.8
 * add forgotten byteswap of some new superblock fields
 * fix use-after-free in e2fsck for corrupted root inode
 * fix floating point exception due to corrupted superblock in e2fsck
 * fix resize2fs's free block sanity checks
 * updated translations
- Added %license tag to specfile
- Update to 1.43.7
 * debugfs, tune2fs, fuse2fs fixes of error handling in journal replay
 * e2fsck and debugfs fixes so that malicious filesystems do not cause
   buffer overflows
 * fix corner cases in offline resizing in resize2fs
 * updated translations
- ignore errors for install-info calls in post scripts,
  otherwise installing with "--excludedocs" fails 
- Update to 1.43.6
 * fix printing of quota inconsistency messages
 * fix out of bounds checks in e2fsck
 * optimize e2fsck CPU usage for large sparse files
 * increase inode size to 256 bytes if features require it
 * various UI fixes
 * updated translations
- Add missing coreutils dependency for initrd macros (bsc#1055492).
- Update to 1.43.5
 * fix e2fsck infinite loop when rebuilding encrypted directories
 * fix tune2fs support for enabling /disabling project quota
 * fixes in debugfs, dumpe2fs, e2fsck, tune2fs, and resize2fs for maliciously
   corrupted filesystems
 * fix e2fsck to verify invalid quota inode numbers
 * fix byte-swapping of backup superblocks
 * fix e2fsck -E bmap2extent to work for sparse files
 * fix e2fsck to correctly handle quota accounting for multiply claimed blocks
 * lots of other fixes
- Update to 1.43.4
 * fix e2fsck handling of system.data extended attributes for small files
 * fixes in mke2fs -d
 * make mke2fs refuse absurdly large devices
 * make mke2fs properly report IO errors
 * clarify default in mke2fs questions
 * re-add uninit_bg to mke2fs.conf
 * add support for project quota to debugfs
 * improve xattr support in debugfs
 * remove mkfs.ext4dev and fsck.ext4dev
- Remove suse-module-tools dependency as it creates cycle in dependency list
- Update download URL to poing to ftp.kernel.org which is more reliable
- Update to 1.43.3
  * mke2fs will use larger journal for large filesystems by default
  * e2fsck journal replay bugfixes
  * debugfs improvements and fixes
  * fix resize2fs migration of attribute blocks
- fuse2fs manpage is no longer installed when fuse2fs is not built
- fix last change
- Rebuild the initrd if this package changes (and we are not 
  building the -mini version)
- Update to 1.43.1
  * Add support for the ext4 metadata checksum, checksum seed, inline data,
    encryption, project quota, and read-only features
  * Support for the very old, experimental, and never-added-to-mainline
    compression feature has been removed
  * Mke2fs will now create file systems with the metadata_csum and 64bit
    features enabled by default
  * The tune2fs program will ask the user for confirmation before starting
    dangerous operations if the terminal is available, and it will replay
    the journal if necessary
  * Add an ext2/3/4 FUSE server
  * The resize2fs command can now convert file systems between 64-bit and
    32-bit mode
  * We now use a new e2undo file format which is much more efficient and
    faster than the old tdb-based scheme. Since it so much faster, e2fsck,
    tune2fs, debugfs, and resize2fs now also can support using creating an
    undo file.
  * Multiple e2fsck fixes
  * Multiple mke2fs improvements
  * Multiple debugfs improvements
- spec: add static library dependencies
- enable static build and package static libraries
- e2fsprogs-1.41.1-splash_support.patch: Drop it, this patch 
   depends on the old in kernel "bootsplash" patches that were
   removed after the introduction of plymouth.
- Update to 1.42.13
  * fix potential buffer overflow while closing a filesystem
  * fix deadlock which occurs when using systemd and e2fsck.conf's logging
    feature
  * make tune2fs clear journal superblock backup when removing journal
  * fix use after free bugs in resize2fs and e2fsck
  * fix endianity bugs in libext2fs
  ...
- Remove e2fsck-fix-free-pointer-dereferences.patch: Merged upstream
- e2fsck-fix-free-pointer-dereferences.patch: Fix use after free (bnc#912229)
- Update to 1.42.12
  * fix e2fsck bugs when repairing bigalloc filesystems
  * fix rare e2fsck bugs discovered by fs fuzzing
  * resize2fs will use less memory when resizing large filesystems
  ...
- Remove e2fsck.conf since we don't need the changed default anymore. e2fsck
  handles this type of problems automatically now and broken_system_clock has
  other undesired sideeffects like skipped periodic checks (bnc#866283)
- Update to 1.42.11
  * fix aborted journal replay in e2fsck with bigalloc
  * make mke2fs refuse insane flex_bg sizes
  * automatically fix last mount time and last write time in e2fsck
  * fix mke2fs to properly create large filesystems on 32-bit systems
  * mke2fs asks before wiping preexisting filesystem
  * mke2fs can create filesystems with all metadata in the beginning
  * fix resize2fs shrink operation in some corner cases
  ...
- Remove filefrag-print-shared-extent-flag.patch: Merged upstream
- Add filefrag-print-shared-extent-flag.patch: lets filefrag print shared
  extent flag when it gets it. Helps with fate#316317 / bnc#868847. Patch
  sent to upstream 4/17/2014.
- Removed "-mini" spec file for now as it is causing troubles in Factory
  and according to Coolo may not be needed after all.
- update to 1.42.9
  * fixes in resize2fs, e2fsck, debugfs, and libext2fs to correctly handle
    bigalloc filesystems
  * fix rehashing of extent mapped directory in e2fsck
  * fix e2fsck not to add lost+found in read-only mode
  * fix buffer overruns in e2image
  * fix tune2fs to properly update all backup superblocks when disabling quota
    feature
  * e2image support for efficient copying of filesystems
  * fix complaint about uninitialized extents beyond EOF in e2fsck 
  * fix resize2fs to not corrupt filesystem in some corner cases
  * fix e2fsck crashes when deleting invalid symlink, directory larger than 2GB
  ...
- Created "-mini" version of package which doesn't
  build "info" and so doesn't depend on makeinfo,
  texinfo, and all of tex.  This should allow packages
  in the bootstrap cycle (such as krb5-mini) to
  build-depends of libraries from here.
- update to 1.42.8
  * e2fsck: detect and fix invalid extents at leaf block tails
  * e2fsck: allow checking ro root fs with external journal
  * fix offline resizing of fs with flex_bg && !resize_inode
  * fix resize2fs to not leave bitmaps beyond fs end
  * fixed e2image for large (>32-bit) filesystems
  * debugfs fixes
- Removed upstreamed patches:
    e2p-Fix-s-handling-in-parse_num_blocks2.patch
    resize-bigalloc_check-should-have-return-type-void.patch
    libext2fs-Fix-return-value-in-ext2fs_test_block_bitm.patch
    libext2fs-Provide-prototype-for-ext2fs_symlink.patch
- Fix compilation for Fedora targets in Build Service
- Fix compilation warnings by patches:
  e2p-Fix-s-handling-in-parse_num_blocks2.patch
  libext2fs-Fix-return-value-in-ext2fs_test_block_bitm.patch
  libext2fs-Provide-prototype-for-ext2fs_symlink.patch
  resize-bigalloc_check-should-have-return-type-void.patch
- update to 1.42.7
  * Fix various off-line resizing bugs
  * New filefrag options to improve output formatting
  * mke2fs improvements for bigalloc filesystems
  * Fix e2fsck to properly detect corruption of internal extent tree nodes
  * Improve CPU efficiency of e2fsck
  * Various debugfs improvements
  ...
- refreshed e2fsprogs-1.41.1-splash_support.patch
- Install the correct source file as /etc/e2fsck.conf.
- update to 1.42.6
  * Fixed a potential seg fault in e2fsck when there is an I/O error while reading the superblock
  * Various resize2fs fixes
  * Various quota related fixes
  * Fixed filefrag so that it correctly reports the number of extents
  * Fixed filefrag so it will not crash with a segfault on files from a virtual file system such as /proc
  * Fixed a problem if e2fsck where if the root file system is mounted read-only, e2fsck would not clear an error indication in the journal superblock.
  * Fixed a bug in how e2fsck would uniquify directory entry names
  * Manpage updates
  ...
- removed e2fsprogs-1.42-voidreturn_value_declared.patch because it makes
  no longer any sence due to upstream changes
- add makeinfo as explicit buildrequire
- Add an /etc/e2fsck.conf file with broken_system_clock=1 to fix 
  first part of bnc#775268
- update to 1.42.4
  * Fix 64-bit block number bugs in e2fsck, dumpe2fs, and debugfs which
    could corrupt file systems
  * Fixed e2fsck's handling of how errors propagate from the journal to
    the file system superblock
  * Fixed a false positive complaint from e2fsck if all of the extents
    in the last extent block are uninitialized and located after the
    end of the file.
  * dumpe2fs will display the journal's error indicator in the
    superblock if it is set
  * Fixed a  bug which caused e2fsck to incorrectly use O_EXCLUSIVE in
    some corner cases.
  * Fix truncation of extent-mapped inodes in e2fsck and libext2fs
  * Fixed i_blocks accounting in bigalloc file systems.
  * Add support for btrfs's No_COW flag to lsattr and chattr
  * Debugfs interprets the date strings of the form "@ddd" as ddd
    seconds after the epoch
  * Updated/fixed various man pages  (Closes: #674453, #674694)
- Updated to 1.42.3
   - Fix a bug in the Unix I/O manager which could cause corruption of file
     systems with more than 16TB when e2fsprogs is compiled in 32-bit mode.
   - Improve the support for integrated quota files.
   - Fixed a regression introduced in 1.42.2 which would cause applications
     outside of e2fsprogs which did not pass the EXT2_FLAG_64BIT to crash.
   - Fix a bug which would cause mke2fs to fail creating the journal if
     /etc/mtab and /proc/mounts are missing.
   - Updated/fixed various man page.
   - Updated translations.
- Added dependency of e2fsprogs package on particular versions of libext2fs
  and libcom_err to avoid problems with missing symbols
- Update to 1.42.2:
  * resize2fs uses much less CPU and is much faster for very large fs.
  * The seti and freei commands in debugfs can now take an optional length
    argument to set and clear a contiguous range of inodes.
  * E2fsck will now make explicit checks for the EOFBLOCKS_FL, since we
    plan to remove support for it from the kernel file system driver.
  * mke2fs can now use direct I/O via "mke2fs -D"
  * E2fsck was needlessly closing and re-opening the file system as a side
    effect of adding Multiple Mount Protection (MMP).  This isn't
    necessary for non-MMP file systems, so drop it.
  * E2fsck will now abort if there are memory allocation failures when
    the file system is initially opened and during the block group
    descriptor checks.
  * e2fsck will now report the incorrect and corrected checksum values
    for incorrect block groups.
  * e2fsck can now write log files containing the details of the problems
    that were found and fixed directly, via configuration parameters in
    /etc/e2fsck.conf.
  * The number of messages reported by e2fsck for a given problem type
    can be limited.
  * dumpe2fs, debugfs, and tune2fs now use rbtree bitmaps, which noticably
    reduces memory consumption for large file systems.
  * E2fsck now checks for extents with a zero length.
  * Fixed a number of bugs relating to discard.
  * E2fsck's CPU utilization in pass 5 has been optimized.
  * E2image will now skip copying uninitialized bitmap and inode table
    blocks.
  * Fixed mke2fs -S so it does not corrupt the first block group's
    information.
  * E2fsck will now check the new sysfs interface to determine if we are
    using the battery or AC mains.
- Add up-to-date german messages
  
- Remove the obsolete german messages.
- place binaries and libraries into the /usr tree (UsrMerge project)
- SPARC: avoid retention of libquota.a
- Remove redundant tags/sections from specfile
- removed dumpe2fs-add-man-page-warning-about-mounted-fil.patch
  deprecated by this release
- refreshed e2fsprogs-1.41.1-splash_support.patch
- added several patches to fix warnings generated by the check_gcc_output
  and rpmlint
- update to 1.42
  * this release has support for file systems >16TB. online resize
    requires kernel support which will hopefully be in kernel version
    3.2. offline support is not yet available for >16TB, but will be
    coming
  * this release has support for clustered allocation, which reduces
    the number of block (now cluster) bitmaps by allocating and
    deallocating space in contiguous power-of-2 collections of blocks,
    which are called clustered. This is a filesystem level feature
    called 'bigalloc', which must be enabled when the filesystem is
    inititally formatted. It is not backwards compatible with older
    kernels.
  * added support for the Multi-Mount Protection (MMP) feature
  * The mke2fs and e2fsck programs now tries to use the punch hole command 
    as a "discard" when operating on normal files.
  * The resize2fs program now has support for a new online resize ioctl 
    that can support file systems > 16TB, once it arrives in v3.x kernels.
  * Added e4defrag tool which uses the EXT4_IOC_MOVE_EXT ioctl.
  * Added support for journals larger than 2GB.
  * Added internationalization support for libcom_err error table strings.
  * Fixed various spelling mistakes found in various output strings found by 
    I18N translators.
  * Update translations: French, Chinese, Germany, Indonesian, Swedish, 
    Vietnamese, Polish, Dutch, Czech. (Addresses Debian Bugs: #520985, 
    #620659)
  * Updated/clarified man pages. (Addresses Debian Bugs: #639411, #642193, 
    #634883)
  * various bug fixes and enhancements (see RELEASE-NOTES)
- add autoconf as buildrequire to avoid implicit dependency
- Added dumpe2fs.8 manpage fix
- Fix typo in package summary
- Fix licenses in spec file to match those specified in COPYING file
- Fix the last untranslated entry in the message catalog.
- Add an updated german translation that has also been sent
  upstream.
- Call 'make update-po' in po/ to sync translations and original
  messages.
- Update to 1.14.14
 * Many bugfixes
 * Resize2fs -P will now refuse to print a minimum size if the file system 
   is not clean.
 * 2fsck will check for cases where the EOFBLOCKS_FL is set when it is not needed, 
   and offer to clear it
 * The mke2fs program now queries the kernel for the physical as well as the logical 
   sector size, and will not allow a blocksize below the logical, and will strongly 
   encourage a blocksize at least as big as the physical blocksize
 * E2fsck now will completely skip time-based checks if the system clock looks insane or 
   the option broken_system_clock is set in /etc/e2fsck.conf
 * E2fsck now tests for extents that begin at physical block 0 and rejects them as invalid.
 * The tune2fs program can now set the uninit_bg feature without requiring an fsck
 * The tune2fs, dumpe2fs, and debugfs programs now support the new ext4 default mount 
   options settings which were added in 2.6.35
 * The resize2fs program now handles devices which are exactly 16T
  see more changes in RELEASE-NOTES
- Use upstream de translations (regenerated in 1.41.13)
- revert pth's %configure to fix build
- Do package libext2fs.a (BuildRequired for silo) on SPARC
- use %_smp_mflags
- Regenerate patch so that it applies without fuzz.
- Fix spec file.
- Bring german message catalog up-to-date.
- update to 1.41.11:
 * E2fsck will correctly fix directories that are have an inaccurate i_size as
   well as other problems in a single pass, instead of requiring two e2fsck
   runs before the file system is fully fixed.
 * Fix e2fsck so it will correctly find and detect duplicate directory entries
   for non-indexed directories
 * Mke2fs will use BLKDISCARD to pre-discard all blocks on an SSD or
   thinly-provisioned storage device. This can be disabled using the -K option.
 * Mke2fs now will obtain get device topology information from blkid and use it
   to populate the superblock stride and stripe sizes. It will also warn if the
   block device is misaligned
  see more changes in RELEASE-NOTES
- add baselibs.conf as a source
- libcom_err-devel shoudl require glibc-devel
- Axe static libraries and see how it goes.. 
- fix possible massive fdleak when fsck is invoked with options
  -R -A -M -a -t noopts=nofail in boot.localfs [bnc#503008] 
- fix the super block even if someone mounted the file system
  in wrong timezone in between (bnc#537542)
- update to 1.41.9:
   "All users of e2fsprogs are urged to upgrade to the 1.41.9 
    version as soon as possible"
 * Fix a bug in e2fsck routines for reallocating an inode table which
   could cause it to loop forever on an ext4 filesystem with the FLEX_BG
   filesystem feature with a relatively rare (and specific) filesystem
   corruption.  This fix causes e2fsck to try to find space for a new
   portion of the inode table in the containing flex_bg, and if that
   fails, the new portion of the inode table will be allocated in any
   free space available in the filesystem.
 * Make e2fsck less annoying by only asking for permission to relocate a
   block group's inode table once, instead of for every overlapping
   block.  Similarly, only ask once to recompute the block group
   checksums, instead of once for each corrupted block group's checksum.
  see more changes in RELEASE-NOTES
- added Supplements for ext4
- look for libreadline.so.6 too
- refresh patches to avoid fuzz
- update to 1.41.8
  - Fix resize2fs's online resizing, fixing a regression which in
    e2fpsrogs 1.41.7.
  - Fix resize2fs bugs when shrinking ext4 filesystems
  - If the resize2fs operation fails, the user will be told to fix up
    the filesystem using e2fsck -fy.
  - do not install disabled uuid binary and man page
  - Fix filefrag program for files that have more than 144 extents.
  - allow V=1 to disable silent build
- enable verbose build again (V=1 merged upstream)
- move awk scripts from libcom_err2 to libcom_err2-devel
- moved baselibs.conf changes to util-linux.
- update to 1.41.7
- disable libuuid and libblkid packages (moved to util-linux)
- drop libvolume_id support (util-linux's libblkid will work)
- removed patches:
    e2fsprogs-libvolume_id-support.patch
    e2fsprogs-no_cmd_hiding.patch
    e2fsprogs-base_devt.patch
    e2fsprogs-mdraid.patch
- Fix errors in German messages.
- ext4dev is now ext4 (2.6.29)
- don't call autoconf as long as it works without
- update to version 1.41.4:
  debugfs: 
    * enhance the "ncheck" command 
    * enhance "hash" command
    * fix a potential memory leak
    * fix the usage message for logdump command
    * fix ncheck command so that it prints all of the names of
      hardlinks in the same directory
    * e2fsprogs 1.41 broke debugfs's logdump command for normal
      ext3/4 filesystems with 32-bit block numbers, when the headers
      for 64-bit block numbers was added.  This regression has been fixed
    * ncheck command has been fixed to avoid printing garbage
      characters at the end of file names
  e2fsck: 
    * don't accidentally print the translation file's
      header when asking the user a custom question
    * print the correct inode number for uinit_bg related problems
    * will now offer to clear the test_fs flag if the ext4 filesystem
      is available on linux
    * fix a bug where in preen mode, if there are disk I/O errors
      while trying to close a filesystem can lead to infinite loops
    * no longer abort an fsck run if block group has an errant
      INODE_UNINIT flag
    * distinguish between fragmented directories and fragmented
      files in verbose mode statistics and in the fragcheck report
    * fix a bug which caused it double count non-contiguous
      extent-based inodes
    * e2fsck will leave some slack space when repacking directories
      to allow room for a few directory entries to be added without
      causing leaf nodes to be split right away
    * fix a bug which caused e2fsck to crash when it comes across a
      corrupted interior node in an extent tree
    * e2fsck problem descriptions involving the journal are no longer
      referred to as "ext3" problems, since ext4 filesystems also have
      journals
    * fix a long-standing bug in e2fsck which would cause it to crash
      when replying journals for filesystems with block sizes greater
      than 8k
  badblocks: 
    * support for normal files which are greater than 2GB
    * display the time and percentage complete when in verbose mode 
  resize2fs: 
    * fix a potential memory corruption problem
    * fix a bug in resize2fs where passing in a bogus new size of
      0 blocks will cause resize2fs to drop into an infinite loop
    * fix resize2fs for ext4 filesystems
  tune2fs:
    * now updates the block group checksums when changing the UUID
      to avoid causing e2fsck to complain vociferously at the next reboot
    * inode size resizing algorithms have been fixed so it is not
      vastly inefficient for moderate-to-large filesystems
    * fix inode resizing algorithm so it will not corrupt filesystems
      laid out for RAID filesystems; in addition, tune2fs will refuse
      to change the inode size for filesystems that have the flex_bg
      feature enabled
  dumpe2fs:
    * fix bug which caused dumpe2fs to abort with an error if run on a
      filesystem that contained an external journal
  mke2fs:
    * new option -U, which allows the user to specify the UUID that
      should be used for the new filesystem
    * treat devices that are exactly 16TB as if they were 16TB minus
      one block
  blkid:
    * fix a file descriptor leak in libblkid
    * correctly detect whether the ext4 and ext4dev filesystems
      are available, so that the ext4dev->ext4 fallback code works
      correctly
    * fixed a bug which could sometimes cause blkid to return an
      exit value of zero for a non-existent device
    * recognize ext3 filesystems that have the test_fs flag
      set as ext3 filesystems
    * recognize btrfs filesystems and swap devices currently used 
      by user-level software suspend
  libext2fs:
    * add a check in the Unix I/O functions in libext2fs so that
      when a device is opened read/write, return an error if the
      device is read-only using the BLKROGET ioctl
- the libcom_err patches for bnc#66534 have been removed because
  git commit d7f45af802330a0e1450afa05185d3722e77a76c
  should fix the problem
- remove patches
  e2fsprogs-1.41.1-e2fsck_fix_automatic_blocksize_detection.patch
  e2fsprogs-1.41.1-function_signature_fix.patch
  e2fsprogs-1.41.1-link_fix.patch
  libcom_err-disable_test.patch
  libcom_err-mutex.patch
  libcom_err-no-init_error_table.patch
- obsolete old -XXbit packages (bnc#437293)
- send bootsplash messages in one write call
- fix function signature to avoid compiler warning [bnc#439129] 
- e2fsck: fix e2fsck automatic blocksize detetion 
- e2fsck: shut off splash screen when check is needed [bnc#237283] 
- remove recommends of uuid-runtime from libuuid [bnc#426278]
- move uuid hints README.SUSE.uuidd to uuid-runtime package 
- update to version 1.41.1
  * mke2fs
    + issues now a warning if there is no definition in
      /etc/mke2fs.conf for the filesystem to be created
    + creates now the journal in the middle of the filesystem
    + now avoids allocating an extra block to the journal
    + will correctly enforce the prohibition against features
      in revision 0 filesystems
    + previously would occasionaly create some slightly non-optimally
      placed inode tables; this bug has been fixed
    + will now set the creation timestamp on the lost+found directory
      and the root directory
  * blkid
    + recognize MacOS hfsx filesystems, and correctly extract the
      label and uuid for hfs, hfsx, and hfsplus filesystems
    + improved detection of JFS and HPFS
    + more efficient handling of devicemapper devices
    + fix cache validation bugs
    + The blkid program will now print out a user-friendly listing
      of all of the block devices in the system and what they
      contain when given the -L option
  * resize2fs
    + will now correctly handle filesystems with extents and/or
      uninitialized block groups correctly when file/directory blocks
      need to relocated
    + support for on-line resizing ext4 filesystem with the flex_bg
      filesystem feature.  The method for doing so is not optimal,
      but to do a better job will require kernel support
    + is now correctly managing the directory in-use counts when
      shrinking filesystems and directory inodes needed to be moved
      from one block group to another
  * e2fsck
    + now correctly calculates ind/dind/tind statistics in the
      presence of extent-based files
    + now prints the depth of corrupt htree directories
  * debugfs
    + htree command now correctly understands extent-based
      directories
    + new command which will print the supported features
  * Add support for setting the default hash algorithm used in b-tree
    directories in tune2fs (from a command-line option) or mke2fs (via
    mke2fs.conf).  In addition, change the default hash algorithm to
    half_md4, since it is faster and better
  * Fix support for empty directory blocks in ext4 filesystems with
    64k blocksize filesystems
  * The filefrag program now has a more accurate calculation for the
    number of ideal extents
- fix linking of blkid
  e2fsprogs-1.41.1-link_fix.patch 
- remove patches
  e2fsprogs-1.41.0-fix_messages.patch
  e2fsprogs-1.41.0-tst_link_fix.patch
- update libvolume_id patch to work with libvolume_id.so.1
- Add current german messages.
- Fix e2fsprogs-base_devt.patch and e2fsprogs-libvolume_id-support.patch
  so that the package tools work.
- Add missing space to two messages and resync message
  catalogs by configuring with --enable-maintainer-mode.
- add uuid related manpages to uuid-runtime subpackage [bnc#418568]
- currently do not install *.ext4 links for mkfs and fsck
  tools, but only the *.ext4dev links. 
- update to version 1.41.0
  * add support for ext4 filesystem features:
    extents, uninit_bg, flex_bg, huge_file, dir_nlink
  * support for checking journal checksums
  * tune2fs supports migrating fs from 128 byte inode to 256 byte 
  * add support for "undo"
  * e2fsck now performs more extensive and careful checks of extended
    attributes stored in the inod
- fix e2fsck make check
- Remove doubleplusungood -fsigned-char.
- update to version 1.40.11
  most important changes since 1.40.8:
  * Mke2fs will not allow the logically incorect combination of
    resize_inode and meta_bg, which had previously caused mke2fs
    to create a corrupt fileystem
  * Fix mke2fs's creation of resize inode when there is a
    non-standard s_first_data_block setting
  * Teach fsck to treat "ext4" and "ext4dev" as ext* filesystems
  * Fix fsck so that progress information is sent back correctly
  * Add detection for ZFS volumes to the libblkid library
- remove e2fsprogs-1.40.7.de.po, updated upstream
- remove patches
  e2fsprogs-1.40.7-uuidd_security.patch
  e2fsprogs-1.40.8-e2fsck_recovery_fix.patch
  e2fsprogs-1.40.8-fix_ext2fs_swap_inode_full.patch
  e2fsprogs-1.40.8-missing_init.patch
- fix baselibs.conf to not generate unresolvable deps 
- fix baselibs.conf
- e2fsck: Fix potential data corruptor bug in journal recovery
  [bnc#393095]
- libuuid: do not use unintialized variable [bnc#386649] 
- fix provides/obsoletes for rename
- added baselibs.conf file to build xxbit packages
  for multilib support
- Readd the current de.po just submitted upstream to the TP robot.
- update to version 1.40.8
  * Fixed e2image -I so it works on image files which are larger than 2GB
  * Fixed e2fsck's handling of directory inodes with a corrupt size field
  * Fixed e2fsck handling of pass 2 "should never happen error"
  * Fixed Resize2fs bug resizing large inodes with extended attributes 
- update README.SUSE: give some hints on enabling uuidd, since it has
  been decided to not enable it by default [bnc#354398]
- removed
  de.po (updated upstream)
- update to version 1.40.7
  * Remove support for clearing the SPARSE_SUPER feature from tune2fs, and
    depreciate the -s option, since it can result in filesystems which
    e2fsck can't fix easily.  There are very good reasons for wanting to
    disable sparse_super; users who wants to turn off sparse_super can use
    debugfs. 
  * Add missing options to mke2fs's usage message
  * Fix bug in resize2fs when large (greater than 128 byte) inodes are
    moved when a filesystem is shrunk
  * E2fsck now prints an explicit message when the bad block inode is
    updated, to avoid confusion about why the filesystem was modified.
  * Allow mke2fs and tune2fs manipulate the large_file feature.
    Previously we just let the kernel and e2fsck do this automatically,
    but e2fsck will no longer automatically clear the large_file feature
  * Suppress message about an old-style fstab if the fstab file is empty
  * Change e2fsck to no longer clear the LARGE_FILES feature flag
    automatically, when there are no more > 2GB files in the filesystem.
  * Fix bug which could cause libblkid to seg fault if a device mapper
    volume disappears while it is being probed.
  * Enhance e2fsck's reporting of unsupported filesystem feature flags
  * Fix option syntax in dumpe2fs for explicit superblock and blocksize
    parameters
  * Add support to tune2fs to clear the resize_inode feature
  * Teach blkid to detect LVM2 physical volumes
  * Add support for setting RAID stride and stripe-width via mke2fs and
    tune2fs.  Teach dumpe2fs to print the RAID parameters
  * Add support for setting new superblock fields to debugfs's
    set_super_value
  * Add support for printing "mostly-printable" extended attributes in
    Debugfs
  * Add support for the -M option to fsck, which causes it to ignore
    mounted filesystem
  * Fix uuidd so that it creates the pid file with the correct pid number
- The -M option is now used upstream to ignore mounted filesystems,
  this has previously been in SuSE with -m. This has to be changed
  since lower case characters are reserved for filesystem specific
  checker options. The "like mount" behaviour previously in SuSE
  with -M has been removed.
- add patch from Eric Sandeen to fix the loss of extended attributes
  in large inodes upon resize
- removed patches
  fsck-ignore-mounted.patch
- update to version 1.40.6
  * Add support for returning labels for UDF filesystems in the blkid
    library 
  * Fix bug in the blkid library where cached filesystems was not being
    flushed
  * Added logic to the blkid library to automatically choose whether a
    filesystem should be mounted as ext4 or ext4dev, as appropriate
  * Allow tune2fs to set and clear the test_fs flag on ext4 filesystems
- removed patches:
  e2fsprogs-1.40.5-blkid_cache_file_env.patch (merged)
  libcom_err-no-static-buffer.patch (fixed upstream with TLS)
- update to version 1.40.5:
  * Fix a potential overflow big in e2image
  * Mke2fs will now create new filesystems with 256 byte inodes and the
    ext_attr feature flag by default 
  * Teach e2fsck to ignore certain "safe" filesystem features which are
    set automatically by the kernel
  * Add support in tune2fs and mke2fs for making a filesystem as being "ok
    to be used with test kernel code"
  * Change e2fsck -fD so that it sorts non-htree directories by inode
    numbers instead of by name, since that optimizes performances much
    more significantly
  * If e2image fills the disk, fix it so it exits right away
  * If ftruncate64() is not available for resize2fs, let it use ftrucate()
    instead
  * Add support for detecting HFS+ filesystems in the blkid library
  * Add supprt in the blkid library for ext4/ext4dev filesystems
  * Fix a bug in blkid where it could die on a floating point exception
    when presented with a corrupt reiserfs image
  * Fix blkid's handling of ntfs UUID's so that leading zeros are printed
    such that UUID string is a fixed length
  * Fix debugfs's 'lsdel' command so it uses ext2fs_block_iterate2 so it
    will work with large files
  * Allow the debugfs 'undel' command to undelete an inode without linking
    it to a specific destination directory
- enhance init script
- add sysconfig parameter UUIDD_ON_DEMAND_ONLY setting the startup
  policy for uuidd
- remove merged and obsolete patches:
  close.patch
  e2fsprogs-1.33-codecleanup.diff
  e2fsprogs-1.35-libdir.diff
  e2fsprogs-1.39-resize2fs_manpage.patch
  e2fsprogs-1.40.4-uuid_null.patch
  e2fsprogs-blkid.diff
  e2fsprogs-blkid_probe_hfsplus.patch
  e2fsprogs-strncat.patch
  elf.diff
  e2fsprogs-mkinstalldirs.patch
  e2fsprogs-special_make_targets.patch
  e2fsprogs-probe_reiserfs-fpe.patch
  e2fsprogs-1.33-fsckdevdisplay.diff
  e2fsprogs-uninitialized.diff
- update to version 1.40.4:
  * Fix potential security vulnerability (CVE-2007-5497)
  * Fix big-endian byte-swapping bug in ext2fs_swap_inode_full()
  * Fix a bug in ext2fs_initialize() which causes mke2fs to fail while
    allocating inode tables for some relatively rare odd disk sizes.
  * Fix bug in ext2fs_check_desc() which will cause e2fsck to complain
    about (valid) filesystems where the inode table extends to the last
    block of the block group
  * Change e2fsck so it will not complain if a file has blocks reallocated
    up to the next multiple of a system's page size
  * Change e2fsck so it uses sscanf() instead of atoi() so it non-numeric
    arguments are detected as such and the parse error is reported to the
    user
  * Make the e2fsprogs program more robust so that they will not crash
    when opening a corrupt filesystem where s_inode_size is zero.
  * Fix e2fsck so that if the superblock is corrupt, but still looks
    vaguely like an ext2/3/4 superblock, that it automatically tries to
    fall back to the backup superblock, instead of failing with a hard
    error
  * Fix fsck to ignore /etc/fstab entries for bind mounts
  * E2fsck will no longer mark a filesystem as invalid if it has time
    errors and the user refuses to fix the problem.
  * Enhance blkid's detection of FAT filesystems
  * Enhance e2fsck so it will force the backup superblocks to be backed up
    if the filesystem is consistent and key constants have been changed
    (i.e., by an on-line resize) or by e2fsck in the course of its
    operations.
  * Enhance the blkid library so it will recognize squashfs filesystems
  * Fix e2image so that in raw mode it does not create an image file which
    is one byte too large
  * Fix heuristics in blkid which could cause a disk without partitions to
    be incorrectly skipped when a loopback device is present
  * Avoid division by zero error when probing an invalid FAT filesystem in
    the blkid library
  * Fix sign-extension problem on 64-bit systems in in the com_err
    library
  * Format control characters and characters with the high eighth bit set
    when printing the contents of the blkid cache, to prevent filesystems
    with garbage labels from sending escape sequences
  * Fix fsck to only treat the '#' character as a comment at the beginning
    of the line in /etc/fstab
  * Filter out the NEEDS_RECOVERY feature flag when writing out the backup
    superblocks
  * Improve time-based UUID generation.  A new daemon uuidd, is started
    automatically by libuuid if necessary
- new subpackage: uuid-runtime
  containing uuidd and uuidgen
- removed obsolete patches
  e2fsprogs-1.39-uuid_duplicates.patch
  e2fsprogs-1.40.2-open_fix.patch
  e2fsprogs-1.40-be_swap_fix.patch
- fix build: missing third argument to open
- do not remove buildroot in install section
- fix typo in specfile 
- Fix big-endian byte-swapping bug in ext2fs_swap_inode_full() 
  e2fsprogs-1.40-be_swap_fix.patch
- e2fsprogs requires libext2fs2 of the same version number to work
- enable make check and make gcc-wall in %check (executed last)
- shut up bogus gcc warning for use of uninitialised variables
- remove e2fsprogs-blkid_probe_ext4.patch
  broken and it is way too early to support 
- update to version 1.40.2
  bugfix release 
- update to version 1.40.1:
  * Bugfix release
- removed patch (merged upstream)
  e2fsprogs-1.39-cleanup.patch 
- update to version 1.40
- branch off libraries:
  libblkid1
  libuuid1
  libext2fs2
- renaming libcom_err to libcom_err2
- fix e2fsprogs-1.39-uuid_duplicates.patch [#189640]
  * detach shm segment after use
  * set SEM_UNDO for semaphore operations, otherwise we do not
    get a clean state after interruption by a signal 
- Fix German translations.
- blkid: fix hfsplus probing to detect HFS+ volumes embedded
  in a HFS volume 
- add Supplements line [FATE#301966] 
- update to current hg version from 29-03-2007
  * Fixes a lot of memory leaks and other bugs
- remove merged patch: 
  e2fsprogs-1.39-check_fs_open-in-dump_unused.patch 
- blkid: add hfsplus volume detection (FATE#302071)
- blkid: add experimental detection of ext4dev (FATE#301897)
- fix segfault in debugfs when using without open fs [#238140]
- don't chmod -w headers in compile_et to avoid build 
  problems with some packages
- update to version 1.40-WIP-1114 (FATE#301897)
  * support for ext4
  * several bugfixes
- remove ext2resize from package, because the online resizing 
  functionality has been merged into resize2fs since version 1.39
  and ext2resize is unmaintained.
- fixed build
- provide libcom_err-devel in libcom_err
- fix bug in uuid patch 
- fix build of shared lib
- fix uuid bug [#189640]
- fix blkid problem with empty FAT labels [#211110]
- fix small typo in resize2fs man page
- fix bug in fsck udev/libvolume_id patch [#205671] 
- update to version 1.39:
  * Fix 32-bit cleanliness
  * Change mke2fs to use /etc/mke2fs.conf
  * Mke2fs will now create filesystems hash trees and 
    on-line resizing enabled by default
  * The e2fsprogs tools (resize2fs, e2fsck, mke2fs) will open the
    filesystem device node in exclusive mode
  * Add support for on-line resizing to resize2fs.
  * The blkid library will now store the UUID of the external 
    journal used by ext3 filesystems
  * E2fsck will now consult a configuration file, /etc/e2fsck.conf
  * E2fsck will detect if the superblock's last mount field or 
    last write field is in the future, and offer to fix if so.
  * E2fsck now checks to see if the superblock hint for the 
    location of the external journal is incorrect
  * Resize2fs will now automatically determine the RAID stride 
    parameter that had been used to create the filesystem
  * Fix mke2fs so that it correctly creates external journals on
    big-endian machines
  * Fix a bug in the e2p library
  * Add a new debugfs command, set_current_time
  * Fix debugfs commands
  * Fix mklost+found so that it creates a full-sized directory on
    filesystems with larger block sizes.
  * Fix a file descriptor leak in blkid library
  * Allow fractional percentages to the -m option in mke2fs and tune2fs
  * Add support for device mapper library to the blkid library
  * Fix the blkid library so that it notices when an ext2 filesystem 
    is upgraded to ext3.
  * Improve the blkid's library VFAT/FAT detectio
  * Add support for the reiser4 and software suspend partitions 
    to the blkid library.
- update ext2resize to version 1.1.19:
  * Add support for ext3 online resizing
  * Support LARGEFILE compat flag
  * Make the resize inode part of the fs struct
  * Add the FL_IOCTL flag
  * Bugfixes
- Fix to comply with gettex 0.15.
- Move ext2resize sources to toplevel directory.
- Fix use of MKINSTALLDIRS.
- update libvolume_id integration to match util-linux
- added libvolume_id-devel to BuildRequires 
- updated e2fsprogs-udev.patch to match header rename
- Fix fsck -m (#146606) to really check filesystems.
- Document -I inode-size [#145445]
- fix hares patch 
- Add option to not return an error code for mounted
  filesystems (#145400).
- converted neededforbuild to BuildRequires
- Support ext2/ext3 online resize
- remove lib/et/test_cases/imap_err* from the tarball because
  they are not distributeable.
- remove unnecessary type-punning
- reduce compiler warnings
- added close.patch provided by Ted Tso (IBM) to fix bug #132708
- Use devt when comparing devices
- fsck: Use information provided by udev for detecting devices
- fix too few arguments to a *printf function
- require libcom_err on e2fsprogs-devel 
- add gross hack to avoid divide by zero in probe_reiserfs
  [#115827]
- added environment variable BLKID_SKIP_CHECK_MDRAID to work around
  broken software raid detection [Bug #100530]
- update to version 1.38
- mt reworked his patches a bit. See Bug #66534
- call ldconfig in post/postun
- add version to devel package dependencie
- readd missing patch (7)
- update to version 1.37
- mt reworked one libcom_err patch a bit to provide more
  meaningfull error handling
- fix retuen value in inode.c
- split libcom_err to a subpackage
- add mutex synchronization to e2fsprogs/lib/et
- removed usage of a static buffer in error_message()
- disabled init_error_table function
- disabled build of unused e2fsck.static
- fix endian unsafeness in getopt (#73855)
- Update to 1.36 final
- Update to 1.35 RC5
- Don't build the EVMS plugin because it's out of date for 
  EVMS in kernel 2.6.
- Add patch from Olaf Hering that makes fsck read a different
  blkid file via BLKID_FILE environment var (#35156)
- Remove obsolete recode call
- removed run_ldconfig again
- add %run_ldconfig
- Add patch from Kurt Garloff to make e2fsprogs compile
  with latest kernel headers (SCSI_BLK_MAJOR undefined).
- Fix czech message catalog which has been transformed twice
  from latin2 to utf-8 and add an iconv call to the spec file
  that will make building fail if the file is corrected upstream.
- Fix an endianness bug in ext2fs_swap_inode: Fast symlinks that
  have extended attributes are acidentally byte swapped on
  big-endian machines.
- Apply patch from Ted T'so for badblocks.
- Update to 1.34.
- Various fixes to libcom_err to make it really compatible
  to the heimdal version.
- Fix int<->pointer casts.
- Fix places that may break strict aliasing.
- added directory to filelist 
- Use %defattr
- Include all installed files.
- add libblkid.so* and libblkid.a to file lists
- Update to 1.33 and adapt patches.
- Add missing headers where necessary.
- fix install_info --delete call and move from preun to postun
- added install_info macros 
- Fix segfault in display of real device in presence of volume
  name. #20422
- remove duplicate evms scan (already included in 1.28)
- fix volume group scan bug
- Update to 1.28. Includes very minor fixes in htree, which we have 
  disabled anyway, one fix that we had in a separate patch, and
  has additional release notes.
- Update to 1.28-WIP-0817, which includes Extended Attribute
  and several smaller fixes. We disable htree support and don't
  install the evms library for now.
- Remove `make gcc-wall' for now (as it does a `make clean' in
  doc/).
- support jfs, reiserfs, evms in label/uuid scan (code stolen
  from util-linux:mount)
- Remove unused tetex from neededforbuild
- use a better method for finding missed filelist entries
- added %{_libdir}
- added fix for lib/lib64
- fix man pages, filelist and add check for missing files in packs
- Update to 1.27, fixes resource limit problem for other archs and
  merges many patches
- Add patch from Ted T'so to keep e2fsck from dumping
  core when the journal inode is missing.
- Fix implicit function declarations and some other gcc warnings.
- Include patch from Kurt Garloff to make e2fsck display the
  device name in addition to the volume label. Adapt it to 1.26.
- Adapt BSD_disklables.diff to new code.
- Set LC_CTYPE in addition to LC_MESSAGES.
- Repack with bzip2.
- Update to 1.26. This release has a number of critical bug
  fixes over the previous release, version 1.25:
- Use %{_lib} and %{_libdir}.
- Make heimdal-devel conflict e2fsprogs-devel.
  Temporary solution for bug #13145
- Add mkfs.ext2.8 because mkfs.8 from util-linux references it.
  Fixes bug #12613.
- Add accidently left out e2image to file list. Fixes bug
  #12009
- fix for axp: should malloc buffer _before_ use 
- Update to 1.25.
- Remove patches not needed anymore.
- Change mke2fs to output warnings to stderr not stdout.
- Repack as bz2.
- replace ext2fs_d
- Add patch for mke2fs from 1.25 as that bug seems to be the
  reason for the mk_initrd warning.
- Update to 1.24a:
  - Fix brown-paper bug in mke2fs which caused it to segfault.
  - Revert the BLKGETSIZE64 support as this ioctl has been used
    by an unofficial kernel patch to update the last sector on
    the disk, and this was causing disk corruption problems as a
    result.
  - Mke2fs is now more careful about zapping swap space signatures
    and other filesystem/raid superblock magic values so.
  - E2fsck will no longer complain if the the mode of
    EXT2_RESIZE_INO is a regular file
  - mke2fs and tune2fs will allow the use of UUID= or LABEL=
    specifiers when specifying the external journal device. 
    tune2fs will also search devices looking for the external
    journal device when removing.
- update to 1.23 to enable external journals on ext3 
- Update to 1.22.
- Drop fsck Patch as code changed.
- Use LD_LIBRARY_PATH to run test programs.
- Remove incorrect use of AC_REQUIRE (fails with autoconf 2.5)
- Recompress tarball with bzip2.
- Add Obsoletes: ext2fs_d and Requires: e2fsprogs to devel
  subpackage.
- use _mandir and _infodir more consistently in spec file.
- renamed packages to e2fsprogs/e2fsprogs-devel 
- Build dynamic libraries.  Partition Surprise requires them.
- Make /usr/lib/*.so symlinks relative.
- Don't erase BSD labels on Alpha
- Add Y2K fix to debugfs 
- Fix ifdefs for gcc 2.95.2 
- Bugfix for the change ...
- ... and change version no of fsck to 1.18a to reflect the change.
- Patch to be more clever WRT to basenames (used to find out wheter
   a fsck for this device is already running).
- Give better message in case fsck fails, to tell the user what to
   do. (e2fsck only displays the label, nowadays :-( )
- Use autoconf to create new configure
- man,info -> /usr/share 
- fixed to build on kernels >= 2.3.39 
- Update to e2fsprogs 1.18
- Create new sub-package ext2fs_d which includes libs and headers
-fixed coredump in e2fsck 
-e2fsprogs: 1.17 vital bugfix in e2fsck 
- e2fsprogs: update to 1.16, sparse_super is default on when
  called on a > 2.2 kernel, can be overridden with -O none 
- Disabled flushb again. (Moved to ddrescue.)
- ran old prepare_spec on spec file to switch to new prepare_spec.
- mke2fs: sparse superblocks default back to "off"  
- update to 1.15
- cleanup diff and specfile
- Enabled flushb compilation 
- Add fix for fsck core dump from beta list
- fixed configure call
- update to 1.14
- respect change in 2.1.126 SCSI_DISK_MAJOR
- update to 1.12
---------
- update to new version 1.10
---------
- update to new version 1.08
- do not include ext2 libs and include files as they are only used by dump
---------
- update to new version 1.06
---------
- update to newer version
- use now static libs instead of 4 small shared libs
---
update to version 1.0.4


Rev filesystems/93 Md5 aa5c99311fcf29f9bfb558ce496cc2ae 2018-01-24 15:28:49 jankara 569338
2018-01-24 15:28:49 +00:00
OBS User jankara
f3a498d45e - libext2fs: fix build failure in swapfs.c on big-endian systems (bsc#1077420)
Rev filesystems/92 Md5 54ec269affcdc492711658236d0e50d3 2018-01-24 14:47:42 jankara 569260
2018-01-24 14:47:42 +00:00
OBS User fcrozat
1078862654 Automatic request from openSUSE.org:openSUSE:Factory by UpdateCrawler
Rev SUSE:SLE-15:GA/6 Md5 272a0fa9350ae153df6fc8ea13fdf658 2018-01-23 13:18:31 fcrozat None
2018-01-23 13:18:31 +00:00
OBS User dimstar_suse
e4ab812863 Accepting request 566366: Automatic submission by obs-autosubmit
Rev openSUSE:Factory/98 Md5 272a0fa9350ae153df6fc8ea13fdf658 2018-01-20 10:21:45 dimstar_suse 566366
2018-01-20 10:21:45 +00:00
OBS User jankara
1300622072 - Update to 1.43.8
* add forgotten byteswap of some new superblock fields
 * fix use-after-free in e2fsck for corrupted root inode
 * fix floating point exception due to corrupted superblock in e2fsck
 * fix resize2fs's free block sanity checks
 * updated translations


Rev filesystems/90 Md5 5955b32b2ac9b8dff6308affc5d4be78 2018-01-09 10:49:12 jankara 562848
2018-01-09 10:49:12 +00:00
OBS User sbehlert
f63614d96d Automatic request from openSUSE.org:openSUSE:Factory by UpdateCrawler
Rev SUSE:SLE-15:GA/5 Md5 e3b63c557171829b71ca990e79d00de3 2017-11-25 21:56:52 sbehlert None
2017-11-25 21:56:52 +00:00
OBS User dimstar_suse
5d5d15703a Accepting request 541821:
Rev openSUSE:Factory/97 Md5 e3b63c557171829b71ca990e79d00de3 2017-11-17 09:37:03 dimstar_suse 541821
2017-11-17 09:37:03 +00:00
OBS User jankara
3e46140b09 - Added %license tag to specfile
Rev filesystems/88 Md5 b31000d8999daf8c3775eeb1ade04ade 2017-11-14 13:55:12 jankara 541820
2017-11-14 13:55:12 +00:00
OBS User jankara
649548b836 - Update to 1.43.7
* debugfs, tune2fs, fuse2fs fixes of error handling in journal replay
 * e2fsck and debugfs fixes so that malicious filesystems do not cause
   buffer overflows
 * fix corner cases in offline resizing in resize2fs
 * updated translations


Rev filesystems/87 Md5 6ba4faa0f4596e3dd52a6208f8d9900e 2017-11-08 17:47:20 jankara 539981
2017-11-08 17:47:20 +00:00
OBS User dimstar_suse
92b33f3257 Accepting request 527259: 1
Rev openSUSE:Factory/96 Md5 6da31857f8e4140c4de900e59914dd73 2017-09-22 19:29:48 dimstar_suse 527259
2017-09-22 19:29:48 +00:00
OBS User sbehlert
49adab13b0 - ignore errors for install-info calls in post scripts,
otherwise installing with "--excludedocs" fails

Rev SUSE:SLE-15:GA/4 Md5 6da31857f8e4140c4de900e59914dd73 2017-09-22 14:15:04 sbehlert None
2017-09-22 14:15:04 +00:00
OBS User dirkmueller
ca3561f594 - ignore errors for install-info calls in post scripts,
otherwise installing with "--excludedocs" fails

Rev filesystems/85 Md5 5a30324c69de0024e01c34ceb9568de3 2017-09-19 08:54:20 dirkmueller 527018
2017-09-19 08:54:20 +00:00
OBS User sbehlert
5bda6ce558 Automatic request from openSUSE.org:openSUSE:Factory by UpdateCrawler
Rev SUSE:SLE-15:GA/3 Md5 0600bb34b5d46e5856a783ebba2520ad 2017-09-15 12:09:08 sbehlert None
2017-09-15 12:09:08 +00:00
OBS User dimstar_suse
633ffc6a43 Accepting request 521408: 1
Rev openSUSE:Factory/95 Md5 0600bb34b5d46e5856a783ebba2520ad 2017-09-13 19:33:11 dimstar_suse 521408
2017-09-13 19:33:11 +00:00
OBS User jankara
9bcdf25af7 - Update to 1.43.6
* fix printing of quota inconsistency messages
 * fix out of bounds checks in e2fsck
 * optimize e2fsck CPU usage for large sparse files
 * increase inode size to 256 bytes if features require it
 * various UI fixes
 * updated translations


Rev filesystems/83 Md5 231150622921942052dadd074d22be77 2017-09-05 15:43:36 jankara 521383
2017-09-05 15:43:36 +00:00
OBS User fcrozat
811ef56cc2 Automatic request from openSUSE.org:openSUSE:Factory by UpdateCrawler
Rev SUSE:SLE-15:GA/2 Md5 f8ac2e0ac529d87cda2556d21dad29c3 2017-09-01 11:13:56 fcrozat None
2017-09-01 11:13:56 +00:00
OBS User dsterba
0c51b37328 Rev filesystems/82 Md5 26415589e182130fd302d4a61b9abc32 2017-08-29 13:11:56 dsterba 519143 2017-08-29 13:11:56 +00:00
OBS User dimstar_suse
e482cebfe4 Accepting request 517939: 1
Rev openSUSE:Factory/94 Md5 f8ac2e0ac529d87cda2556d21dad29c3 2017-08-29 09:36:15 dimstar_suse 517939
2017-08-29 09:36:15 +00:00
OBS User jankara
de2e02c620 - Update to 1.43.5
* fix e2fsck infinite loop when rebuilding encrypted directories
 * fix tune2fs support for enabling /disabling project quota
 * fixes in debugfs, dumpe2fs, e2fsck, tune2fs, and resize2fs for maliciously
   corrupted filesystems
 * fix e2fsck to verify invalid quota inode numbers
 * fix byte-swapping of backup superblocks
 * fix e2fsck -E bmap2extent to work for sparse files
 * fix e2fsck to correctly handle quota accounting for multiply claimed blocks
 * lots of other fixes


Rev filesystems/80 Md5 ec0bd0aef1ce086393f7fa4851c2309e 2017-08-21 13:25:12 jankara 517938
2017-08-21 13:25:12 +00:00
OBS User oertel
7e51f39de2 osc copypac from project:SUSE:Factory:Head package:e2fsprogs revision:58
Rev SUSE:SLE-15:GA/1 Md5 bcbd3bf180bc0f7a97369d2e14fcaa93 2017-07-31 23:51:05 oertel None
2017-07-31 23:51:05 +00:00
OBS User dimstar_suse
c6ecb77200 Accepting request 467812: 1
Rev openSUSE:Factory/93 Md5 bcbd3bf180bc0f7a97369d2e14fcaa93 2017-03-07 23:43:24 dimstar_suse 467812
2017-03-07 23:43:24 +00:00
OBS User jankara
451708467a Update to 1.43.4
Rev filesystems/78 Md5 9b522352697bf1e65fcb974bd4e806ee 2017-03-03 10:28:50 jankara 467687
2017-03-03 10:28:50 +00:00
OBS User dimstar_suse
4518dbbeb0 Accepting request 432946: 1
Rev openSUSE:Factory/92 Md5 66c3f62db3c057bd2b2c460869197a9b 2016-10-04 13:42:01 dimstar_suse 432946
2016-10-04 13:42:01 +00:00
OBS User jankara
2ea7935a01 Rev filesystems/76 Md5 cefd6f4eabd819585aad97cd11b68cf1 2016-10-03 12:14:24 jankara 432945 2016-10-03 12:14:24 +00:00
OBS User jankara
c0f99915a3 Update download link
Rev filesystems/75 Md5 9b15b1b5cbdfe7cf0c41f452721ee6dc 2016-09-27 16:47:59 jankara 430600
2016-09-27 16:47:59 +00:00
OBS User jankara
7ee48a3566 Update to 1.43.3
Rev filesystems/74 Md5 38bbf9147b8c3bbbf3d5b191153adad3 2016-09-27 08:46:53 jankara 430519
2016-09-27 08:46:53 +00:00
OBS User jankara
e3609e0abc Update to 1.43.3
Rev filesystems/73 Md5 41362e3259afff931d290a524b3f47c7 2016-09-26 14:53:59 jankara 430440
2016-09-26 14:53:59 +00:00
OBS User dirkmueller
c6a428dcdf - fix last change
Rev filesystems/72 Md5 eca11c244b27cc6310db761ea6b2d391 2016-09-12 11:02:41 dirkmueller None
2016-09-12 11:02:41 +00:00
OBS User dirkmueller
3b44300bb0 - Rebuild the initrd if this package changes (and we are not
building the -mini version)

Rev filesystems/71 Md5 3a7ec38eaa7828e236031627b3abefb7 2016-07-25 11:02:06 dirkmueller 414763
2016-07-25 11:02:06 +00:00
OBS User dimstar_suse
4932575797 Accepting request 403733: 1
Rev openSUSE:Factory/91 Md5 ba05af2e4b562cb01a071a6781e32178 2016-07-09 07:18:10 dimstar_suse 403733
2016-07-09 07:18:10 +00:00
OBS User jankara
0827427f65 Update to 1.43.1
Rev filesystems/69 Md5 d66e6cc0a1508f999ba73789f5d99f8b 2016-06-20 16:45:56 jankara 403732
2016-06-20 16:45:56 +00:00
OBS User dimstar_suse
0aef8d0be2 Accepting request 322114: 1
Rev openSUSE:Factory/90 Md5 21ce194ac6a1d174a005ec63cc67b926 2015-08-17 13:33:18 dimstar_suse 322114
2015-08-17 13:33:18 +00:00
OBS User jankara
bb26695a40 - spec: add static library dependencies
Rev filesystems/67 Md5 80db6cd2cc0e853e4721dcae023e47a9 2015-08-12 13:49:25 jankara 321250
2015-08-12 13:49:25 +00:00
OBS User dirkmueller
d5a1932e1f - enable static build and package static libraries
Rev filesystems/66 Md5 41d99c8ee4b58ebb07aa578bbe81d828 2015-08-05 12:31:46 dirkmueller 320148
2015-08-05 12:31:46 +00:00
OBS User coolo
79999b3ae7 Accepting request 313192: 1
Rev openSUSE:Factory/89 Md5 48760165f9a21841c69bc1b5cd8ccd2e 2015-07-05 15:57:42 coolo 313192
2015-07-05 15:57:42 +00:00
OBS User dirkmueller
d9af8a73d5 - e2fsprogs-1.41.1-splash_support.patch: Drop it, this patch
depends on the old in kernel "bootsplash" patches that were
   removed after the introduction of plymouth.

Rev filesystems/64 Md5 d54d87b45ab0b0b1d41f618e7a45e980 2015-06-23 06:27:13 dirkmueller 312873
2015-06-23 06:27:13 +00:00
OBS User dimstar_suse
1565cb0d00 Accepting request 308743: 1
Rev openSUSE:Factory/88 Md5 fa7acbf6bcd5553e9283c4781027e117 2015-05-27 10:39:54 dimstar_suse 308743
2015-05-27 10:39:54 +00:00
OBS User jankara
835e281592 Update to 1.42.13
Rev filesystems/62 Md5 270229393e42da3ea1dc61f29181cb06 2015-05-26 12:44:00 jankara 308742
2015-05-26 12:44:00 +00:00
OBS User dimstar_suse
1733c8c134 Accepting request 280548: 1
Rev openSUSE:Factory/87 Md5 e06d6984b644c827b52d7c7b4cdb75ad 2015-01-10 22:07:02 dimstar_suse 280548
2015-01-10 22:07:02 +00:00
OBS User jankara
0be3528bfb Fix use after free issue leading to occasional crash
Rev filesystems/60 Md5 3336c29a737163cacf6c64982744836c 2015-01-09 08:57:11 jankara 280547
2015-01-09 08:57:11 +00:00
OBS User coolo
ca9b536008 Accepting request 247232: 1
Rev openSUSE:Factory/86 Md5 48adaf6ddfe132049492d1647cfdb6e7 2014-09-04 05:55:47 coolo 247232
2014-09-04 05:55:47 +00:00
OBS User jankara
fe1d1e7f3d Update to 1.42.12
Rev filesystems/58 Md5 980207ea19f380afd84cc2b22a56cf84 2014-09-02 13:56:03 jankara 247231
2014-09-02 13:56:03 +00:00
OBS User adrianSuSE
bb48cb7550 Split 13.2 from Factory
Rev openSUSE:Factory/85 Md5 fc0f3956a515a31e995cb9c80be85bbe 2014-08-29 08:26:48 adrianSuSE None
2014-08-29 08:26:48 +00:00
OBS User coolo
aa75e2ed36 Accepting request 241111: 1
Rev openSUSE:Factory/84 Md5 fc0f3956a515a31e995cb9c80be85bbe 2014-07-16 14:37:21 coolo 241111
2014-07-16 14:37:21 +00:00
OBS User jankara
6345585464 Update to 1.42.11
Rev filesystems/56 Md5 e763fb23fa17537f51f4a55979ea280b 2014-07-15 16:30:42 jankara 241110
2014-07-15 16:30:42 +00:00
OBS User coolo
0ee9ae2322 Accepting request 231952: - Add filefrag-print-shared-extent-flag.patch: lets filefrag print shared
extent flag when it gets it. Helps with fate#316317 / bnc#868847. Patch
  sent to upstream 4/17/2014. (forwarded request 231951 from mfasheh)

Rev openSUSE:Factory/83 Md5 e1fb0d36a5e1c27c90e7b0c114ab79c5 2014-05-02 17:22:05 coolo 231952
2014-05-02 17:22:05 +00:00
OBS User mfasheh
b8bedec7a1 - Add filefrag-print-shared-extent-flag.patch: lets filefrag print shared
extent flag when it gets it. Helps with fate#316317 / bnc#868847. Patch
  sent to upstream 4/17/2014.

Rev filesystems/54 Md5 985607fade8c4a4b3451cd4f520b989f 2014-04-28 17:55:32 mfasheh 231951
2014-04-28 17:55:32 +00:00
OBS User coolo
00059dd0bf Accepting request 215288: Remove e2fsprogs-mini (forwarded request 215287 from jankara)
Rev openSUSE:Factory/82 Md5 9436f33e689cfee2a3528c5a8d568c34 2014-02-02 17:08:33 coolo 215288
2014-02-02 17:08:33 +00:00
OBS User jankara
9a64064ed5 Remove e2fsprogs-mini
Rev filesystems/52 Md5 570578771012429dbf500d2e34e16a78 2014-01-27 14:57:37 jankara 215287
2014-01-27 14:57:37 +00:00
OBS User jankara
20af007f75 Update to 1.42.9
Rev filesystems/51 Md5 e3ca0c775d5ed8a63bda109ecc073b45 2014-01-27 09:58:18 jankara 215247
2014-01-27 09:58:18 +00:00
OBS User jeff_mahoney
0d547b0411 create e2fsprogs-mini
This patch only creates the .spec file.  A link needs to also
be created from filesystems:e2fsprogs-mini to filesystems:e2fsprogs.

This is needed so to reduce the build dependencies on libtirpc so the
new fixed version can actually get into Factory and hopefully openSUSE 13.1

- Created "-mini" version of package which doesn't
  build "info" and so doesn't depend on makeinfo,
  texinfo, and all of tex.  This should allow packages
  in the bootstrap cycle (such as krb5-mini) to
  build-depends of libraries from here.


- Created "-mini" version of package which doesn't
  build "info" and so doesn't depend on makeinfo,
  texinfo, and all of tex.  This should allow packages
  in the bootstrap cycle (such as krb5-mini) to
  build-depends of libraries from here.

- update to 1.42.8
  * e2fsck: detect and fix invalid extents at leaf block tails
  * e2fsck: allow checking ro root fs with external journal
  * fix offline resizing of fs with flex_bg && !resize_inode
  * fix resize2fs to not leave bitmaps beyond fs end
  * fixed e2image for large (>32-bit) filesystems
  * debugfs fixes
- Removed upstreamed patches:
    e2p-Fix-s-handling-in-parse_num_blocks2.patch
    resize-bigalloc_check-should-have-return-type-void.patch
    libext2fs-Fix-return-value-in-ext2fs_test_block_bitm.patch
    libext2fs-Provide-prototype-for-ext2fs_symlink.patch

- Fix compilation for Fedora targets in Build Service

- Fix compilation warnings by patches:
  e2p-Fix-s-handling-in-parse_num_blocks2.patch

Rev filesystems/50 Md5 8463db4be40d0427c9bb17050f6a36e9 2013-12-10 20:59:42 jeff_mahoney 210106
2013-12-10 20:59:42 +00:00
OBS User adrianSuSE
3f42c77c34 Split 13.1 from Factory
Rev openSUSE:Factory/81 Md5 5a9a53bc27c8c158260ef9fd556941fa 2013-09-20 07:31:11 adrianSuSE None
2013-09-20 07:31:11 +00:00
OBS User coolo
ba76ccf4ec Accepting request 181174: Update to 1.42.8 (forwarded request 181173 from jankara)
Rev openSUSE:Factory/80 Md5 5a9a53bc27c8c158260ef9fd556941fa 2013-06-28 14:03:24 coolo 181174
2013-06-28 14:03:24 +00:00
OBS User jankara
db9b16168f Update to 1.42.8
Rev filesystems/48 Md5 5b3103b56a6caebebef45c4a5719a166 2013-06-27 14:23:56 jankara 181173
2013-06-27 14:23:56 +00:00
OBS User coolo
d79eec6cb2 Accepting request 157776: Automatic submission by obs-autosubmit
Rev openSUSE:Factory/79 Md5 6c8ac6d45d76f34bf077b0fd0b30c768 2013-03-08 09:49:22 coolo 157776
2013-03-08 09:49:22 +00:00
OBS User jankara
c9e618f8ad Rev filesystems/46 Md5 eaf9cd5e0b12c7b36888b97156c93ce4 2013-02-26 18:05:10 jankara 156459 2013-02-26 18:05:10 +00:00
OBS User coolo
5510cf605a Accepting request 156373: Update changelog to mention all added patches. (forwarded request 156372 from jankara)
Rev openSUSE:Factory/78 Md5 00a12b8c538c7d935a2e9c6b5b51546d 2013-02-26 14:14:36 coolo 156373
2013-02-26 14:14:36 +00:00
OBS User jankara
a4a9a24670 Update changelog to mention all added patches.
Rev filesystems/44 Md5 e7d1cd16144e7784b88a939bc2bb54eb 2013-02-25 21:20:18 jankara 156372
2013-02-25 21:20:18 +00:00
OBS User jankara
d0e9f7c06d Fix compilation warnings leading to package build failure.
Rev filesystems/43 Md5 b21a390e126ab46304fa0d462302b24b 2013-02-25 18:21:48 jankara 156351
2013-02-25 18:21:48 +00:00
OBS User jankara
fa79657ce9 Update to 1.42.7
Rev filesystems/42 Md5 ddf1b3c47bbc4f9e71705b015b932599 2013-02-22 16:08:54 jankara 156128
2013-02-22 16:08:54 +00:00
OBS User coolo
5607279a21 Accepting request 155454: (please forward to Factory AND 12.3)
- Install the correct source file as /etc/e2fsck.conf. (forwarded request 154914 from fcrozat)

Rev openSUSE:Factory/77 Md5 468f532629787efc349ab695856689e2 2013-02-15 17:42:25 coolo 155454
2013-02-15 17:42:25 +00:00
OBS User factory-maintainer
e0f3fe5037 (please forward to Factory AND 12.3)
- Install the correct source file as /etc/e2fsck.conf.

Rev filesystems/40 Md5 a074973efc1258e5af2f7f35a3c25ecc 2013-02-14 20:23:37 factory-maintainer 154914
2013-02-14 20:23:37 +00:00
OBS User adrianSuSE
33110fa13c Split 12.3 from Factory
Rev openSUSE:Factory/76 Md5 a048d43d2a4f73e2c02aaa67944ebcc6 2013-01-25 10:13:55 adrianSuSE None
2013-01-25 10:13:55 +00:00
OBS User coolo
a8bc4ac4a8 Accepting request 137688: - removed e2fsprogs-1.42-voidreturn_value_declared.patch because it makes
no longer any sence due to upstream changes (forwarded request 137687 from jankara)

Rev openSUSE:Factory/75 Md5 a048d43d2a4f73e2c02aaa67944ebcc6 2012-10-12 06:03:17 coolo 137688
2012-10-12 06:03:17 +00:00
OBS User jankara
4bb5aec8cd - removed e2fsprogs-1.42-voidreturn_value_declared.patch because it makes
no longer any sence due to upstream changes

Rev filesystems/38 Md5 caf93d680dca02fb7a0fbe6f8243ff73 2012-10-09 21:56:21 jankara 137687
2012-10-09 21:56:21 +00:00
OBS User jankara
9059baee20 - update to 1.42.6
* Fixed a potential seg fault in e2fsck when there is an I/O error while reading the superblock
  * Various resize2fs fixes
  * Various quota related fixes
  * Fixed filefrag so that it correctly reports the number of extents
  * Fixed filefrag so it will not crash with a segfault on files from a virtual file system such as /proc
  * Fixed a problem if e2fsck where if the root file system is mounted read-only, e2fsck would not clear an error indication in the journal superblock.
  * Fixed a bug in how e2fsck would uniquify directory entry names
  * Manpage updates
  ...

Rev filesystems/37 Md5 1fa438d2b8eb4bda23eb4f56e21753b4 2012-09-25 22:37:44 jankara 136012
2012-09-25 22:37:44 +00:00
OBS User coolo
4d8841de26 Accepting request 133634: - add makeinfo as explicit buildrequire (forwarded request 133623 from coolo)
Rev openSUSE:Factory/74 Md5 afe3a0d7c66a7e487b67bb0ac362b552 2012-09-13 04:59:41 coolo 133634
2012-09-13 04:59:41 +00:00
OBS User namtrac
3f8ca26e44 - add makeinfo as explicit buildrequire
Rev filesystems/35 Md5 dc6b49a4fb47183487ff6078625712fb 2012-09-11 12:57:54 namtrac 133623
2012-09-11 12:57:54 +00:00
OBS User coolo
c3ccb626a6 Accepting request 131885: - Add an /etc/e2fsck.conf file with broken_system_clock=1 to fix
first part of bnc#775268 (forwarded request 131510 from namtrac)

Rev openSUSE:Factory/73 Md5 c878c2c76fce2ac63fb475be6413af5f 2012-08-31 07:23:49 coolo 131885
2012-08-31 07:23:49 +00:00
OBS User jankara
043a80bfea - Add an /etc/e2fsck.conf file with broken_system_clock=1 to fix
first part of bnc#775268

Rev filesystems/33 Md5 64e02a01f9b82d1d0d0331fe71557e55 2012-08-28 18:55:50 jankara 131510
2012-08-28 18:55:50 +00:00
OBS User adrianSuSE
d935e11e79 branched from openSUSE:Factory
Rev openSUSE:Factory/72 Md5 ebcf0d840138ea3bcd2a9d84ff2fa764 2012-06-20 09:08:17 adrianSuSE None
2012-06-20 09:08:17 +00:00
OBS User coolo
b7ce8e5ac3 Accepting request 125024: - update to 1.42.4
* Fix 64-bit block number bugs in e2fsck, dumpe2fs, and debugfs which
    could corrupt file systems
  * Fixed e2fsck's handling of how errors propagate from the journal to
    the file system superblock
  * Fixed a false positive complaint from e2fsck if all of the extents
    in the last extent block are uninitialized and located after the
    end of the file.
  * dumpe2fs will display the journal's error indicator in the
    superblock if it is set
  * Fixed a  bug which caused e2fsck to incorrectly use O_EXCLUSIVE in
    some corner cases.
  * Fix truncation of extent-mapped inodes in e2fsck and libext2fs
  * Fixed i_blocks accounting in bigalloc file systems.
  * Add support for btrfs's No_COW flag to lsattr and chattr
  * Debugfs interprets the date strings of the form "@ddd" as ddd
    seconds after the epoch
  * Updated/fixed various man pages  (Closes: #674453, #674694) (forwarded request 124987 from coolo)

Rev openSUSE:Factory/71 Md5 ebcf0d840138ea3bcd2a9d84ff2fa764 2012-06-15 13:40:46 coolo 125024
2012-06-15 13:40:46 +00:00
OBS User dirkmueller
ff288110b1 - update to 1.42.4
* Fix 64-bit block number bugs in e2fsck, dumpe2fs, and debugfs which
    could corrupt file systems
  * Fixed e2fsck's handling of how errors propagate from the journal to
    the file system superblock
  * Fixed a false positive complaint from e2fsck if all of the extents
    in the last extent block are uninitialized and located after the
    end of the file.
  * dumpe2fs will display the journal's error indicator in the
    superblock if it is set
  * Fixed a  bug which caused e2fsck to incorrectly use O_EXCLUSIVE in
    some corner cases.
  * Fix truncation of extent-mapped inodes in e2fsck and libext2fs
  * Fixed i_blocks accounting in bigalloc file systems.
  * Add support for btrfs's No_COW flag to lsattr and chattr
  * Debugfs interprets the date strings of the form "@ddd" as ddd
    seconds after the epoch
  * Updated/fixed various man pages  (Closes: #674453, #674694)

Rev filesystems/31 Md5 d6603a97d2b94f9f7eed29dc8ed5b46d 2012-06-14 15:27:03 dirkmueller 124987
2012-06-14 15:27:03 +00:00
OBS User coolo
4d2710e6b3 Accepting request 122002: - Updated to 1.42.3
- Fix a bug in the Unix I/O manager which could cause corruption of file
     systems with more than 16TB when e2fsprogs is compiled in 32-bit mode.
   - Improve the support for integrated quota files.
   - Fixed a regression introduced in 1.42.2 which would cause applications
     outside of e2fsprogs which did not pass the EXT2_FLAG_64BIT to crash.
   - Fix a bug which would cause mke2fs to fail creating the journal if
     /etc/mtab and /proc/mounts are missing.
   - Updated/fixed various man page.
   - Updated translations.

- Added dependency of e2fsprogs package on particular versions of libext2fs
  and libcom_err to avoid problems with missing symbols (forwarded request 122001 from jankara)

Rev openSUSE:Factory/70 Md5 79931669cf4979fdc297b4f9d0016869 2012-05-26 11:00:05 coolo 122002
2012-05-26 11:00:05 +00:00
OBS User jankara
42b87fd47a - Updated to 1.42.3
- Fix a bug in the Unix I/O manager which could cause corruption of file
     systems with more than 16TB when e2fsprogs is compiled in 32-bit mode.
   - Improve the support for integrated quota files.
   - Fixed a regression introduced in 1.42.2 which would cause applications
     outside of e2fsprogs which did not pass the EXT2_FLAG_64BIT to crash.
   - Fix a bug which would cause mke2fs to fail creating the journal if
     /etc/mtab and /proc/mounts are missing.
   - Updated/fixed various man page.
   - Updated translations.

- Added dependency of e2fsprogs package on particular versions of libext2fs
  and libcom_err to avoid problems with missing symbols

Rev filesystems/29 Md5 d96667a862f6ad6f1cf11e66ac327b88 2012-05-23 21:39:30 jankara 122001
2012-05-23 21:39:30 +00:00
OBS User coolo
744a6f9779 Accepting request 115072: update to 1.42.2 and add matching german messages
Rev openSUSE:Factory/69 Md5 69dab8975c6b9e52bde72aee7871fcaa 2012-04-23 14:09:46 coolo 115072
2012-04-23 14:09:46 +00:00
OBS User psmt
ada05a2c07 - Update to 1.42.2:
* resize2fs uses much less CPU and is much faster for very large fs.
  * The seti and freei commands in debugfs can now take an optional length
    argument to set and clear a contiguous range of inodes.
  * E2fsck will now make explicit checks for the EOFBLOCKS_FL, since we
    plan to remove support for it from the kernel file system driver.
  * mke2fs can now use direct I/O via "mke2fs -D"
  * E2fsck was needlessly closing and re-opening the file system as a side
    effect of adding Multiple Mount Protection (MMP).  This isn't
    necessary for non-MMP file systems, so drop it.
  * E2fsck will now abort if there are memory allocation failures when
    the file system is initially opened and during the block group
    descriptor checks.
  * e2fsck will now report the incorrect and corrected checksum values
    for incorrect block groups.
  * e2fsck can now write log files containing the details of the problems
    that were found and fixed directly, via configuration parameters in
    /etc/e2fsck.conf.
  * The number of messages reported by e2fsck for a given problem type
    can be limited.
  * dumpe2fs, debugfs, and tune2fs now use rbtree bitmaps, which noticably
    reduces memory consumption for large file systems.
  * E2fsck now checks for extents with a zero length.
  * Fixed a number of bugs relating to discard.
  * E2fsck's CPU utilization in pass 5 has been optimized.
  * E2image will now skip copying uninitialized bitmap and inode table
    blocks.
  * Fixed mke2fs -S so it does not corrupt the first block group's
    information.
  * E2fsck will now check the new sysfs interface to determine if we are

Rev filesystems/27 Md5 9be97d5894175d896d99fd52bdf51da1 2012-04-23 10:15:04 psmt None
2012-04-23 10:15:04 +00:00
OBS User coolo
67ec15cdc9 Accepting request 113290: usrMerge project - move files from toplevel to /usr (forwarded request 113288 from rjschwei)
Rev openSUSE:Factory/68 Md5 6eaea78ef7b5a46b57cb240896d9df31 2012-04-17 19:57:54 coolo 113290
2012-04-17 19:57:54 +00:00
OBS User jankara
2220dea8b5 usrMerge project - move files from toplevel to /usr
Rev filesystems/25 Md5 d23a1be032d25f3293d3bcdb4f6a9849 2012-04-11 22:40:58 jankara 113288
2012-04-11 22:40:58 +00:00
OBS User jankara
1d71f2ec48 - SPARC: avoid retention of libquota.a
- Remove redundant tags/sections from specfile

Rev filesystems/24 Md5 de30f0b7521c1c17b7906963396a3e1f 2012-04-05 22:12:22 jankara 112741
2012-04-05 22:12:22 +00:00
OBS User coolo
6a04c8e8d3 Accepting request 103347: - removed dumpe2fs-add-man-page-warning-about-mounted-fil.patch
deprecated by this release
- refreshed e2fsprogs-1.41.1-splash_support.patch
- added several patches to fix warnings generated by the check_gcc_output
  and rpmlint
- update to 1.42
  * this release has support for file systems >16TB. online resize
    requires kernel support which will hopefully be in kernel version
    3.2. offline support is not yet available for >16TB, but will be
    coming
  * this release has support for clustered allocation, which reduces
    the number of block (now cluster) bitmaps by allocating and
    deallocating space in contiguous power-of-2 collections of blocks,
    which are called clustered. This is a filesystem level feature
    called 'bigalloc', which must be enabled when the filesystem is
    inititally formatted. It is not backwards compatible with older
    kernels.
  * added support for the Multi-Mount Protection (MMP) feature
  * The mke2fs and e2fsck programs now tries to use the punch hole command 
    as a "discard" when operating on normal files.
  * The resize2fs program now has support for a new online resize ioctl 
    that can support file systems > 16TB, once it arrives in v3.x kernels.
  * Added e4defrag tool which uses the EXT4_IOC_MOVE_EXT ioctl.
  * Added support for journals larger than 2GB.
  * Added internationalization support for libcom_err error table strings.
  * Fixed various spelling mistakes found in various output strings found by 
    I18N translators.
  * Update translations: French, Chinese, Germany, Indonesian, Swedish, 
    Vietnamese, Polish, Dutch, Czech. (Addresses Debian Bugs: #520985, 
    #620659)

Rev openSUSE:Factory/67 Md5 a616f40bf80ecdfe666c16a11683a5a5 2012-02-24 11:04:08 coolo 103347
2012-02-24 11:04:08 +00:00
OBS User jankara
891d3f7727 update to 1.42
Rev filesystems/22 Md5 787d7eb03cbf1ac71bfe45d5b274f9b9 2012-01-16 19:28:03 jankara 100294
2012-01-16 19:28:03 +00:00
OBS User coolo
8ed87fc588 CONFLICT Accepting request 99422: Fix building on Factory
Rev openSUSE:Factory/66 Md5 2a835dd99951815729f30368122b9c4b 2012-01-11 14:36:15 coolo 99422
2012-01-11 14:36:15 +00:00
OBS User jankara
447471a827 add autoconf to buildrequires
Rev filesystems/20 Md5 81bb9481668ebcec8ba30fb1941a448b 2011-12-20 20:56:09 jankara 97335
2011-12-20 20:56:09 +00:00
OBS User adrianSuSE
f507be33a0 Rev openSUSE:Factory/65 Md5 123911afb976887cb87973665aaeddbc 2011-10-21 07:24:20 adrianSuSE None 2011-10-21 07:24:20 +00:00
OBS User jankara
bdc02b4f9e - Added dumpe2fs.8 manpage fix (bnc#708243)
Rev filesystems/19 Md5 2cb8d396df9a329e6393aab3a5b149dd 2011-10-13 09:44:24 jankara 87658
2011-10-13 09:44:24 +00:00
OBS User saschpe
64c6a8b4d7 Autobuild autoformatter for 76980
Rev openSUSE:Factory/64 Md5 123911afb976887cb87973665aaeddbc 2011-08-04 07:06:09 saschpe None
2011-08-04 07:06:09 +00:00
OBS User saschpe
3c6b22914a Accepting request 76980: - Fix licenses in spec file to match those specified in COPYING file (forwarded request 76809 from jankara)
Rev openSUSE:Factory/63 Md5 61c036c01938732bc9a543353976844c 2011-08-04 07:05:55 saschpe 76980
2011-08-04 07:05:55 +00:00
OBS User dirkmueller
c7ba0b4139 - Fix licenses in spec file to match those specified in COPYING file
Rev filesystems/17 Md5 47db16588a5ee004bfc2e566d4142e63 2011-07-25 14:41:55 dirkmueller 76809
2011-07-25 14:41:55 +00:00
OBS User coolo
b4498d9f18 Fixed typo in summary of e2fsprogs.spec
Rev filesystems/16 Md5 896347b41ab3f837aff3f53f310d2e0a 2011-05-31 07:31:50 coolo 72186
2011-05-31 07:31:50 +00:00
OBS User autobuild
c17ddeaa1e 11.4 source split
Rev openSUSE:Factory/62 Md5 b3305de3fc1ddb0b854b9f67c4f784df 2011-02-17 11:18:44 autobuild None
2011-02-17 11:18:44 +00:00
OBS User oertel
15920ae5ea Autobuild autoformatter for 59538
Rev openSUSE:Factory/61 Md5 b3305de3fc1ddb0b854b9f67c4f784df 2011-02-12 10:48:13 oertel None
2011-02-12 10:48:13 +00:00
OBS User oertel
4ea392a665 CONFLICT Accepting request 59538: Accepted submit request 59538 from user oertel
Rev openSUSE:Factory/60 Md5 5deaf4cc928b3d8f0fdf34b0c30627b5 2011-02-12 10:48:02 oertel 59538
2011-02-12 10:48:02 +00:00
OBS User jankara
54660e3a0b Reviewed. OK.
Rev filesystems/14 Md5 e2950a391c85481f2bd9a4361c9a2b22 2011-01-25 16:48:14 jankara 59123
2011-01-25 16:48:14 +00:00
OBS User jankara
3a01dbf3d8 Reviewed. OK.
Rev filesystems/13 Md5 835f19785736bfb4d8aa06121d84f6c7 2011-01-24 14:16:36 jankara 59039
2011-01-24 14:16:36 +00:00
OBS User darix
09a496a34b Autobuild autoformatter for 58461
Rev openSUSE:Factory/59 Md5 7868fe5d12e75a09768ed8ec495648c4 2011-01-17 12:59:24 darix None
2011-01-17 12:59:24 +00:00
OBS User darix
22f0a15000 Accepted submit request 58461 from user coolo
Rev openSUSE:Factory/58 Md5 3421a8fa1e211cc9cab01a7260ffa11a 2011-01-17 12:59:08 darix 58461
2011-01-17 12:59:08 +00:00
OBS User jeff_mahoney
f8a714a0dd reviewed ok.
Rev filesystems/11 Md5 9ffa0f38b195ae97d7e2c1ef60c1e32f 2011-01-05 20:26:48 jeff_mahoney 57200
2011-01-05 20:26:48 +00:00
OBS User autobuild
de117fbab6 Accepting request 44351: Copy from filesystems/e2fsprogs based on submit request 44351 from user coolo
Rev openSUSE:Factory/57 Md5 e274496dae9bf436277bc31775a7d905 2010-08-03 13:22:37 autobuild 44351
2010-08-03 13:22:37 +00:00
OBS User coolo
9a0f7d8a64 - revert pth's %configure to fix build
Rev filesystems/9 Md5 52911d4fbd5ea628bca60b918a5947fb 2010-08-02 09:24:52 coolo None
2010-08-02 09:24:52 +00:00
OBS User autobuild
e249e42bfd Accepting request 44229: Copy from filesystems/e2fsprogs based on submit request 44229 from user coolo
Rev openSUSE:Factory/56 Md5 6f11633dc3c7573d303df5d453c98b76 2010-07-30 10:44:37 autobuild 44229
2010-07-30 10:44:37 +00:00
OBS User dirkmueller
fd42e05085 Copy from home:jengelh:sparc/e2fsprogs via accept of submit request 42786 revision 3.
Request was accepted with message:
Reviewed ok


Rev filesystems/7 Md5 0482ab2a34d50a9404962fa53f91727e 2010-07-16 14:39:34 dirkmueller 42786
2010-07-16 14:39:34 +00:00
OBS User autobuild
a4eee1bcad release number sync
Rev openSUSE:Factory/55 Md5 2b4433d7edcc79ec79891646ee4723ce 2010-07-09 12:29:33 autobuild None
2010-07-09 12:29:33 +00:00
OBS User autobuild
224c890cd5 release number sync
Rev openSUSE:Factory/54 Md5 2b4433d7edcc79ec79891646ee4723ce 2010-07-09 09:22:23 autobuild None
2010-07-09 09:22:23 +00:00
OBS User dirkmueller
25200c4b0d Copy from home:jengelh:smp/e2fsprogs via accept of submit request 42405 revision 2.
Request was accepted with message:
Reviewed ok


Rev filesystems/6 Md5 dd73e920ed148fa1e2b71ea048ca2d76 2010-07-08 08:03:44 dirkmueller 42405
2010-07-08 08:03:44 +00:00
OBS User jankara
d39b3926a3 Copy from home:psmt:branches:filesystems/e2fsprogs via accept of submit request 38249 revision 3.
Request was accepted with message:
reviewed ok.


Rev filesystems/5 Md5 c311e87969ce0e4276a8f6f4e3e1f799 2010-04-19 17:22:37 jankara 38249
2010-04-19 17:22:37 +00:00
OBS User autobuild
ab7a649d42 CONFLICT Accepting request 36548: Copy from filesystems/e2fsprogs based on submit request 36548 from user jankara
Rev openSUSE:Factory/53 Md5 2b4433d7edcc79ec79891646ee4723ce 2010-04-01 13:25:20 autobuild 36548
2010-04-01 13:25:20 +00:00
OBS User jankara
d3214ab0ff Copy from home:jankara:branches:filesystems/e2fsprogs via accept of submit request 36547 revision 2.
Request was accepted with message:
Accepting update.


Rev filesystems/3 Md5 97f1492d70e18a360e030294a28e76da 2010-04-01 11:59:12 jankara 36547
2010-04-01 11:59:12 +00:00
OBS User autobuild
d3b23cb026 Rev openSUSE:Factory/52 Md5 ec6adb6e67bcd9880ed2f2438096c3dc 2010-03-18 14:43:35 autobuild None 2010-03-18 14:43:35 +00:00
OBS User coolo
0365f63c63 converted link to branch
Rev filesystems/2 Md5 e7467e62eede21041556f5a29f1e0948 2010-02-19 15:16:28 coolo None
2010-02-19 15:16:28 +00:00
OBS User autobuild
78c6229f24 Copy from Base:System/e2fsprogs based on submit request 26688 from user msmeissn
Rev openSUSE:Factory/51 Md5 b182169346612c68e3492e6476680b91 2009-12-16 08:09:35 autobuild None
2009-12-16 08:09:35 +00:00
OBS User autobuild
c734dccf0d Copy from Base:System/e2fsprogs based on submit request 26180 from user michal-m
Rev openSUSE:Factory/50 Md5 9d536b79b6f871ed112bc1ff4d7dce3c 2009-12-11 12:01:57 autobuild None
2009-12-11 12:01:57 +00:00
OBS User michal-m
56904c2713 Rev filesystems/1 Md5 0a9b2d7c17d6ffe39ed509c9240daa9b 2009-12-10 13:16:55 michal-m None 2009-12-10 13:16:55 +00:00
OBS User autobuild
892a6c43b7 Copy from Base:System/e2fsprogs based on submit request 20384 from user hennevogel
Rev openSUSE:Factory/49 Md5 28f3009b0dbe0249f3c6bca9b0066d1d 2009-09-16 20:16:59 autobuild None
2009-09-16 20:16:59 +00:00
OBS User autobuild
e28a576479 Copy from Base:System/e2fsprogs based on submit request 20384 from user hennevogel
Rev openSUSE:Factory/48 Md5 28f3009b0dbe0249f3c6bca9b0066d1d 2009-09-16 20:16:59 autobuild None
2009-09-16 20:16:59 +00:00
OBS User autobuild
213e46138b Copy from Base:System/e2fsprogs based on submit request 19670 from user coolo
Rev openSUSE:Factory/47 Md5 669a9ac624c65c0980174edd6afc0b9b 2009-09-04 22:24:33 autobuild None
2009-09-04 22:24:33 +00:00
OBS User unknown
a71cac07f5 Rev openSUSE:Factory/46 Md5 dfbd604df83d65f135db142c632ba743 2009-08-06 15:38:39 unknown None 2009-08-06 15:38:39 +00:00
OBS User unknown
7cb94b7ba1 Rev openSUSE:Factory/45 Md5 6a8079088aebe34120e46cea1f2556ee 2009-07-17 14:27:47 unknown None 2009-07-17 14:27:47 +00:00
OBS User unknown
5411f63aed Rev openSUSE:Factory/44 Md5 b32bdd77d30669f5be0f09398f7d17c4 2009-07-03 15:13:02 unknown None 2009-07-03 15:13:02 +00:00
OBS User unknown
245063496d Rev openSUSE:Factory/43 Md5 d1bffcb9136d40bf9aa5aa2ba9a37d68 2009-03-17 15:47:31 unknown None 2009-03-17 15:47:31 +00:00
OBS User unknown
00cca3224b Rev openSUSE:Factory/42 Md5 796db283d4b54221c0666571beabc4f7 2009-02-20 20:43:55 unknown None 2009-02-20 20:43:55 +00:00
OBS User unknown
07045497da Rev openSUSE:Factory/41 Md5 3bcc8e74559fb988bcccb19f2424773b 2009-02-06 15:34:27 unknown None 2009-02-06 15:34:27 +00:00
OBS User unknown
4db7132b9c Rev openSUSE:Factory/40 Md5 eed2da0dbba16a2a9a63feec277b107a 2009-01-14 16:51:43 unknown None 2009-01-14 16:51:43 +00:00
OBS User unknown
947bc9da65 Rev openSUSE:Factory/39 Md5 5c39de8ff473104b0728672f27c49c6a 2008-12-05 14:15:07 unknown None 2008-12-05 14:15:07 +00:00
OBS User unknown
4535b2e9a8 Rev openSUSE:Factory/38 Md5 e4f8587cc906079ea1163a6718d46f94 2008-11-03 00:00:37 unknown None 2008-11-03 00:00:37 +00:00
OBS User unknown
97af7d91f7 Rev openSUSE:Factory/37 Md5 2e2a5ebb61126d2e58a89b3dab0c9880 2008-10-07 13:56:07 unknown None 2008-10-07 13:56:07 +00:00
OBS User unknown
f85ca561df Rev openSUSE:Factory/36 Md5 9dbca82829596a69e791a07a3097800c 2008-09-29 17:30:42 unknown None 2008-09-29 17:30:42 +00:00
OBS User unknown
5649934558 Rev openSUSE:Factory/35 Md5 abb6811f19efecca22d77c418a96d1cb 2008-09-15 14:32:55 unknown None 2008-09-15 14:32:55 +00:00
OBS User unknown
c4812da972 Rev openSUSE:Factory/34 Md5 8d59640760375c9114a9b52df81e1105 2008-09-05 18:13:55 unknown None 2008-09-05 18:13:55 +00:00
OBS User unknown
3c23b7bb49 Rev openSUSE:Factory/33 Md5 d6f904ea258d0b1975b7a96decd02ed5 2008-08-21 20:53:58 unknown None 2008-08-21 20:53:58 +00:00
OBS User unknown
dec8f5e983 Rev openSUSE:Factory/32 Md5 5c73339e971cb7e4586fd123a9657378 2008-08-21 15:58:40 unknown None 2008-08-21 15:58:40 +00:00
OBS User unknown
bf1b5f45b8 Rev openSUSE:Factory/31 Md5 5ca6e838699ae1878e2a9801650c5426 2008-07-18 19:53:07 unknown None 2008-07-18 19:53:07 +00:00
OBS User unknown
74c9f7fbed Rev openSUSE:Factory/30 Md5 14c4f4890d6611e7c73cd73b6c19343f 2008-07-11 18:41:52 unknown None 2008-07-11 18:41:52 +00:00
OBS User unknown
59af532f0d Rev openSUSE:Factory/29 Md5 b37091f406326a7a0132e9d25402921a 2008-06-24 20:20:16 unknown None 2008-06-24 20:20:16 +00:00
OBS User unknown
4e93025dd3 Rev openSUSE:Factory/28 Md5 e7dc26995e45c7e523a65442f89fa1c1 2008-05-31 10:10:45 unknown None 2008-05-31 10:10:45 +00:00
OBS User unknown
528700d598 Rev openSUSE:Factory/27 Md5 d2490fa705f387f59a57d8ad6ef716a5 2008-05-26 16:44:05 unknown None 2008-05-26 16:44:05 +00:00
OBS User unknown
001137c035 Rev openSUSE:Factory/26 Md5 6876e1eab54b475d41e02397a84d051d 2008-05-21 21:07:03 unknown None 2008-05-21 21:07:03 +00:00
OBS User unknown
f0d6e105a6 Rev openSUSE:Factory/25 Md5 900840573ba960fb4e80a84231431b52 2008-05-16 20:29:40 unknown None 2008-05-16 20:29:40 +00:00
OBS User unknown
9c9ace2947 Rev openSUSE:Factory/24 Md5 c275dba5182254aee5dc8cb59c262b81 2008-05-07 19:55:14 unknown None 2008-05-07 19:55:14 +00:00
OBS User unknown
010e6082c7 Rev openSUSE:Factory/23 Md5 042b38250d2e25eebf97a82150cc1ac9 2008-04-10 12:11:02 unknown None 2008-04-10 12:11:02 +00:00
OBS User unknown
94b23e7b96 Rev openSUSE:Factory/22 Md5 b0057e18c8da91e9e78eec816abdda80 2008-03-21 00:55:19 unknown None 2008-03-21 00:55:19 +00:00
OBS User unknown
cbdd600436 Rev openSUSE:Factory/21 Md5 73b605b9b983529dfdde9fa43c5ec782 2008-03-07 19:27:55 unknown None 2008-03-07 19:27:55 +00:00
OBS User unknown
19616de19b Rev openSUSE:Factory/20 Md5 c708a7f6d7b6bc2808a2780ee88bf913 2008-02-28 00:54:27 unknown None 2008-02-28 00:54:27 +00:00
OBS User unknown
a2e241c3c0 Rev openSUSE:Factory/19 Md5 bd8b46391d5e55098926bc4275c75f1f 2008-02-01 20:29:19 unknown None 2008-02-01 20:29:19 +00:00
OBS User unknown
69bfb87eb0 Rev openSUSE:Factory/18 Md5 5d3106f27b51a301c95e191e9e742a7d 2008-01-17 21:46:25 unknown None 2008-01-17 21:46:25 +00:00
OBS User unknown
507c739b7a Rev openSUSE:Factory/17 Md5 2025b57a014978224dc3e818cfb5a8c4 2007-11-28 22:03:08 unknown None 2007-11-28 22:03:08 +00:00
OBS User unknown
793b6fa1bb Rev openSUSE:Factory/16 Md5 d01cc2d2917255cc3394ff52170092f2 2007-07-27 13:34:39 unknown None 2007-07-27 13:34:39 +00:00
OBS User unknown
b38ff01ed3 Rev openSUSE:Factory/15 Md5 151b39310bfd9a685901921947cc5998 2007-07-26 23:24:33 unknown None 2007-07-26 23:24:33 +00:00
OBS User unknown
265f28c1f2 Rev openSUSE:Factory/14 Md5 e617798e651fff24d16c843f633511a2 2007-07-18 19:10:00 unknown None 2007-07-18 19:10:00 +00:00
OBS User unknown
0da80f7d4e Rev openSUSE:Factory/13 Md5 a2341728434c5e4c342b5de3d5431d07 2007-07-13 16:05:59 unknown None 2007-07-13 16:05:59 +00:00
OBS User unknown
a8a98e67b0 Rev openSUSE:Factory/12 Md5 08d5a32322165b1c052cebffa6c4a80f 2007-07-05 16:28:31 unknown None 2007-07-05 16:28:31 +00:00
OBS User unknown
420a7b1de9 Rev openSUSE:Factory/11 Md5 03df604a714b0081d4fe3f117c683ad8 2007-06-19 23:19:20 unknown None 2007-06-19 23:19:20 +00:00
OBS User unknown
0d259762b6 Rev openSUSE:Factory/10 Md5 4c1e8cb7c63ce417130f0bf2b1aadaed 2007-04-25 23:02:44 unknown None 2007-04-25 23:02:44 +00:00
OBS User unknown
ba2caad853 Rev openSUSE:Factory/9 Md5 6ccd5593b71c1a999c4d97dfe575fdb4 2007-04-12 15:16:50 unknown None 2007-04-12 15:16:50 +00:00
OBS User unknown
d2f4cf8113 Rev openSUSE:Factory/8 Md5 009bdd45791d5b96fcb301032e9947cd 2007-04-04 18:41:29 unknown None 2007-04-04 18:41:29 +00:00
OBS User unknown
cbd8fa687f Rev openSUSE:Factory/7 Md5 396f5e454fa0d4ec5a1873904d9e6bb7 2007-03-30 14:29:23 unknown None 2007-03-30 14:29:23 +00:00
OBS User unknown
06e962d350 Rev openSUSE:Factory/6 Md5 efb3e75c650de0b6c436f572e678fd60 2007-03-28 22:30:07 unknown None 2007-03-28 22:30:07 +00:00
OBS User unknown
01ddf24708 Rev openSUSE:Factory/5 Md5 2a089b75bdf1ca63cef0da1f149cac0a 2007-01-25 17:03:11 unknown None 2007-01-25 17:03:11 +00:00
OBS User unknown
3211e46a4f Rev openSUSE:Factory/4 Md5 88cdf7cb76fbf194359f33caa78082c1 2007-01-23 00:14:43 unknown None 2007-01-23 00:14:43 +00:00
OBS User unknown
62cf0729b9 Rev openSUSE:Factory/3 Md5 fec46b0c1fbf24eb9e37784f4d17a894 2007-01-21 22:46:18 unknown None 2007-01-21 22:46:18 +00:00
OBS User unknown
5713e686ae Rev openSUSE:Factory/2 Md5 71883748123ec73af885dbfda516cf2a 2006-12-19 14:30:06 unknown None 2006-12-19 14:30:06 +00:00
OBS User unknown
abdd9fb7f4 Rev openSUSE:Factory/1 Md5 47c2a5aeabba951b914047454fa99cf0 2006-12-18 23:15:45 unknown None 2006-12-18 23:15:45 +00:00
25 changed files with 3672 additions and 0 deletions

25
.gitattributes vendored Normal file
View File

@ -0,0 +1,25 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
e2fsprogs.keyring filter=lfs diff=lfs merge=lfs -text

2
.lfsconfig Normal file
View File

@ -0,0 +1,2 @@
[lfs]
url = http://gitea.opensuse.org:9999/gitlfs

11
README.SUSE Normal file
View File

@ -0,0 +1,11 @@
e2fsprogs-devel
---------------
Since the e2fsprogs libraries has been split out into own packages,
each having its own devel package
libext2fs-devel
libblkid-devel
libuuid-devel
libcom_err-devel
the e2fsprogs-devel package is deprecated and is provided for temporary
backwards compatibility only.

11
baselibs.conf Normal file
View File

@ -0,0 +1,11 @@
libext2fs2
libcom_err2
obsoletes "libcom_err-<targettype> <= <version>"
e2fsprogs
e2fsprogs-devel
libext2fs-devel
requires -libext2fs-<targettype>
requires "libext2fs2-<targettype> = <version>"
libcom_err-devel
requires -libcom_err-<targettype>
requires "libcom_err2-<targettype> = <version>"

View File

@ -0,0 +1,81 @@
From bdcd8e7bbc374e28fa699031ad2dd83ed4bc70b4 Mon Sep 17 00:00:00 2001
From: Jan Kara <jack@suse.cz>
Date: Mon, 23 Aug 2021 16:44:25 +0200
Subject: [PATCH 7/8] debugfs: Fix headers for quota commands
X-Developer-Signature: v=1; a=openpgp-sha256; l=4088; h=from:subject;
bh=DMtVDsyxwY63aIschGhsYoFtaRzgKdcoj+H6ag3wBwA=;
b=owEBbQGS/pANAwAIAZydqgc/ZEDZAcsmYgBhI8GmjMKrGf+RnVrgOxdjhO+t478ULkN2q+GNTt0j
Guy1xK+JATMEAAEIAB0WIQSrWdEr1p4yirVVKBycnaoHP2RA2QUCYSPBpgAKCRCcnaoHP2RA2QAlB/
9TcSu83oYIMfsnjdrDQJRJLdaWiCSP5A5IET00b2JGlqWkSjTLUhcJUHPWq5ZB9q2hLp8z4V4DoTBT
dsDPDPqSS6PmG5jdbjU29Gz/iOmUSnNl1IDCHhO/HJwg5DA+fbwpIC1tbNfw6XpvvqpTi6yYJ6B1LP
byj3D2PLrvqQDtoxc+V90n59U/irl9HqVh6BJOBlhyYvOdbAkvunt6LIsQZvuVmjcpL+TYhcI+S6Ey
fkyC3hebYfeKTg/ZQunW3bJkhso+XRQqUPGDTU393G3SFn5lywV2pMhhupdW7Rek0BjymcqDEqyhDS
VRa3oN+/KSiVWg1qy2JAM+ErlZu5fU
X-Developer-Key: i=jack@suse.cz; a=openpgp;
fpr=93C6099A142276A28BBE35D815BC833443038D8C
list_quota and get_quota commands have 'blocks' header while what they
actually show is a used space in bytes. Fix the header to state 'space'
instead.
Signed-off-by: Jan Kara <jack@suse.cz>
---
debugfs/quota.c | 4 ++--
tests/f_orphquot/expect | 4 ++--
tests/f_quota/expect.0 | 12 ++++++------
3 files changed, 10 insertions(+), 10 deletions(-)
Index: e2fsprogs-1.46.4/debugfs/quota.c
===================================================================
--- e2fsprogs-1.46.4.orig/debugfs/quota.c
+++ e2fsprogs-1.46.4/debugfs/quota.c
@@ -123,7 +123,7 @@ void do_list_quota(int argc, char *argv[
printf("%7s %2s %8s %8s %8s %8s %8s %8s\n",
quota_type[type], "id",
- "blocks", "quota", "limit", "inodes", "quota", "limit");
+ "space", "quota", "limit", "inodes", "quota", "limit");
qh = current_qctx->quota_file[type];
retval = qh->qh_ops->scan_dquots(qh, list_quota_callback, NULL);
if (retval) {
@@ -158,7 +158,7 @@ void do_get_quota(int argc, char *argv[]
printf("%7s %2s %8s %8s %8s %8s %8s %8s\n",
quota_type[type], "id",
- "blocks", "quota", "limit", "inodes", "quota", "limit");
+ "space", "quota", "limit", "inodes", "quota", "limit");
qh = current_qctx->quota_file[type];
Index: e2fsprogs-1.46.4/tests/f_quota/expect.0
===================================================================
--- e2fsprogs-1.46.4.orig/tests/f_quota/expect.0
+++ e2fsprogs-1.46.4/tests/f_quota/expect.0
@@ -1,21 +1,21 @@
debugfs: list_quota user
- user id blocks quota limit inodes quota limit
+ user id space quota limit inodes quota limit
0 13312 0 0 2 0 0
34 1024 0 0 1 0 0
100 2048 32 50 2 20 30
debugfs: list_quota group
- group id blocks quota limit inodes quota limit
+ group id space quota limit inodes quota limit
0 16384 0 0 5 0 0
debugfs: get_quota user 0
- user id blocks quota limit inodes quota limit
+ user id space quota limit inodes quota limit
0 13312 0 0 2 0 0
debugfs: get_quota user 100
- user id blocks quota limit inodes quota limit
+ user id space quota limit inodes quota limit
100 2048 32 50 2 20 30
debugfs: get_quota user 34
- user id blocks quota limit inodes quota limit
+ user id space quota limit inodes quota limit
34 1024 0 0 1 0 0
debugfs: get_quota group 0
- group id blocks quota limit inodes quota limit
+ group id space quota limit inodes quota limit
0 16384 0 0 5 0 0
debugfs:

View File

@ -0,0 +1,43 @@
From 1f3a91cf868ededb19b3b37caa3352f67e66a10a Mon Sep 17 00:00:00 2001
From: Jan Kara <jack@suse.cz>
Date: Mon, 23 Aug 2021 17:04:52 +0200
Subject: [PATCH 5/8] e2fsck: Do not trash user limits when processing orphan
list
X-Developer-Signature: v=1; a=openpgp-sha256; l=770; h=from:subject;
bh=qzGpt7+UOJv3hwzSLcLGr0hCRSh47K/myPGChyylU8U=;
b=owEBbQGS/pANAwAIAZydqgc/ZEDZAcsmYgBhI8GlX5hq3rRf6HziKT8bgW4lwXuVz7w+FuGOUcPK
Xw3NgfGJATMEAAEIAB0WIQSrWdEr1p4yirVVKBycnaoHP2RA2QUCYSPBpQAKCRCcnaoHP2RA2R2qCA
DhX7BXpS8G05CmyapN9NiAu63JaSVW4o084uvfnud8EdFUMXbOkwGndcOty1Uk09HXfvVkeaZVTmkv
pVfz8s4Vi/vjqCPOkxo7HiElNKlm/s/yCGP05ByfwhCqCXKKoaODsbMZJHz4bpUbfxo+qcBD1C0XuE
tYgIzL35Jo0rJA65NyBao65L1jTDw4EZGykaYszfZjPayimYg3z2wl0Kv6qT+niYmOw+6w43O6b+6L
vgIv8E0XTR0Pc0/JGhfydCSqYM+zoJXpcuURhap0hIo+j3x8FvRGu5ws5tM5Nw0dLmm/MqiDxfBSdA
VYBJ83ewrnLu//5q0Kljfxo6T3qN4W
X-Developer-Key: i=jack@suse.cz; a=openpgp;
fpr=93C6099A142276A28BBE35D815BC833443038D8C
When e2fsck was loading quotas to process orphan list, it was loading
only quota usage. However subsequent quota writeout has effectively
overwritten quota limits, loosing them forever. Make sure quota limits
are preserved over orphan replay.
Signed-off-by: Jan Kara <jack@suse.cz>
---
e2fsck/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/e2fsck/super.c b/e2fsck/super.c
index 75b7b8ffa9b6..4ffafb211e50 100644
--- a/e2fsck/super.c
+++ b/e2fsck/super.c
@@ -282,7 +282,7 @@ static errcode_t e2fsck_read_all_quotas(e2fsck_t ctx)
continue;
retval = quota_read_all_dquots(ctx->qctx, qf_ino, qtype,
- QREAD_USAGE);
+ QREAD_USAGE | QREAD_LIMITS);
if (retval)
break;
}
--
2.26.2

View File

@ -0,0 +1,12 @@
Index: lib/ext2fs/ext2fs.h
===================================================================
--- lib/ext2fs/ext2fs.h.orig
+++ lib/ext2fs/ext2fs.h
@@ -62,6 +62,7 @@ extern "C" {
#include <string.h>
#include <time.h>
#include <errno.h>
+#include <unistd.h>
#if EXT2_FLAT_INCLUDES
#include "e2_types.h"

View File

@ -0,0 +1,18 @@
Index: lib/ext2fs/mmp.c
===================================================================
--- lib/ext2fs/mmp.c.orig
+++ lib/ext2fs/mmp.c
@@ -27,6 +27,13 @@
#include "ext2fs/ext2_fs.h"
#include "ext2fs/ext2fs.h"
+#if _BSD_SOURCE || _XOPEN_SOURCE >= 500
+#include <netdb.h>
+#endif
+
+#include <string.h>
+#include <stdio.h>
+
#ifndef O_DIRECT
#define O_DIRECT 0
#endif

BIN
e2fsprogs-1.46.4.tar.sign Normal file

Binary file not shown.

3
e2fsprogs-1.46.4.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b11042533c1b1dcf17512f0da48e05b0c573dada1dd8b762864d10f4dc399713
size 7035200

2218
e2fsprogs.changes Normal file

File diff suppressed because it is too large Load Diff

3
e2fsprogs.keyring Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b833a31ef08dd4ac5e19894f031af612622e02560ec5165bd5f687f1487cbe01
size 465237

579
e2fsprogs.spec Normal file
View File

@ -0,0 +1,579 @@
#
# spec file for package e2fsprogs
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define build_mini 0
Name: e2fsprogs
%if 0%{?suse_version} >= 1010
# Hint for ZYPP
Supplements: filesystem(ext2) filesystem(ext3) filesystem(ext4)
%endif
%if 0%{?suse_version} >= 1210
%bcond_without systemd
%else
%bcond_with systemd
%endif
BuildRequires: libblkid-devel
BuildRequires: libuuid-devel
BuildRequires: pkg-config
BuildRequires: xz
%if ! %{build_mini}
%if 0%{?suse_version} > 1220
BuildRequires: makeinfo
%endif
# Define info macros if missing (for Fedora builds)
%if ! 0%{?suse_version}
%define install_info_prereq info
%define install_info sbin/install-info
%define install_info_delete sbin/install-info --delete
Requires(post): %install_info_prereq
Requires(preun): %install_info_prereq
%endif
%endif
# bug437293
%ifarch ppc64
Obsoletes: e2fsprogs-64bit
%endif
%if %{build_mini}
Conflicts: e2fsprogs
Conflicts: e2fsprogs-devel
Conflicts: libext2fs2
Conflicts: libext2fs-devel
Conflicts: libcom_err2
Conflicts: libcom_err-devel
%else
Conflicts: e2fsprogs-mini
Conflicts: e2fsprogs-mini-devel
Conflicts: libext2fs2-mini
Conflicts: libext2fs-mini-devel
Conflicts: libcom_err2-mini
Conflicts: libcom_err-mini-devel
%endif
#
Version: 1.46.4
Release: 0
Summary: Utilities for the Second Extended File System
License: GPL-2.0-only
Group: System/Filesystems
URL: http://e2fsprogs.sourceforge.net
# For regenerate_initrd_post macro
Requires(post): /usr/bin/mkdir /usr/bin/touch
Requires: libcom_err2 >= %{version}
Requires: libext2fs2 >= %{version}
Suggests: e2fsprogs-scrub
Source: http://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v%{version}/e2fsprogs-%{version}.tar.xz
Source2: README.SUSE
Source3: baselibs.conf
Source4: http://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v%{version}/e2fsprogs-%{version}.tar.sign
Source5: https://thunk.org/tytso/tytso-key.asc#/%{name}.keyring
#
# e2fsprogs patches
#
# libcom_err patches
Patch3: libcom_err-compile_et_permissions.patch
Patch4: e2fsprogs-1.42-implicit_fortify_decl.patch
Patch5: e2fsprogs-1.42-ext2fsh_implicit.patch
Patch6: harden_e2scrub@.service.patch
Patch7: harden_e2scrub_all.service.patch
Patch8: harden_e2scrub_fail@.service.patch
Patch9: harden_e2scrub_reap.service.patch
Patch10: libss-add-newer-libreadline.so.8-to-dlopen-path.patch
Patch11: quota-Add-support-to-version-0-quota-format.patch
Patch12: quota-Fold-quota_read_all_dquots-into-quota_update_l.patch
Patch13: quota-Rename-quota_update_limits-to-quota_read_all_d.patch
Patch14: tune2fs-Fix-conversion-of-quota-files.patch
Patch15: e2fsck-Do-not-trash-user-limits-when-processing-orph.patch
Patch16: debugfs-Fix-headers-for-quota-commands.patch
Patch17: quota-Drop-dead-code.patch
Patch18: libext2fs-add-sanity-check-to-extent-manipulation.patch
# Do not suppress make commands
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Utilities needed to create and maintain ext2 and ext3 file systems
under Linux. Included in this package are: chattr, lsattr, mke2fs,
mklost+found, tune2fs, e2fsck, resize2fs, and badblocks.
%package devel
Summary: Dummy development package
# bug437293
License: LGPL-2.0-only
Group: Development/Libraries/C and C++
%ifarch ppc64
Obsoletes: e2fsprogs-devel-64bit
%endif
#
Requires: libblkid-devel
Requires: libext2fs-devel = %version
Requires: libuuid-devel
%description devel
Dummy development package for backwards compatibility.
%if %{build_mini}
%package -n e2fsprogs-scrub-mini
%else
%package -n e2fsprogs-scrub
%endif
Summary: Ext2fs scrubbing scripts and service files
License: GPL-2.0-only
Group: System/Filesystems
%if %{with systemd}
BuildRequires: systemd-rpm-macros
%{?systemd_requires}
%endif
Requires: e2fsprogs
Requires: lvm2
Requires: postfix
Requires: util-linux
%description -n e2fsprogs-scrub
Scripts and systemd service files for background scrubbing of LVM volumes
with ext2, ext3, and ext4 filesystems.
%if %{build_mini}
%package -n libext2fs2-mini
%else
%package -n libext2fs2
%endif
Summary: Ext2fs library
License: LGPL-2.0-only
Group: System/Filesystems
%if %{build_mini}
%description -n libext2fs2-mini
%else
%description -n libext2fs2
%endif
The basic Ext2fs shared library.
%if %{build_mini}
%package -n libext2fs-mini-devel
%else
%package -n libext2fs-devel
%endif
Summary: Development files for libext2fs
License: LGPL-2.0-only
Group: Development/Libraries/C and C++
Requires: libcom_err-devel
Requires: libext2fs2 = %version
%if %{build_mini}
%description -n libext2fs-mini-devel
%else
%description -n libext2fs-devel
%endif
Development files for libext2fs.
%if ! %{build_mini}
%package -n libext2fs-devel-static
Summary: Development files for libext2fs
License: LGPL-2.0-only
Group: Development/Libraries/C and C++
Requires: libext2fs-devel = %{version}
Provides: libext2fs-devel:%{_libdir}/libe2p.a
Provides: libext2fs-devel:%{_libdir}/libext2fs.a
%description -n libext2fs-devel-static
Development files for libext2fs. Static libraries.
%endif
%if %{build_mini}
%package -n libcom_err2-mini
%else
%package -n libcom_err2
%endif
Summary: E2fsprogs error reporting library
# bug437293
License: MIT
Group: System/Filesystems
%ifarch ppc64
Obsoletes: libcom_err-64bit
Obsoletes: libcom_err2-64bit
%endif
#
Provides: libcom_err = %{version}
Obsoletes: libcom_err <= 1.40
%if %{build_mini}
%description -n libcom_err2-mini
%else
%description -n libcom_err2
%endif
com_err is an error message display library.
%if %{build_mini}
%package -n libcom_err-mini-devel
%else
%package -n libcom_err-devel
%endif
Summary: Development files for libcom_err
# bug437293
License: MIT
Group: Development/Libraries/C and C++
%ifarch ppc64
Obsoletes: libcom_err-devel-64bit
%endif
#
Requires: glibc-devel
Requires: libcom_err2 = %version
%if %{build_mini}
%description -n libcom_err-mini-devel
%else
%description -n libcom_err-devel
%endif
Development files for the com_err error message display library.
%if ! %{build_mini}
%package -n libcom_err-devel-static
Summary: Development files for libcom_err, static libraries
License: MIT
Group: Development/Libraries/C and C++
Requires: libcom_err-devel = %{version}
Provides: libcom_err-devel:%{_libdir}/libcom_err.a
Provides: libcom_err-devel:%{_libdir}/libss.a
# bug437293
%ifarch ppc64
Obsoletes: libcom_err-devel-64bit
%endif
#
%description -n libcom_err-devel-static
Development files for the com_err error message display library. Static libraries.
%endif
%prep
%setup -q -n e2fsprogs-%{version}
# libcom_err patches
%patch3 -p1
%patch4
%patch5
cp %{SOURCE2} .
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%patch18 -p1
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%configure \
--with-root-prefix='' \
--enable-elf-shlibs \
--disable-libblkid \
--disable-libuuid \
--disable-uuidd \
--disable-fsck \
--without-crond-dir \
--with-systemd-unit-dir=%{?_unitdir} \
CFLAGS="$RPM_OPT_FLAGS"
%if %{build_mini}
rm -rf doc
%endif
make %{?_smp_mflags} V=1
#Guarantee that tranlations match the source messages
make -C po update-po
%install
make install install-libs DESTDIR=$RPM_BUILD_ROOT ELF_INSTALL_DIR=/%{_libdir}
%{find_lang} e2fsprogs
rm $RPM_BUILD_ROOT%{_libdir}/e2initrd_helper
%if !0%{?usrmerged}
mkdir %{buildroot}/sbin
ln -s %{_sbindir}/badblocks %{buildroot}/sbin/badblocks
ln -s %{_sbindir}/debugfs %{buildroot}/sbin/debugfs
ln -s %{_sbindir}/dumpe2fs %{buildroot}/sbin/dumpe2fs
ln -s %{_sbindir}/e2undo %{buildroot}/sbin/e2undo
ln -s %{_sbindir}/e2fsck %{buildroot}/sbin/e2fsck
ln -s %{_sbindir}/e2label %{buildroot}/sbin/e2label
ln -s %{_sbindir}/e2mmpstatus %{buildroot}/sbin/e2mmpstatus
ln -s %{_sbindir}/fsck.ext2 %{buildroot}/sbin/fsck.ext2
ln -s %{_sbindir}/fsck.ext3 %{buildroot}/sbin/fsck.ext3
ln -s %{_sbindir}/fsck.ext4 %{buildroot}/sbin/fsck.ext4
ln -s %{_sbindir}/mke2fs %{buildroot}/sbin/mke2fs
ln -s %{_sbindir}/mkfs.ext2 %{buildroot}/sbin/mkfs.ext2
ln -s %{_sbindir}/mkfs.ext3 %{buildroot}/sbin/mkfs.ext3
ln -s %{_sbindir}/mkfs.ext4 %{buildroot}/sbin/mkfs.ext4
ln -s %{_sbindir}/resize2fs %{buildroot}/sbin/resize2fs
ln -s %{_sbindir}/tune2fs %{buildroot}/sbin/tune2fs
ln -s %{_sbindir}/e2image %{buildroot}/sbin/e2image
ln -s %{_sbindir}/logsave %{buildroot}/sbin/logsave
mkdir %{buildroot}/%{_lib}
pushd %{buildroot}/%{_libdir}
LIBNAMES=$(ls *.so.*)
popd
for libName in $LIBNAMES;
do ln -s %{_libdir}/$libName %{buildroot}/%{_lib};
done
%endif
%if %{with systemd}
%if %{build_mini}
%pre -n e2fsprogs-scrub-mini
%else
%pre -n e2fsprogs-scrub
%endif
%service_add_pre e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
%endif
%post
/sbin/ldconfig
%if ! %{build_mini}
%if 0%{?suse_version} <= 1530
%install_info --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz
%endif
%{?regenerate_initrd_post}
%endif
%if %{with systemd}
%if %{build_mini}
%post -n e2fsprogs-scrub-mini
%else
%post -n e2fsprogs-scrub
%endif
%service_add_post e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
%endif
%if %{with systemd}
%if %{build_mini}
%preun -n e2fsprogs-scrub-mini
%else
%preun
%if 0%{?suse_version} <= 1530
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz
%endif
%preun -n e2fsprogs-scrub
%endif
%service_del_preun e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
%endif
%postun
/sbin/ldconfig
%if ! %{build_mini}
%{?regenerate_initrd_post}
%endif
%if %{with systemd}
%if %{build_mini}
%postun -n e2fsprogs-scrub-mini
%else
%postun -n e2fsprogs-scrub
%endif
%service_del_postun e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
%endif
%if ! %{build_mini}
%posttrans
%{?regenerate_initrd_posttrans}
%endif
%if %{build_mini}
%post -n libext2fs2-mini -p /sbin/ldconfig
%else
%post -n libext2fs2 -p /sbin/ldconfig
%endif
%if %{build_mini}
%postun -n libext2fs2-mini -p /sbin/ldconfig
%else
%postun -n libext2fs2 -p /sbin/ldconfig
%endif
%if %{build_mini}
%post -n libcom_err2-mini -p /sbin/ldconfig
%else
%post -n libcom_err2 -p /sbin/ldconfig
%endif
%if %{build_mini}
%postun -n libcom_err2-mini -p /sbin/ldconfig
%else
%postun -n libcom_err2 -p /sbin/ldconfig
%endif
%files -f e2fsprogs.lang
%defattr(-, root, root)
%doc doc/RelNotes/v%{version}.txt README
%if 0%{?sle_version} > 120200
%license NOTICE
%endif
%config /etc/mke2fs.conf
%if !0%{?usrmerged}
/sbin/badblocks
/sbin/debugfs
/sbin/dumpe2fs
/sbin/e2undo
/sbin/e2fsck
/sbin/e2label
/sbin/e2mmpstatus
/sbin/fsck.ext2
/sbin/fsck.ext3
/sbin/fsck.ext4
/sbin/mke2fs
/sbin/mkfs.ext2
/sbin/mkfs.ext3
/sbin/mkfs.ext4
/sbin/resize2fs
/sbin/tune2fs
/sbin/e2image
/sbin/logsave
%endif
%{_sbindir}/badblocks
%{_sbindir}/debugfs
%{_sbindir}/dumpe2fs
%{_sbindir}/e2undo
%{_sbindir}/e2fsck
%{_sbindir}/e2label
%{_sbindir}/e2mmpstatus
%{_sbindir}/fsck.ext2
%{_sbindir}/fsck.ext3
%{_sbindir}/fsck.ext4
%{_sbindir}/mke2fs
%{_sbindir}/mkfs.ext2
%{_sbindir}/mkfs.ext3
%{_sbindir}/mkfs.ext4
%{_sbindir}/resize2fs
%{_sbindir}/tune2fs
%{_sbindir}/e2image
%{_sbindir}/logsave
%{_bindir}/chattr
%{_bindir}/lsattr
%{_sbindir}/mklost+found
%{_sbindir}/filefrag
%{_sbindir}/e2freefrag
%{_sbindir}/e4defrag
%{_sbindir}/e4crypt
%if ! %{build_mini}
%{_infodir}/libext2fs.info.gz
%endif
%{_mandir}/man1/chattr.1.gz
%{_mandir}/man1/lsattr.1.gz
%{_mandir}/man5/ext?.5.gz
%{_mandir}/man5/e2fsck.conf.5.gz
%{_mandir}/man5/mke2fs.conf.5.gz
%{_mandir}/man8/*.8.gz
%files devel
%defattr(-,root,root)
%doc README.SUSE
%if %{build_mini}
%files -n e2fsprogs-scrub-mini
%else
%files -n e2fsprogs-scrub
%endif
%defattr(-,root,root)
%config /etc/e2scrub.conf
%{_sbindir}/e2scrub
%{_sbindir}/e2scrub_all
%if %{with systemd}
%{_libdir}/e2fsprogs/
%{_libdir}/e2fsprogs/e2scrub_fail
%{_unitdir}/e2scrub@.service
%{_unitdir}/e2scrub_all.service
%{_unitdir}/e2scrub_all.timer
%{_unitdir}/e2scrub_fail@.service
%{_unitdir}/e2scrub_reap.service
%endif
%if %{build_mini}
%files -n libext2fs2-mini
%else
%files -n libext2fs2
%endif
%defattr(-, root, root)
%if !0%{?usrmerged}
/%{_lib}/libext2fs.so.*
/%{_lib}/libe2p.so.*
%endif
%{_libdir}/libext2fs.so.*
%{_libdir}/libe2p.so.*
%if %{build_mini}
%files -n libext2fs-mini-devel
%else
%files -n libext2fs-devel
%endif
%defattr(-, root, root)
%{_libdir}/libext2fs.so
%{_libdir}/libe2p.so
/usr/include/ext2fs
/usr/include/e2p
%_libdir/pkgconfig/e2p.pc
%_libdir/pkgconfig/ext2fs.pc
%if %{build_mini}
%files -n libcom_err2-mini
%else
%files -n libcom_err2
%endif
%defattr(-, root, root)
%if !0%{?usrmerged}
/%{_lib}/libcom_err.so.*
/%{_lib}/libss.so.*
%endif
%{_libdir}/libcom_err.so.*
%{_libdir}/libss.so.*
%if %{build_mini}
%files -n libcom_err-mini-devel
%else
%files -n libcom_err-devel
%endif
%defattr(-, root, root)
%_bindir/compile_et
%_bindir/mk_cmds
%{_libdir}/libcom_err.so
%{_libdir}/libss.so
%_libdir/pkgconfig/com_err.pc
%_libdir/pkgconfig/ss.pc
%_includedir/com_err.h
%_includedir/et
%_includedir/ss
%_datadir/et
%_datadir/ss
%{_mandir}/man1/compile_et.1.gz
%{_mandir}/man1/mk_cmds.1.gz
%{_mandir}/man3/com_err.3.gz
%if ! %{build_mini}
%files -n libcom_err-devel-static
%defattr(-, root, root)
%{_libdir}/libcom_err.a
%{_libdir}/libss.a
%files -n libext2fs-devel-static
%defattr(-, root, root)
%{_libdir}/libext2fs.a
%{_libdir}/libe2p.a
%endif
%changelog

View File

@ -0,0 +1,20 @@
Index: e2fsprogs-1.46.4/scrub/e2scrub@.service.in
===================================================================
--- e2fsprogs-1.46.4.orig/scrub/e2scrub@.service.in
+++ e2fsprogs-1.46.4/scrub/e2scrub@.service.in
@@ -10,6 +10,15 @@ PrivateNetwork=true
ProtectSystem=true
ProtectHome=read-only
PrivateTmp=yes
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO
NoNewPrivileges=yes
User=root

View File

@ -0,0 +1,23 @@
Index: e2fsprogs-1.46.3/scrub/e2scrub_all.service.in
===================================================================
--- e2fsprogs-1.46.3.orig/scrub/e2scrub_all.service.in
+++ e2fsprogs-1.46.3/scrub/e2scrub_all.service.in
@@ -6,6 +6,18 @@ ConditionCapability=CAP_SYS_RAWIO
Documentation=man:e2scrub_all(8)
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
Type=oneshot
Environment=SERVICE_MODE=1
ExecStart=@root_sbindir@/e2scrub_all

View File

@ -0,0 +1,23 @@
Index: e2fsprogs-1.46.3/scrub/e2scrub_fail@.service.in
===================================================================
--- e2fsprogs-1.46.3.orig/scrub/e2scrub_fail@.service.in
+++ e2fsprogs-1.46.3/scrub/e2scrub_fail@.service.in
@@ -3,6 +3,18 @@ Description=Online ext4 Metadata Check F
Documentation=man:e2scrub(8)
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
Type=oneshot
ExecStart=@pkglibdir@/e2scrub_fail "%I"
User=mail

View File

@ -0,0 +1,21 @@
Index: e2fsprogs-1.46.3/scrub/e2scrub_reap.service.in
===================================================================
--- e2fsprogs-1.46.3.orig/scrub/e2scrub_reap.service.in
+++ e2fsprogs-1.46.3/scrub/e2scrub_reap.service.in
@@ -11,6 +11,16 @@ PrivateNetwork=true
ProtectSystem=true
ProtectHome=read-only
PrivateTmp=yes
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO
NoNewPrivileges=yes
User=root

View File

@ -0,0 +1,13 @@
Index: e2fsprogs-1.42.13/lib/et/compile_et.sh.in
===================================================================
--- e2fsprogs-1.42.13.orig/lib/et/compile_et.sh.in
+++ e2fsprogs-1.42.13/lib/et/compile_et.sh.in
@@ -51,7 +51,7 @@ if test -f ${BASE}.h && cmp -s ${BASE}.h
rm -f ${BASE}.h.$$
else
mv -f ${BASE}.h.$$ ${BASE}.h
- chmod a-w ${BASE}.h
+# chmod a-w ${BASE}.h
fi
$AWK -f "${DIR}/et_c.awk" "outfile=${BASE}.c.$$" "outfn=${BASE}.c" "$ROOT.et"
if test -f ${BASE}.c && cmp -s ${BASE}.c.$$ ${BASE}.c ; then

View File

@ -0,0 +1,56 @@
From ab51d587bb9b229b1fade1afd02e1574c1ba5c76 Mon Sep 17 00:00:00 2001
From: Lukas Czerner <lczerner@redhat.com>
Date: Thu, 21 Apr 2022 19:31:48 +0200
Subject: [PATCH] libext2fs: add sanity check to extent manipulation
References: bsc#1198446 CVE-2022-1304
It is possible to have a corrupted extent tree in such a way that a leaf
node contains zero extents in it. Currently if that happens and we try
to traverse the tree we can end up accessing wrong data, or possibly
even uninitialized memory. Make sure we don't do that.
Additionally make sure that we have a sane number of bytes passed to
memmove() in ext2fs_extent_delete().
Note that e2fsck is currently unable to spot and fix such corruption in
pass1.
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reported-by: Nils Bars <nils_bars@t-online.de>
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=2068113
Addresses: CVE-2022-1304
Addresses-Debian-Bug: #1010263
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
---
lib/ext2fs/extent.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lib/ext2fs/extent.c b/lib/ext2fs/extent.c
index b324c7b0f8c8..1a206a16c13f 100644
--- a/lib/ext2fs/extent.c
+++ b/lib/ext2fs/extent.c
@@ -495,6 +495,10 @@ retry:
ext2fs_le16_to_cpu(eh->eh_entries);
newpath->max_entries = ext2fs_le16_to_cpu(eh->eh_max);
+ /* Make sure there is at least one extent present */
+ if (newpath->left <= 0)
+ return EXT2_ET_EXTENT_NO_DOWN;
+
if (path->left > 0) {
ix++;
newpath->end_blk = ext2fs_le32_to_cpu(ix->ei_block);
@@ -1630,6 +1634,10 @@ errcode_t ext2fs_extent_delete(ext2_extent_handle_t handle, int flags)
cp = path->curr;
+ /* Sanity check before memmove() */
+ if (path->left < 0)
+ return EXT2_ET_EXTENT_LEAF_BAD;
+
if (path->left) {
memmove(cp, cp + sizeof(struct ext3_extent_idx),
path->left * sizeof(struct ext3_extent_idx));
--
2.34.1

View File

@ -0,0 +1,29 @@
From 0a60ee129b9137a9a5cd49c4dd15247830a7f319 Mon Sep 17 00:00:00 2001
From: Jan Kara <jack@suse.cz>
Date: Fri, 20 Aug 2021 18:12:04 +0200
Subject: [PATCH] libss: add newer libreadline.so.8 to dlopen path
OpenSUSE Tumbleweed now has libreadline.so.8. Add it to the list of libs
to look for.
Signed-off-by: Jan Kara <jack@suse.cz>
---
lib/ss/get_readline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ss/get_readline.c b/lib/ss/get_readline.c
index 11c72b3387d1..aa1615747934 100644
--- a/lib/ss/get_readline.c
+++ b/lib/ss/get_readline.c
@@ -37,7 +37,7 @@ static void ss_release_readline(ss_data *info)
#endif
/* Libraries we will try to use for readline/editline functionality */
-#define DEFAULT_LIBPATH "libreadline.so.7:libreadline.so.6:libreadline.so.5:libreadline.so.4:libreadline.so:libedit.so.2:libedit.so:libeditline.so.0:libeditline.so"
+#define DEFAULT_LIBPATH "libreadline.so.8:libreadline.so.7:libreadline.so.6:libreadline.so.5:libreadline.so.4:libreadline.so:libedit.so.2:libedit.so:libeditline.so.0:libeditline.so"
#ifdef HAVE_DLOPEN
void ss_get_readline(int sci_idx)
--
2.26.2

View File

@ -0,0 +1,188 @@
From cb060896aac2207ea77479db2e2212ebe7955de9 Mon Sep 17 00:00:00 2001
From: Jan Kara <jack@suse.cz>
Date: Fri, 20 Aug 2021 21:18:32 +0200
Subject: [PATCH 1/8] quota: Add support to version 0 quota format
X-Developer-Signature: v=1; a=openpgp-sha256; l=6268; h=from:subject;
bh=UhE03jWwtF7/2Unh5tfHgBCzzdLaSNZ7G9C22vuq4H4=;
b=owEBbQGS/pANAwAIAZydqgc/ZEDZAcsmYgBhI8GhrizE8ehds+qrTxuX1OCIKL+zMflZgbZ3qOb5
4X5jnt+JATMEAAEIAB0WIQSrWdEr1p4yirVVKBycnaoHP2RA2QUCYSPBoQAKCRCcnaoHP2RA2dHMCA
CzR/VySs+XXZrCsUYOO3oUzFueRoSJnOAuAUONScP8h7x8fH7wclET0eU/ZGDTMFPrhSIAWjqqwfI8
zeFGmbi4GR5BRbsxWNCJnmjwtbxHfOiXsH8KLqT8DyLFl/Svw4yHi9URyIKk4rij2q9AqmA1DTc5M6
iMHejidF5w4SbKSmvVYpJi1Ny/TyWXUU9ATzZv01cwjBnMsTw+xq3MD55K9VVZJ9tIF3YZd0PahiT0
h/zKA7uQX6W3PKWVuTHkSzjUnsOhKMCX9MxMX6uGXzHBiUsqdCSijVQ6qwBmbwbbz5OZRBRdTfm+0X
6fJidGzi6Zcpp/jOs8RIOSu55qCTAb
X-Developer-Key: i=jack@suse.cz; a=openpgp;
fpr=93C6099A142276A28BBE35D815BC833443038D8C
Version 0 quota format differs from version 1 by having only 32-bit
counters for inodes and block limits. For many installations this is not
limiting and thus the format is widely used. Also quota tools still
create quota files with this format by default. Add support for this
quota format to e2fsprogs so that we can seamlessly convert quota files
in this format into our internal quota files.
Signed-off-by: Jan Kara <jack@suse.cz>
---
lib/support/quotaio_v2.c | 85 +++++++++++++++++++++++++++++++++++++---
lib/support/quotaio_v2.h | 17 +++++++-
2 files changed, 96 insertions(+), 6 deletions(-)
diff --git a/lib/support/quotaio_v2.c b/lib/support/quotaio_v2.c
index 23717f03f428..a49aa6ac8c2f 100644
--- a/lib/support/quotaio_v2.c
+++ b/lib/support/quotaio_v2.c
@@ -41,6 +41,68 @@ struct quotafile_ops quotafile_ops_2 = {
.report = v2_report,
};
+/*
+ * Copy dquot from disk to memory
+ */
+static void v2r0_disk2memdqblk(struct dquot *dquot, void *dp)
+{
+ struct util_dqblk *m = &dquot->dq_dqb;
+ struct v2r0_disk_dqblk *d = dp, empty;
+
+ dquot->dq_id = ext2fs_le32_to_cpu(d->dqb_id);
+ m->dqb_ihardlimit = ext2fs_le32_to_cpu(d->dqb_ihardlimit);
+ m->dqb_isoftlimit = ext2fs_le32_to_cpu(d->dqb_isoftlimit);
+ m->dqb_bhardlimit = ext2fs_le32_to_cpu(d->dqb_bhardlimit);
+ m->dqb_bsoftlimit = ext2fs_le32_to_cpu(d->dqb_bsoftlimit);
+ m->dqb_curinodes = ext2fs_le32_to_cpu(d->dqb_curinodes);
+ m->dqb_curspace = ext2fs_le64_to_cpu(d->dqb_curspace);
+ m->dqb_itime = ext2fs_le64_to_cpu(d->dqb_itime);
+ m->dqb_btime = ext2fs_le64_to_cpu(d->dqb_btime);
+
+ memset(&empty, 0, sizeof(struct v2r0_disk_dqblk));
+ empty.dqb_itime = ext2fs_cpu_to_le64(1);
+ if (!memcmp(&empty, dp, sizeof(struct v2r0_disk_dqblk)))
+ m->dqb_itime = 0;
+}
+
+/*
+ * Copy dquot from memory to disk
+ */
+static void v2r0_mem2diskdqblk(void *dp, struct dquot *dquot)
+{
+ struct util_dqblk *m = &dquot->dq_dqb;
+ struct v2r0_disk_dqblk *d = dp;
+
+ d->dqb_ihardlimit = ext2fs_cpu_to_le32(m->dqb_ihardlimit);
+ d->dqb_isoftlimit = ext2fs_cpu_to_le32(m->dqb_isoftlimit);
+ d->dqb_bhardlimit = ext2fs_cpu_to_le32(m->dqb_bhardlimit);
+ d->dqb_bsoftlimit = ext2fs_cpu_to_le32(m->dqb_bsoftlimit);
+ d->dqb_curinodes = ext2fs_cpu_to_le32(m->dqb_curinodes);
+ d->dqb_curspace = ext2fs_cpu_to_le64(m->dqb_curspace);
+ d->dqb_itime = ext2fs_cpu_to_le64(m->dqb_itime);
+ d->dqb_btime = ext2fs_cpu_to_le64(m->dqb_btime);
+ d->dqb_id = ext2fs_cpu_to_le32(dquot->dq_id);
+ if (qtree_entry_unused(&dquot->dq_h->qh_info.u.v2_mdqi.dqi_qtree, dp))
+ d->dqb_itime = ext2fs_cpu_to_le64(1);
+}
+
+static int v2r0_is_id(void *dp, struct dquot *dquot)
+{
+ struct v2r0_disk_dqblk *d = dp;
+ struct qtree_mem_dqinfo *info =
+ &dquot->dq_h->qh_info.u.v2_mdqi.dqi_qtree;
+
+ if (qtree_entry_unused(info, dp))
+ return 0;
+ return ext2fs_le32_to_cpu(d->dqb_id) == dquot->dq_id;
+}
+
+static struct qtree_fmt_operations v2r0_fmt_ops = {
+ .mem2disk_dqblk = v2r0_mem2diskdqblk,
+ .disk2mem_dqblk = v2r0_disk2memdqblk,
+ .is_id = v2r0_is_id,
+};
+
/*
* Copy dquot from disk to memory
*/
@@ -164,7 +226,8 @@ static int v2_check_file(struct quota_handle *h, int type, int fmt)
log_err("Your quota file is stored in wrong endianity");
return 0;
}
- if (V2_VERSION != ext2fs_le32_to_cpu(dqh.dqh_version))
+ if (V2_VERSION_R0 != ext2fs_le32_to_cpu(dqh.dqh_version) &&
+ V2_VERSION_R1 != ext2fs_le32_to_cpu(dqh.dqh_version))
return 0;
return 1;
}
@@ -174,13 +237,25 @@ static int v2_check_file(struct quota_handle *h, int type, int fmt)
*/
static int v2_init_io(struct quota_handle *h)
{
+ struct v2_disk_dqheader dqh;
struct v2_disk_dqinfo ddqinfo;
struct v2_mem_dqinfo *info;
__u64 filesize;
+ int version;
- h->qh_info.u.v2_mdqi.dqi_qtree.dqi_entry_size =
- sizeof(struct v2r1_disk_dqblk);
- h->qh_info.u.v2_mdqi.dqi_qtree.dqi_ops = &v2r1_fmt_ops;
+ if (!v2_read_header(h, &dqh))
+ return -1;
+ version = ext2fs_le32_to_cpu(dqh.dqh_version);
+
+ if (version == V2_VERSION_R0) {
+ h->qh_info.u.v2_mdqi.dqi_qtree.dqi_entry_size =
+ sizeof(struct v2r0_disk_dqblk);
+ h->qh_info.u.v2_mdqi.dqi_qtree.dqi_ops = &v2r0_fmt_ops;
+ } else {
+ h->qh_info.u.v2_mdqi.dqi_qtree.dqi_entry_size =
+ sizeof(struct v2r1_disk_dqblk);
+ h->qh_info.u.v2_mdqi.dqi_qtree.dqi_ops = &v2r1_fmt_ops;
+ }
/* Read information about quotafile */
if (h->e2fs_read(&h->qh_qf, V2_DQINFOOFF, &ddqinfo,
@@ -231,7 +306,7 @@ static int v2_new_io(struct quota_handle *h)
/* Write basic quota header */
ddqheader.dqh_magic = ext2fs_cpu_to_le32(file_magics[h->qh_type]);
- ddqheader.dqh_version = ext2fs_cpu_to_le32(V2_VERSION);
+ ddqheader.dqh_version = ext2fs_cpu_to_le32(V2_VERSION_R1);
if (h->e2fs_write(&h->qh_qf, 0, &ddqheader, sizeof(ddqheader)) !=
sizeof(ddqheader))
return -1;
diff --git a/lib/support/quotaio_v2.h b/lib/support/quotaio_v2.h
index de2db2785cb0..35054cafaa23 100644
--- a/lib/support/quotaio_v2.h
+++ b/lib/support/quotaio_v2.h
@@ -13,7 +13,8 @@
/* Offset of info header in file */
#define V2_DQINFOOFF sizeof(struct v2_disk_dqheader)
/* Supported version of quota-tree format */
-#define V2_VERSION 1
+#define V2_VERSION_R1 1
+#define V2_VERSION_R0 0
struct v2_disk_dqheader {
__le32 dqh_magic; /* Magic number identifying file */
@@ -36,6 +37,20 @@ struct v2_disk_dqinfo {
* free entry */
} __attribute__ ((packed));
+struct v2r0_disk_dqblk {
+ __le32 dqb_id; /* id this quota applies to */
+ __le32 dqb_ihardlimit; /* absolute limit on allocated inodes */
+ __le32 dqb_isoftlimit; /* preferred inode limit */
+ __le32 dqb_curinodes; /* current # allocated inodes */
+ __le32 dqb_bhardlimit; /* absolute limit on disk space
+ * (in QUOTABLOCK_SIZE) */
+ __le32 dqb_bsoftlimit; /* preferred limit on disk space
+ * (in QUOTABLOCK_SIZE) */
+ __le64 dqb_curspace; /* current space occupied (in bytes) */
+ __le64 dqb_btime; /* time limit for excessive disk use */
+ __le64 dqb_itime; /* time limit for excessive inode use */
+} __attribute__ ((packed));
+
struct v2r1_disk_dqblk {
__le32 dqb_id; /* id this quota applies to */
__le32 dqb_pad;
--
2.26.2

View File

@ -0,0 +1,57 @@
From 32d9f7b1e48f203315890b4d7374f4afd68ce7bb Mon Sep 17 00:00:00 2001
From: Jan Kara <jack@suse.cz>
Date: Mon, 23 Aug 2021 17:09:41 +0200
Subject: [PATCH 8/8] quota: Drop dead code
X-Developer-Signature: v=1; a=openpgp-sha256; l=1119; h=from:subject;
bh=61dKtjVKi3diCfHpa1/d4uDj1elmJCEY1fKv83UzzKA=;
b=owEBbQGS/pANAwAIAZydqgc/ZEDZAcsmYgBhI8GnVlsRAgEc7AzGwJddaA7LDt33ZX+Yj9rady7y
42St04GJATMEAAEIAB0WIQSrWdEr1p4yirVVKBycnaoHP2RA2QUCYSPBpwAKCRCcnaoHP2RA2aBMCA
COK2Z3O7gobEnW9GHL1bd1MlJOqsYxPxnOp3rFCkB4Kb6V770XUoCCnyeD7NwNxooWZSNOB7JCuyGQ
Yl945dec75Yv8zw49bulfVe496hHFX4O4UzAgZKG0vZYAjHpwaEk9Txf3MLpSHxSFlvbH8LE4sT7yD
M4wEEznUZokwwRoj+ds12+Rm+P1Sj/AhghUTaPFpuA5RjplBAg728b9f6Ia2JMsNzxoBRksVdOONjU
2gtjwbR7Ne2GlN722u71YHItAL0sBAVPIHZQznZEKAZFwEnOHSRWlvwLItLdMfpoMcYXjDJIWz+mXx
QbpFU9jSQfiJBn+wba2yVZKohLP403
X-Developer-Key: i=jack@suse.cz; a=openpgp;
fpr=93C6099A142276A28BBE35D815BC833443038D8C
Drop unused function from quota support code.
Signed-off-by: Jan Kara <jack@suse.cz>
---
lib/support/mkquota.c | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/lib/support/mkquota.c b/lib/support/mkquota.c
index 0fefca90c843..a4401b7f77af 100644
--- a/lib/support/mkquota.c
+++ b/lib/support/mkquota.c
@@ -564,26 +564,6 @@ static int scan_dquots_callback(struct dquot *dquot, void *cb_data)
return 0;
}
-/*
- * Write all memory dquots into quota file
- */
-#if 0 /* currently unused, but may be useful in the future? */
-static errcode_t quota_write_all_dquots(struct quota_handle *qh,
- quota_ctx_t qctx)
-{
- errcode_t err;
-
- err = ext2fs_read_bitmaps(qctx->fs);
- if (err)
- return err;
- write_dquots(qctx->quota_dict[qh->qh_type], qh);
- ext2fs_mark_bb_dirty(qctx->fs);
- qctx->fs->flags &= ~EXT2_FLAG_SUPER_ONLY;
- ext2fs_write_bitmaps(qctx->fs);
- return 0;
-}
-#endif
-
/*
* Read quotas from disk and updates the in-memory information determined by
* 'flags' from the on-disk data.
--
2.26.2

View File

@ -0,0 +1,77 @@
From cbc02e7ef11d5129d090ff49aa1aa57c6ac67fd5 Mon Sep 17 00:00:00 2001
From: Jan Kara <jack@suse.cz>
Date: Mon, 23 Aug 2021 16:20:52 +0200
Subject: [PATCH 2/8] quota: Fold quota_read_all_dquots() into
quota_update_limits()
X-Developer-Signature: v=1; a=openpgp-sha256; l=1845; h=from:subject;
bh=P7jQb3ZXNuPWs0M0khNUm88nO2ChkOKzT3PGfFt2YNE=;
b=owEBbQGS/pANAwAIAZydqgc/ZEDZAcsmYgBhI8GihdgOLrTUGvgyKLo/9lHgsSXNpuX+TjVHdW+m
661Y0fGJATMEAAEIAB0WIQSrWdEr1p4yirVVKBycnaoHP2RA2QUCYSPBogAKCRCcnaoHP2RA2aEPB/
9zdPkcMlJKxGzpEO0BmaBNu0c3VbFZR72otTj64Pm1AWxyU9PL288d+VnPov7WSeduPBKtXxmevxAw
tR0TYFt4ui8Gr7HLMoTvP7EJ3YX/KZ2mnXnz9JJ5DB2fG07VBbKmcfPKzsxYTUd0Xe5RJU0PYPI62W
j8W17jQelcHCNhAJk6oJFP7hPE+dsGUzGthbeQhWrb5zmboB/Ui55mfM1mLaloebpJkg1eqEZzX1jE
6T9iEfBSgv5WowKIfJInnXkI+l4UED+Ri1pjuFgBtpWjJEP8ixpFhlo0ULZxfK/OX9sFWQU+Z+opoM
Qi0W7Fbb7hR7YZP84xnIbF1FUgHa+l
X-Developer-Key: i=jack@suse.cz; a=openpgp;
fpr=93C6099A142276A28BBE35D815BC833443038D8C
There's just one caller of quota_read_all_dquots(), fold it into its
caller quota_update_limits(). No functional changes.
Signed-off-by: Jan Kara <jack@suse.cz>
---
lib/support/mkquota.c | 24 ++++++------------------
1 file changed, 6 insertions(+), 18 deletions(-)
diff --git a/lib/support/mkquota.c b/lib/support/mkquota.c
index fbc3833aee98..8e5c61a601cc 100644
--- a/lib/support/mkquota.c
+++ b/lib/support/mkquota.c
@@ -564,23 +564,6 @@ static int scan_dquots_callback(struct dquot *dquot, void *cb_data)
return 0;
}
-/*
- * Read all dquots from quota file into memory
- */
-static errcode_t quota_read_all_dquots(struct quota_handle *qh,
- quota_ctx_t qctx,
- int update_limits EXT2FS_ATTR((unused)))
-{
- struct scan_dquots_data scan_data;
-
- scan_data.quota_dict = qctx->quota_dict[qh->qh_type];
- scan_data.check_consistency = 0;
- scan_data.update_limits = 0;
- scan_data.update_usage = 1;
-
- return qh->qh_ops->scan_dquots(qh, scan_dquots_callback, &scan_data);
-}
-
/*
* Write all memory dquots into quota file
*/
@@ -607,6 +590,7 @@ static errcode_t quota_write_all_dquots(struct quota_handle *qh,
errcode_t quota_update_limits(quota_ctx_t qctx, ext2_ino_t qf_ino,
enum quota_type qtype)
{
+ struct scan_dquots_data scan_data;
struct quota_handle *qh;
errcode_t err;
@@ -625,7 +609,11 @@ errcode_t quota_update_limits(quota_ctx_t qctx, ext2_ino_t qf_ino,
goto out;
}
- quota_read_all_dquots(qh, qctx, 1);
+ scan_data.quota_dict = qctx->quota_dict[qh->qh_type];
+ scan_data.check_consistency = 0;
+ scan_data.update_limits = 0;
+ scan_data.update_usage = 1;
+ qh->qh_ops->scan_dquots(qh, scan_dquots_callback, &scan_data);
err = quota_file_close(qctx, qh);
if (err) {
--
2.26.2

View File

@ -0,0 +1,112 @@
From f2a7403c6e232aa8dba92d56178d81ba8285fa65 Mon Sep 17 00:00:00 2001
From: Jan Kara <jack@suse.cz>
Date: Mon, 23 Aug 2021 16:32:13 +0200
Subject: [PATCH 3/8] quota: Rename quota_update_limits() to
quota_read_all_dquots()
X-Developer-Signature: v=1; a=openpgp-sha256; l=3796; h=from:subject;
bh=EWzfurjfbAs2HTtmIoM8glu+EY0nvkRwYkafyLH0vAw=;
b=owEBbQGS/pANAwAIAZydqgc/ZEDZAcsmYgBhI8GjQ7OLyPGH5e21pa5vzRbAJrBUX2fqN9Cishyr
zRhheaOJATMEAAEIAB0WIQSrWdEr1p4yirVVKBycnaoHP2RA2QUCYSPBowAKCRCcnaoHP2RA2fqAB/
99OFSOi1posHQs9IivQagLwUAxytNoe9VWRoUqypcx5DFtbSItNlcyRCRxmouxUdpTyWR3BoYfDz97
/R2KsPNu9XU6oA2NiC7WcmNdSJ0ay+sRuXy2EF5FxCvXjB4xN7pUu7QEEjcQXOYOwIsdEDQru+eajq
NK05uq6j0Zb/zelJ9VkTA0iKkiCkKGNYZlCUkn3x+E8wTb4RCbywnAynC6RXFlmt+EnaxxHoGCsJGv
TLIe+yhPDECdjW39RZWYV87fRRGDRiVnuDFR0uj0QRFY1unELcy+Z72lySrH9X3SZl9VB72WKvofFb
Ar8ofkj4dd4g8RTr9WRC+h9b1kwnNk
X-Developer-Key: i=jack@suse.cz; a=openpgp;
fpr=93C6099A142276A28BBE35D815BC833443038D8C
quota_update_limits() is a misnomer because what it actually does is
that it updates 'usage' counters and leaves 'limit' counters intact.
Rename quota_update_limits() to quota_read_all_dquots() and while
changing prototype also add a flags argument so that callers can control
which quota information is actually updated from the disk.
Signed-off-by: Jan Kara <jack@suse.cz>
---
e2fsck/super.c | 3 ++-
lib/support/mkquota.c | 11 ++++++-----
lib/support/quotaio.h | 7 +++++--
misc/tune2fs.c | 5 +++--
4 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/e2fsck/super.c b/e2fsck/super.c
index e1c3f93572f4..75b7b8ffa9b6 100644
--- a/e2fsck/super.c
+++ b/e2fsck/super.c
@@ -281,7 +281,8 @@ static errcode_t e2fsck_read_all_quotas(e2fsck_t ctx)
if (qf_ino == 0)
continue;
- retval = quota_update_limits(ctx->qctx, qf_ino, qtype);
+ retval = quota_read_all_dquots(ctx->qctx, qf_ino, qtype,
+ QREAD_USAGE);
if (retval)
break;
}
diff --git a/lib/support/mkquota.c b/lib/support/mkquota.c
index 8e5c61a601cc..0fefca90c843 100644
--- a/lib/support/mkquota.c
+++ b/lib/support/mkquota.c
@@ -585,10 +585,11 @@ static errcode_t quota_write_all_dquots(struct quota_handle *qh,
#endif
/*
- * Updates the in-memory quota limits from the given quota inode.
+ * Read quotas from disk and updates the in-memory information determined by
+ * 'flags' from the on-disk data.
*/
-errcode_t quota_update_limits(quota_ctx_t qctx, ext2_ino_t qf_ino,
- enum quota_type qtype)
+errcode_t quota_read_all_dquots(quota_ctx_t qctx, ext2_ino_t qf_ino,
+ enum quota_type qtype, unsigned int flags)
{
struct scan_dquots_data scan_data;
struct quota_handle *qh;
@@ -611,8 +612,8 @@ errcode_t quota_update_limits(quota_ctx_t qctx, ext2_ino_t qf_ino,
scan_data.quota_dict = qctx->quota_dict[qh->qh_type];
scan_data.check_consistency = 0;
- scan_data.update_limits = 0;
- scan_data.update_usage = 1;
+ scan_data.update_limits = !!(flags & QREAD_LIMITS);
+ scan_data.update_usage = !!(flags & QREAD_USAGE);
qh->qh_ops->scan_dquots(qh, scan_dquots_callback, &scan_data);
err = quota_file_close(qctx, qh);
diff --git a/lib/support/quotaio.h b/lib/support/quotaio.h
index 6068970009f5..84fac35dda20 100644
--- a/lib/support/quotaio.h
+++ b/lib/support/quotaio.h
@@ -224,8 +224,11 @@ void quota_data_add(quota_ctx_t qctx, struct ext2_inode_large *inode,
void quota_data_sub(quota_ctx_t qctx, struct ext2_inode_large *inode,
ext2_ino_t ino, qsize_t space);
errcode_t quota_write_inode(quota_ctx_t qctx, enum quota_type qtype);
-errcode_t quota_update_limits(quota_ctx_t qctx, ext2_ino_t qf_ino,
- enum quota_type type);
+/* Flags for quota_read_all_dquots() */
+#define QREAD_USAGE 0x01
+#define QREAD_LIMITS 0x02
+errcode_t quota_read_all_dquots(quota_ctx_t qctx, ext2_ino_t qf_ino,
+ enum quota_type type, unsigned int flags);
errcode_t quota_compute_usage(quota_ctx_t qctx);
void quota_release_context(quota_ctx_t *qctx);
errcode_t quota_remove_inode(ext2_filsys fs, enum quota_type qtype);
diff --git a/misc/tune2fs.c b/misc/tune2fs.c
index f739f16cd62b..bb08f8026918 100644
--- a/misc/tune2fs.c
+++ b/misc/tune2fs.c
@@ -1671,8 +1671,9 @@ static int handle_quota_options(ext2_filsys fs)
if (quota_enable[qtype] == QOPT_ENABLE &&
*quota_sb_inump(fs->super, qtype) == 0) {
if ((qf_ino = quota_file_exists(fs, qtype)) > 0) {
- retval = quota_update_limits(qctx, qf_ino,
- qtype);
+ retval = quota_read_all_dquots(qctx, qf_ino,
+ qtype,
+ QREAD_USAGE);
if (retval) {
com_err(program_name, retval,
_("while updating quota limits (%d)"),
--
2.26.2

View File

@ -0,0 +1,47 @@
From 5d446b4969ee6cb4025f576158be562c87d57142 Mon Sep 17 00:00:00 2001
From: Jan Kara <jack@suse.cz>
Date: Fri, 20 Aug 2021 21:35:34 +0200
Subject: [PATCH 4/8] tune2fs: Fix conversion of quota files
X-Developer-Signature: v=1; a=openpgp-sha256; l=1210; h=from:subject;
bh=Lx1UJPZNLgsKBmmbN+0GUP40hOyhJD5D9kEVqqVigg4=;
b=owEBbQGS/pANAwAIAZydqgc/ZEDZAcsmYgBhI8GkUaN9eZsgn0XvL7BSjbTu57jpbJHkTGpEei61
KG+q9pGJATMEAAEIAB0WIQSrWdEr1p4yirVVKBycnaoHP2RA2QUCYSPBpAAKCRCcnaoHP2RA2Z7NB/
4osbGPQGrmAwHVUJEqkXAxOBazQE/W3qiykm9uUmzeBGC++5nQzo1J05nb479mQY84Lu8j1Mhbloh8
vtdLdJ0HVHxHQrY058HIXBQfAYlLV0pN6/qRNCVelyjdqQVTjri8oD+TVCjsu4aaTu9ZLZCYM41w5s
gweKqj260PJ93IL025nGha6ZL2BsenQy/tKRG7/I9O/c6YUAFKSvXDJ0M/L4XtgMTKxzROSiKDmy8h
gEw2Gc9oCZLISL2ulhLJ6ppxQ7jcbvoTuZmdFxhbQIfs8gQnmxlGcQLWs5fDMIKfux5qBwQGnYIC1u
jZOGndUvcOaDO3Zexb1ik8pxnpIi+F
X-Developer-Key: i=jack@suse.cz; a=openpgp;
fpr=93C6099A142276A28BBE35D815BC833443038D8C
When tune2fs is enabling quota feature, it looks for old-style quota
files and tries to transfer limits stored in these files into newly
created hidded quota files. However the code doing the transfer setups
the quota scan wrongly and instead of transferring limits we transfer
usage. So not only quota limits are lost (at least they can still be
recovered from the old quota files) but also usage information may be
wrong if the accounting in e2fsprogs does not exactly match the
accounting in quota-tools (which is actually the case). Fix the setup of
the quota scan.
Signed-off-by: Jan Kara <jack@suse.cz>
---
misc/tune2fs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc/tune2fs.c b/misc/tune2fs.c
index bb08f8026918..0f6ef3d6df6b 100644
--- a/misc/tune2fs.c
+++ b/misc/tune2fs.c
@@ -1673,7 +1673,7 @@ static int handle_quota_options(ext2_filsys fs)
if ((qf_ino = quota_file_exists(fs, qtype)) > 0) {
retval = quota_read_all_dquots(qctx, qf_ino,
qtype,
- QREAD_USAGE);
+ QREAD_LIMITS);
if (retval) {
com_err(program_name, retval,
_("while updating quota limits (%d)"),
--
2.26.2