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


Groups > linux.debian.kernel > #87069

Bug#637089: linux-2.6: tmpfs doesn't allow reserving blocks to the super user

From Aurelien Jarno <aurel32@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#637089: linux-2.6: tmpfs doesn't allow reserving blocks to the super user
Date 2025-04-25 22:10 +0200
Message-ID <KFxwZ-gdN2-1@gated-at.bofh.it> (permalink)
References <hnxUm-2tN-1@gated-at.bofh.it> <KFmLf-g6Gv-11@gated-at.bofh.it> <hnxUm-2tN-1@gated-at.bofh.it> <KFmLf-g6Gv-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi Salvatore,

On 2025-04-25 10:37, Salvatore Bonaccorso wrote:
> Control: tags -1 + moreinfo
> 
> Hi Aurelien,
> 
> On Mon, Aug 08, 2011 at 03:10:22PM +0200, Aurelien Jarno wrote:
> > Package: linux-2.6
> > Severity: wishlist
> > 
> > More and more people are using a tmpfs filesystem for /tmp, and it is
> > even something supported by the init scripts we ship. Contrary to most 
> > other filesystems, there is no space reserved to the superuser. Given 
> > any user can write to /tmp, and thus fully fill it. This breaks plenty
> > of things like upgrade of packages using debconf, so tmpfs should
> > definitely support having some blocks reserved to the super user.
> 
> I think this one should be closed on Debian end, if there is still
> desire to have such support implemented (we do not have) it might need
> to be brought to upstream.

This bug has been filled in response to #636694. While the problem has 
been fixed by stopping TMPDIR usage in the locales-all postinst, there 
is still a need for some space available in /tmp for upgrading or 
installing packages with debconf templates. On one side the problem is 
more likely to happen because tmpfs on /tmp is now the default in 
trixie. On the other hand systems have more RAM, so bigger /tmp, so the 
problem is less likely to happen.

> Do you agree on closure?

Yes, let's close it for now, we can always reopen it if it poses a 
real issue when more users upgrade to trixie.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net

Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#637089: linux-2.6: tmpfs doesn't allow reserving blocks to the super user Salvatore Bonaccorso <carnil@debian.org> - 2025-04-25 10:40 +0200
  Bug#637089: linux-2.6: tmpfs doesn't allow reserving blocks to the super user Aurelien Jarno <aurel32@debian.org> - 2025-04-25 22:10 +0200

csiph-web