Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #69908 > unrolled thread

Bug#985689: Needs CONFIG_UNICODE to mount ext4 fs with case-insensitivity feature

Started byMihai Moldovan <ionic@ionic.de>
First post2021-03-22 09:00 +0100
Last post2021-08-10 09:10 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#985689: Needs CONFIG_UNICODE to mount ext4 fs with case-insensitivity feature Mihai Moldovan <ionic@ionic.de> - 2021-03-22 09:00 +0100
    Bug#985689: Needs CONFIG_UNICODE to mount ext4 fs with case-insensitivity feature Bastian Blank <waldi@debian.org> - 2021-03-22 09:50 +0100
      Bug#985689: Needs CONFIG_UNICODE to mount ext4 fs with case-insensitivity feature Mihai Moldovan <ionic@ionic.de> - 2021-03-22 10:20 +0100
    Processed: Re: Bug#985689: Needs CONFIG_UNICODE to mount ext4 fs  with case-insensitivity feature "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-03-22 09:50 +0100
    Bug#985689: marked as done (Needs CONFIG_UNICODE to mount ext4 fs  with case-insensitivity feature) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-08-10 09:10 +0200

#69908 — Bug#985689: Needs CONFIG_UNICODE to mount ext4 fs with case-insensitivity feature

FromMihai Moldovan <ionic@ionic.de>
Date2021-03-22 09:00 +0100
SubjectBug#985689: Needs CONFIG_UNICODE to mount ext4 fs with case-insensitivity feature
Message-ID<BVnDH-f6-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: linux
Version: 5.10.19-1

Dear maintainers


Currently, mounting an EXT4-formatted volume with the case-insensitivity feature
is impossible since CONFIG_UNICODE is not enabled in the kernel configuration.

Please consider enabling it.

I'm leaving the severity at default, since the missing feature isn't just
convenience, but actually has negative implications when mounting file systems.

If that is any argument, Ubuntu 21.04 enables the feature, too.

My best guess is that the chance of regressions is very low.



Best regards



Mihai Moldovan

[toc] | [next] | [standalone]


#69909

FromBastian Blank <waldi@debian.org>
Date2021-03-22 09:50 +0100
Message-ID<BVoq5-Ln-1@gated-at.bofh.it>
In reply to#69908
Control: tags -1 moreinfo

On Mon, Mar 22, 2021 at 08:40:34AM +0100, Mihai Moldovan wrote:
> Currently, mounting an EXT4-formatted volume with the case-insensitivity feature
> is impossible since CONFIG_UNICODE is not enabled in the kernel configuration.

Why would anyone want to do that?

> My best guess is that the chance of regressions is very low.

In recent history it's just CVE-2021-21300.

Bastian

-- 
No one wants war.
		-- Kirk, "Errand of Mercy", stardate 3201.7

[toc] | [prev] | [next] | [standalone]


#69911

FromMihai Moldovan <ionic@ionic.de>
Date2021-03-22 10:20 +0100
Message-ID<BVoT8-1aA-3@gated-at.bofh.it>
In reply to#69909

[Multipart message — attachments visible in raw view] — view raw

* On 3/22/21 9:40 AM, Bastian Blank wrote:
> Control: tags -1 moreinfo
> 
> On Mon, Mar 22, 2021 at 08:40:34AM +0100, Mihai Moldovan wrote:
>> Currently, mounting an EXT4-formatted volume with the case-insensitivity feature
>> is impossible since CONFIG_UNICODE is not enabled in the kernel configuration.
> 
> Why would anyone want to do that?

That point is debatable. I'd like to enable it in case I'd ever need it and it's
pretty safe to do so. Even if the feature is enabled in ext4, it won't actually
be used unless explicitly enabled on a per-directory basis. It won't just make
the whole file system case-insensitive, but can be useful in niche situations
like improved wine compatibility.

In any case, I fear that the better argument (since others seem to lead to a
holy war/gut feeling route) is that e2fsprogs can create such a file system (-O
casefold), so it would be illogical to have a kernel which is not being able to
mount such a volume.


>> My best guess is that the chance of regressions is very low.
> 
> In recent history it's just CVE-2021-21300.

Which was a bug in git, not the kernel side of things, as far as I can see.

The issue is that, currently, you can create such a file system and even if the
feature is not actually used (since no directory within the volume enables
case-insensitivity), the stock Debian kernel won't be able mount it.

File systems like FAT aren't just disabled in the kernel configuration just
because they happen to be case-insensitive by design.



Mihai

[toc] | [prev] | [next] | [standalone]


#69910 — Processed: Re: Bug#985689: Needs CONFIG_UNICODE to mount ext4 fs with case-insensitivity feature

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2021-03-22 09:50 +0100
SubjectProcessed: Re: Bug#985689: Needs CONFIG_UNICODE to mount ext4 fs with case-insensitivity feature
Message-ID<BVoq6-Ln-5@gated-at.bofh.it>
In reply to#69908
Processing control commands:

> tags -1 moreinfo
Bug #985689 [linux] Needs CONFIG_UNICODE to mount ext4 fs with case-insensitivity feature
Added tag(s) moreinfo.

-- 
985689: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985689
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#72601 — Bug#985689: marked as done (Needs CONFIG_UNICODE to mount ext4 fs with case-insensitivity feature)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2021-08-10 09:10 +0200
SubjectBug#985689: marked as done (Needs CONFIG_UNICODE to mount ext4 fs with case-insensitivity feature)
Message-ID<CKu3F-1xH-25@gated-at.bofh.it>
In reply to#69908

[Multipart message — attachments visible in raw view] — view raw

Your message dated Tue, 10 Aug 2021 07:00:09 +0000
with message-id <E1mDLk9-000Fri-G6@fasolo.debian.org>
and subject line Bug#985689: fixed in linux 5.13.9-1~exp1
has caused the Debian Bug report #985689,
regarding Needs CONFIG_UNICODE to mount ext4 fs with case-insensitivity feature
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
985689: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985689
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web