Debian Bug report logs - #669726
release-notes: Please document tmpfs filesystem changes for wheezy

Package: release-notes; Maintainer for release-notes is Debian Documentation Team <debian-doc@lists.debian.org>;

Reported by: Roger Leigh <rleigh@debian.org>

Date: Sat, 21 Apr 2012 12:39:19 UTC

Severity: normal

Tags: help, patch, wheezy

Done: "Adam D. Barratt" <adam@adam-barratt.org.uk>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Sat, 21 Apr 2012 12:39:22 GMT) Full text and rfc822 format available.

Acknowledgement sent to Roger Leigh <rleigh@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Sat, 21 Apr 2012 12:39:25 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Roger Leigh <rleigh@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Sat, 21 Apr 2012 13:17:14 +0100
Package: release-notes
Severity: normal
Tags: patch

Proposed text:

Changes to the configuration and defaults of tmpfs filesystems

In previous releases, tmpfs filesystems were mounted on /lib/init/rw,
/dev/shm and optionally on /var/lock and /var/run.  /lib/init/rw has
been removed, and the others have been moved under /run.  /var/run and
/var/lock were configured using RAMRUN and RAMLOCK in
/etc/default/rcS.  All tmpfs filesystems are now configurable using
/etc/default/tmpfs; the old settings are not migrated automatically.

                            Old setting       New setting
Old location  New location  /etc/default/rcS  /etc/default/tmpfs
/lib/init/rw  /run          N/A               N/A
/var/run      /run          RAMRUN            N/A
/var/lock     /run/lock     RAMLOCK           RAMLOCK
/dev/shm      /run/shm      N/A               RAMSHM
N/A           /tmp          N/A               RAMTMP

The migration of data to the new locations will occur automatically
during the upgrade and will continue to be available at the old and
new locations, with the exception of /lib/init/rw.  No action is
required on your part, though you may wish to customise which tmpfs
filesystems are mounted, and their size limits, in /etc/default/tmpfs
after the upgrade is complete.  Please see the tmpfs(5) manual page
for further details.

If you have written any custom scripts which make use of /lib/init/rw,
these must be updated to use /run instead.

/tmp is now a tmpfs by default.  While this should not affect your use
of the system in any noticeable way, please note that
- the contents of /tmp are not preserved across reboots;
- /var/tmp exists for this purpose
- the maximum size of /tmp may (depending upon your specific system)
  be smaller than before.  If you find that there is insufficient
  free space, it is possible to increase the size limits; see
  tmpfs(5).
- applications which create excessively large files in /tmp may cause
  /tmp to run out of free space.  Such applications should not be
  using /tmp, and require fixing.  Please consider filing a bug report
  against the application in question if you experience such an
  occurrence.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (550, 'unstable'), (500, 'testing'), (400, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Sat, 21 Apr 2012 14:18:14 GMT) Full text and rfc822 format available.

Acknowledgement sent to Osamu Aoki <osamu@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Sat, 21 Apr 2012 14:18:17 GMT) Full text and rfc822 format available.

Message #10 received at 669726@bugs.debian.org (full text, mbox):

From: Osamu Aoki <osamu@debian.org>
To: Roger Leigh <rleigh@debian.org>, 669726@bugs.debian.org
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Sat, 21 Apr 2012 23:14:27 +0900
Hi,

On Sat, Apr 21, 2012 at 01:17:14PM +0100, Roger Leigh wrote:
> Package: release-notes
> Severity: normal
> Tags: patch
> - the maximum size of /tmp may (depending upon your specific system)
>   be smaller than before.  If you find that there is insufficient
>   free space, it is possible to increase the size limits; see
>   tmpfs(5).

On my current sid system, I do not have tmpfs(5).  Is this something you
will be offering as a part of some package which is normally on system.

(I have fstab(5) but that is not much useful for learning how to set
fstab to change tmpfs size.  fstab(5) combined with mount(8) gives me
better insight but it is not clear enough for common user.)

What people needs to know here are:
 * You can set tmpfs sise via /etc/fstab as described in fstab(5) and mount(8)
 * tmpfs size can exceed available physical DRAM size as long as there
   are enough swap space on disk (including SSD).

> - applications which create excessively large files in /tmp may cause
>   /tmp to run out of free space.  Such applications should not be
>   using /tmp, and require fixing.  Please consider filing a bug report
>   against the application in question if you experience such an
>   occurrence.

Isn't it better to indicate what is the best practice for fix?
 * making program to honor $TMPDIR while admin set it via libpam-tmpdir
 * use /var/tmp hoping it has enough space.

(Please note I have no opinion on above ... if there are better solution
for the problem, plese describe it.)

Osamu




Added tag(s) wheezy. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Mon, 07 May 2012 21:00:11 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Tue, 24 Jul 2012 19:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Tue, 24 Jul 2012 19:12:03 GMT) Full text and rfc822 format available.

Message #17 received at 669726@bugs.debian.org (full text, mbox):

From: Julien Cristau <jcristau@debian.org>
To: Roger Leigh <rleigh@debian.org>, 669726@bugs.debian.org
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Tue, 24 Jul 2012 21:09:35 +0200
[Message part 1 (text/plain, inline)]
On Sat, Apr 21, 2012 at 13:17:14 +0100, Roger Leigh wrote:

> Package: release-notes
> Severity: normal
> Tags: patch
> 
> Proposed text:
> 
> Changes to the configuration and defaults of tmpfs filesystems
> 
> In previous releases, tmpfs filesystems were mounted on /lib/init/rw,
> /dev/shm and optionally on /var/lock and /var/run.  /lib/init/rw has
> been removed, and the others have been moved under /run.  /var/run and
> /var/lock were configured using RAMRUN and RAMLOCK in
> /etc/default/rcS.  All tmpfs filesystems are now configurable using
> /etc/default/tmpfs; the old settings are not migrated automatically.
> 
>                             Old setting       New setting
> Old location  New location  /etc/default/rcS  /etc/default/tmpfs
> /lib/init/rw  /run          N/A               N/A
> /var/run      /run          RAMRUN            N/A
> /var/lock     /run/lock     RAMLOCK           RAMLOCK
> /dev/shm      /run/shm      N/A               RAMSHM
> N/A           /tmp          N/A               RAMTMP
> 
> The migration of data to the new locations will occur automatically
> during the upgrade and will continue to be available at the old and
> new locations, with the exception of /lib/init/rw.  No action is
> required on your part, though you may wish to customise which tmpfs
> filesystems are mounted, and their size limits, in /etc/default/tmpfs
> after the upgrade is complete.  Please see the tmpfs(5) manual page
> for further details.
> 
> If you have written any custom scripts which make use of /lib/init/rw,
> these must be updated to use /run instead.
> 
> /tmp is now a tmpfs by default.  While this should not affect your use
> of the system in any noticeable way, please note that
> - the contents of /tmp are not preserved across reboots;
> - /var/tmp exists for this purpose
> - the maximum size of /tmp may (depending upon your specific system)
>   be smaller than before.  If you find that there is insufficient
>   free space, it is possible to increase the size limits; see
>   tmpfs(5).
> - applications which create excessively large files in /tmp may cause
>   /tmp to run out of free space.  Such applications should not be
>   using /tmp, and require fixing.  Please consider filing a bug report
>   against the application in question if you experience such an
>   occurrence.
> 
Hi Roger,

can you please provide updated text for the latest changes in
sysvinit/initscripts?  There should probably also be some note about the
mandatory parallel boot changes, would you mind filing a separate bug
for that part?

Thanks,
Julien
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Thu, 24 Jan 2013 02:36:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joost van Baal-Ilić <joostvb-debian-20130124-4@mdcc.cx>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Thu, 24 Jan 2013 02:36:03 GMT) Full text and rfc822 format available.

Message #22 received at 669726@bugs.debian.org (full text, mbox):

From: Joost van Baal-Ilić <joostvb-debian-20130124-4@mdcc.cx>
To: control@bugs.debian.org
Cc: 669726@bugs.debian.org
Subject: Bug #669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Thu, 24 Jan 2013 03:32:27 +0100
tags 669726 +help
thanks

updated patch needed



Added tag(s) help. Request was from Joost van Baal-Ilić <joostvb-debian-20130124-4@mdcc.cx> to control@bugs.debian.org. (Thu, 24 Jan 2013 02:36:05 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Sun, 24 Mar 2013 14:42:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Charles Plessy <plessy@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Sun, 24 Mar 2013 14:42:04 GMT) Full text and rfc822 format available.

Message #29 received at 669726@bugs.debian.org (full text, mbox):

From: Charles Plessy <plessy@debian.org>
To: Roger Leigh <rleigh@debian.org>, 669726@bugs.debian.org, Osamu Aoki <osamu@debian.org>, Julien Cristau <jcristau@debian.org>, Joost van Baal-IliÄ? <joostvb-debian-20130124-4@mdcc.cx>
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Sun, 24 Mar 2013 23:38:25 +0900
[Message part 1 (text/plain, inline)]
Le Tue, Jul 24, 2012 at 09:09:35PM +0200, Julien Cristau a écrit :
> 
> Hi Roger,
> 
> can you please provide updated text for the latest changes in
> sysvinit/initscripts?  There should probably also be some note about the
> mandatory parallel boot changes, would you mind filing a separate bug
> for that part?

Hello everybody,

for the tmpfs part, how about the following ?  I attached the corresponding
DocBook patch.  I updated the text to mention that /tmp is not tmpfs by
default, and mentionned /etc/fstab as suggested by Aoki-san.


2.2.6. Temporary filesystems

    In previous releases, temporary (tmpfs) filesystems were mounted
    on /lib/init/rw, /dev/shm/ and optionally on /var/lock and /var/
    run. /lib/init/rw has been removed, and the others have been
    moved under /run. /var/run and /var/lock were configured using
    RAMRUN and RAMLOCK in /etc/default/rcS. All tmpfs filesystems are
    now configurable using /etc/default/tmpfs; the old settings are
    not migrated automatically.

    +-----------------------------------------------------------+
    |Old location|New location|  Old setting   |  New setting   |
    |------------+------------+----------------+----------------|
    |            |            |/etc/default/rcS|/etc/default/rcS|
    |------------+------------+----------------+----------------|
    |/lib/init/rw|/run        |N/A             |N/A             |
    |------------+------------+----------------+----------------|
    |/var/run    |/run        |RAMRUN          |N/A             |
    |------------+------------+----------------+----------------|
    |/var/lock   |/run/lock   |RAMLOCK         |RAMLOCK         |
    |------------+------------+----------------+----------------|
    |/dev/shm    |/run/shm    |N/A             |RAMSHM          |
    |------------+------------+----------------+----------------|
    |N/A         |/tmp        |N/A             |RAMTMP          |
    +-----------------------------------------------------------+

    The migration of data to the new locations will occur
    automatically during the upgrade and will continue to be
    available at the old and new locations, with the exception of lib
    /init/rw. No action is required on your part, though you may wish
    to customise which tmpfs filesystems are mounted, and their size
    limits, in /etc/default/tmpfs after the upgrade is complete.
    Please see the tmpfs(5) manual page for further details.

    If you have written any custom scripts which make use of /lib/
    init/rw, these must be updated to use /run instead.

    /tmp is not a tmpfs by default. If you chose to use this feature,
    please note that:

      * the contents of /tmp are not preserved across reboots;

      * /var/tmp exists for this purpose;

      * the maximum size of /tmp may (depending upon your specific
        system) be smaller than before. If you find that there is
        insufficient free space, it is possible to increase the size
        limits; see tmpfs(5).

      * Applications which create excessively large files in /tmp may
        cause /tmp to run out of free space. Such applications should not
        be using /tmp, and require fixing. Please consider filing a bug
        report against the application in question if you experience such
        an occurrence.

      * If desired, the defaults may also be overridden with an entry in
        in /etc/fstab, for example:

        tmpfs     /tmp tmpfs     nodev,nosuid,size=20%,mode=1777    0    0

Cheers,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan
[release-notes-tmpfs.patch (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Tue, 26 Mar 2013 16:51:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Osamu Aoki <osamu@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Tue, 26 Mar 2013 16:51:04 GMT) Full text and rfc822 format available.

Message #34 received at 669726@bugs.debian.org (full text, mbox):

From: Osamu Aoki <osamu@debian.org>
To: Charles Plessy <plessy@debian.org>
Cc: Roger Leigh <rleigh@debian.org>, 669726@bugs.debian.org, Julien Cristau <jcristau@debian.org>, Joost van Baal-IliÄ? <joostvb-debian-20130124-4@mdcc.cx>
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Wed, 27 Mar 2013 01:45:35 +0900
Hi,

On Sun, Mar 24, 2013 at 11:38:25PM +0900, Charles Plessy wrote:
> Le Tue, Jul 24, 2012 at 09:09:35PM +0200, Julien Cristau a écrit :
> > 
> > Hi Roger,
> > 
> > can you please provide updated text for the latest changes in
> > sysvinit/initscripts?  There should probably also be some note about the
> > mandatory parallel boot changes, would you mind filing a separate bug
> > for that part?

For the record, the missing tmpfs(5) manpage problem I reported does not
exist any longer.

> for the tmpfs part, how about the following ?  I attached the corresponding
> DocBook patch.  I updated the text to mention that /tmp is not tmpfs by
> default, and mentionned /etc/fstab as suggested by Aoki-san.
> 
> 
> 2.2.6. Temporary filesystems
...snip
>       * Applications which create excessively large files in /tmp may
>         cause /tmp to run out of free space. Such applications should not
>         be using /tmp, and require fixing. Please consider filing a bug
>         report against the application in question if you experience such
>         an occurrence.
I think above text does not account my comment:
* making program to honor $TMPDIR while admin set it via libpam-tmpdir 

This should be more like:

>       * Applications which create excessively large temporary files
>         always only in /tmp while not honoring $TMPDIR may
>         cause /tmp to run out of free space. Such applications should not
>         force to use /tmp, and require fixing. Please consider filing a bug
>         report against the application in question if you experience such
>         an occurrence.

The following sounds good:
>       * If desired, the defaults may also be overridden with an entry in
>         in /etc/fstab, for example:
> 
>         tmpfs     /tmp tmpfs     nodev,nosuid,size=20%,mode=1777    0    0



Osamu



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Tue, 26 Mar 2013 22:57:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Charles Plessy <plessy@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Tue, 26 Mar 2013 22:57:04 GMT) Full text and rfc822 format available.

Message #39 received at 669726@bugs.debian.org (full text, mbox):

From: Charles Plessy <plessy@debian.org>
To: Osamu Aoki <osamu@debian.org>
Cc: Charles Plessy <plessy@debian.org>, Roger Leigh <rleigh@debian.org>, 669726@bugs.debian.org, Julien Cristau <jcristau@debian.org>, Joost van Baal-IliÄ? <joostvb-debian-20130124-4@mdcc.cx>
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Wed, 27 Mar 2013 07:54:13 +0900
Le Wed, Mar 27, 2013 at 01:45:35AM +0900, Osamu Aoki a écrit :
> > 
> > 2.2.6. Temporary filesystems
> ...snip
> >       * Applications which create excessively large files in /tmp may
> >         cause /tmp to run out of free space. Such applications should not
> >         be using /tmp, and require fixing. Please consider filing a bug
> >         report against the application in question if you experience such
> >         an occurrence.
> I think above text does not account my comment:
> * making program to honor $TMPDIR while admin set it via libpam-tmpdir 
> 
> This should be more like:
> 
> >       * Applications which create excessively large temporary files
> >         always only in /tmp while not honoring $TMPDIR may
> >         cause /tmp to run out of free space. Such applications should not
> >         force to use /tmp, and require fixing. Please consider filing a bug
> >         report against the application in question if you experience such
> >         an occurrence.

Thanks, I will adjust the patch.

Are there other comments before I do so ?

Cheers,

--
Charles



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Sat, 30 Mar 2013 03:00:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Charles Plessy <plessy@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Sat, 30 Mar 2013 03:00:10 GMT) Full text and rfc822 format available.

Message #44 received at 669726@bugs.debian.org (full text, mbox):

From: Charles Plessy <plessy@debian.org>
To: Osamu Aoki <osamu@debian.org>, Roger Leigh <rleigh@debian.org>, 669726@bugs.debian.org, Julien Cristau <jcristau@debian.org>, Joost van Baal-IliÄ? <joostvb-debian-20130124-4@mdcc.cx>
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Sat, 30 Mar 2013 11:50:11 +0900
[Message part 1 (text/plain, inline)]
Le Wed, Mar 27, 2013 at 07:54:13AM +0900, Charles Plessy a écrit :
> Le Wed, Mar 27, 2013 at 01:45:35AM +0900, Osamu Aoki a écrit :
> > > 
> > > 2.2.6. Temporary filesystems
> > ...snip
> > >       * Applications which create excessively large files in /tmp may
> > >         cause /tmp to run out of free space. Such applications should not
> > >         be using /tmp, and require fixing. Please consider filing a bug
> > >         report against the application in question if you experience such
> > >         an occurrence.
> > I think above text does not account my comment:
> > * making program to honor $TMPDIR while admin set it via libpam-tmpdir 
> > 
> > This should be more like:
> > 
> > >       * Applications which create excessively large temporary files
> > >         always only in /tmp while not honoring $TMPDIR may
> > >         cause /tmp to run out of free space. Such applications should not
> > >         force to use /tmp, and require fixing. Please consider filing a bug
> > >         report against the application in question if you experience such
> > >         an occurrence.
> 
> Thanks, I will adjust the patch.

I attached an updated patch were I changed the paragraph above and also
corrected a typo where /etc/default/tmpfs was substituted by /etc/default/rcS
in the summary table.

For libpam-tmpdir, I am not able to write something by myself.  There is no
on-line documentation, and from I read in the README, I do not understand why
one would like to have /tmp on /tmpfs and then globally set TMPDIR to point to
another directory so that /tmp is not used.

Please let me know if I can help further.

Cheers,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan
[release-notes-tmpfs.patch (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Sat, 30 Mar 2013 17:03:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Osamu Aoki <osamu@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Sat, 30 Mar 2013 17:03:07 GMT) Full text and rfc822 format available.

Message #49 received at 669726@bugs.debian.org (full text, mbox):

From: Osamu Aoki <osamu@debian.org>
To: Charles Plessy <plessy@debian.org>
Cc: Roger Leigh <rleigh@debian.org>, 669726@bugs.debian.org, Julien Cristau <jcristau@debian.org>, Joost van Baal-IliÄ? <joostvb-debian-20130124-4@mdcc.cx>
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Sun, 31 Mar 2013 02:00:09 +0900
Hi,

On Sat, Mar 30, 2013 at 11:50:11AM +0900, Charles Plessy wrote:
> Le Wed, Mar 27, 2013 at 07:54:13AM +0900, Charles Plessy a écrit :
> > Le Wed, Mar 27, 2013 at 01:45:35AM +0900, Osamu Aoki a écrit :
> > > > 
> > > > 2.2.6. Temporary filesystems
...snip
> > > This should be more like:
> > > 
> > > >       * Applications which create excessively large temporary files
> > > >         always only in /tmp while not honoring $TMPDIR may
> > > >         cause /tmp to run out of free space. Such applications should not
> > > >         force to use /tmp, and require fixing. Please consider filing a bug
> > > >         report against the application in question if you experience such
> > > >         an occurrence.
> > 
> > Thanks, I will adjust the patch.
> 
> I attached an updated patch were I changed the paragraph above and also
> corrected a typo where /etc/default/tmpfs was substituted by /etc/default/rcS
> in the summary table.
> 
> For libpam-tmpdir, I am not able to write something by myself.  There is no
> on-line documentation, and from I read in the README, I do not understand why
> one would like to have /tmp on /tmpfs and then globally set TMPDIR to point to
> another directory so that /tmp is not used.

In short, now think it is better not to mention libpam-tmpdir.  That is
why I did not mention it now.  So your patch seems good for me.

Osamu
PS: My rationale to mention $TMPDIR was to avoid excessive bug reports
on presumably existing DVD-burner programs which write huge data on /tmp
but they honor redirection of data via $TMPDIR.  At least this $TMPDIR
offers a simple work around hook functionality for such programs.  

The environment variable $TMPDIR can be set via several methods.  I
thought libpam-tmpdir is just one of them.  Now that I rethink, it may
not be the best solution since it may interfere too much as you
mentioned.




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Sun, 31 Mar 2013 17:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Roger Leigh <rleigh@codelibre.net>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Sun, 31 Mar 2013 17:30:04 GMT) Full text and rfc822 format available.

Message #54 received at 669726@bugs.debian.org (full text, mbox):

From: Roger Leigh <rleigh@codelibre.net>
To: Charles Plessy <plessy@debian.org>
Cc: Osamu Aoki <osamu@debian.org>, Roger Leigh <rleigh@debian.org>, 669726@bugs.debian.org, Julien Cristau <jcristau@debian.org>, Joost van Baal-IliÄ? <joostvb-debian-20130124-4@mdcc.cx>
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Sun, 31 Mar 2013 18:28:08 +0100
[Message part 1 (text/plain, inline)]
On Sat, Mar 30, 2013 at 11:50:11AM +0900, Charles Plessy wrote:
> I attached an updated patch were I changed the paragraph above and also
> corrected a typo where /etc/default/tmpfs was substituted by /etc/default/rcS
> in the summary table.
> 
> For libpam-tmpdir, I am not able to write something by myself.  There is no
> on-line documentation, and from I read in the README, I do not understand why
> one would like to have /tmp on /tmpfs and then globally set TMPDIR to point to
> another directory so that /tmp is not used.
> 
> Please let me know if I can help further.

Charles, many thanks for doing this.  Apologies for not doing this
myself; it slipped under the radar and got missed.  This all looks
great.

Two minor suggested corrections:

  with the exception of <filename class='directory'>lib/init/rw</filename>.

should be

  with the exception of <filename class='directory'>/lib/init/rw</filename>.
                                                    ^
and

  <filename class='directory'>/var/tmp</filename> exists for this purpose;

really belongs to the previous bullet point.  Maybe just use a semicolon:

         the contents of <filename class='directory'>/tmp</filename> are not
         preserved across reboots;
         <filename class='directory'>/var/tmp</filename> exists for this
         purpose.


Kind regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Sun, 31 Mar 2013 23:42:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Charles Plessy <plessy@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Sun, 31 Mar 2013 23:42:04 GMT) Full text and rfc822 format available.

Message #59 received at 669726@bugs.debian.org (full text, mbox):

From: Charles Plessy <plessy@debian.org>
To: 669726@bugs.debian.org
Cc: Charles Plessy <plessy@debian.org>, Osamu Aoki <osamu@debian.org>, Roger Leigh <rleigh@debian.org>, Julien Cristau <jcristau@debian.org>, Joost van Baal-IliÄ? <joostvb-debian-20130124-4@mdcc.cx>
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Mon, 1 Apr 2013 08:38:30 +0900
[Message part 1 (text/plain, inline)]
Le Sun, Mar 31, 2013 at 06:28:08PM +0100, Roger Leigh a écrit :
> 
> Two minor suggested corrections:
> 
>   with the exception of <filename class='directory'>lib/init/rw</filename>.
> 
> should be
> 
>   with the exception of <filename class='directory'>/lib/init/rw</filename>.
>                                                     ^
> and
> 
>   <filename class='directory'>/var/tmp</filename> exists for this purpose;
> 
> really belongs to the previous bullet point.  Maybe just use a semicolon:

Hi Roger,

thanks for the feedback.  I attached a patch implementing your corrections.

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan
[release-notes-tmpfs-669726.patch (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Fri, 05 Apr 2013 12:51:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Fri, 05 Apr 2013 12:51:04 GMT) Full text and rfc822 format available.

Message #64 received at 669726@bugs.debian.org (full text, mbox):

From: Julien Cristau <jcristau@debian.org>
To: Charles Plessy <plessy@debian.org>, 669726@bugs.debian.org
Cc: Osamu Aoki <osamu@debian.org>, Roger Leigh <rleigh@debian.org>, Joost van Baal-IliÄ? <joostvb-debian-20130124-4@mdcc.cx>
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Fri, 5 Apr 2013 14:48:44 +0200
[Message part 1 (text/plain, inline)]
On Mon, Apr  1, 2013 at 08:38:30 +0900, Charles Plessy wrote:

> +          Applications which create excessively large temporary files always
> +          only in <filename class='directory'>/tmp</filename> while not
> +          honoring <literal>TMPDIR</literal> may cause
> +          <filename class='directory'>/tmp</filename> to run out of free space.
> +          Such applications should not force to use
> +          <filename class='directory'>/tmp</filename>, and require fixing.
> +          Please consider filing a bug report against the application in
> +          question if you experience such an occurrence.

Two comments:
- I don't think the last two sentences are particularly helpful in the
  RN, so I'd drop them
- I'm confused by the bit about TMPDIR, since we don't say anything
  about setting that variable anywhere, so even if an app obeys TMPDIR
  if it's set, it'll still fill up /tmp by default.

Cheers,
Julien
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Sun, 07 Apr 2013 06:06:09 GMT) Full text and rfc822 format available.

Message #67 received at 669726@bugs.debian.org (full text, mbox):

From: Andrei POPESCU <andreimpopescu@gmail.com>
To: Julien Cristau <jcristau@debian.org>, 669726@bugs.debian.org
Cc: Charles Plessy <plessy@debian.org>, Osamu Aoki <osamu@debian.org>, Roger Leigh <rleigh@debian.org>, Joost van Baal-IliÄ? <joostvb-debian-20130124-4@mdcc.cx>
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Sun, 7 Apr 2013 09:04:16 +0300
[Message part 1 (text/plain, inline)]
On Vi, 05 apr 13, 14:48:44, Julien Cristau wrote:
> On Mon, Apr  1, 2013 at 08:38:30 +0900, Charles Plessy wrote:
> 
> > +          Applications which create excessively large temporary files always
> > +          only in <filename class='directory'>/tmp</filename> while not
> > +          honoring <literal>TMPDIR</literal> may cause
> > +          <filename class='directory'>/tmp</filename> to run out of free space.
> > +          Such applications should not force to use
> > +          <filename class='directory'>/tmp</filename>, and require fixing.
> > +          Please consider filing a bug report against the application in
> > +          question if you experience such an occurrence.
> 
> Two comments:
> - I don't think the last two sentences are particularly helpful in the
>   RN, so I'd drop them
> - I'm confused by the bit about TMPDIR, since we don't say anything
>   about setting that variable anywhere, so even if an app obeys TMPDIR
>   if it's set, it'll still fill up /tmp by default.

I'd reword it slightly:

Applications which create excessively large temporary files may cause 
/tmp to run out of free space. It should possible to configure a 
different location for those files by setting the TMPDIR environment 
variable. Applications that don't honour TMPDIR and don't have any other 
means to configure the destination of temporary files require fixing. 
Please consider filing a bug report against the application in question 
if you experience such an occurrence.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Mon, 15 Apr 2013 23:33:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Charles Plessy <plessy@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Mon, 15 Apr 2013 23:33:04 GMT) Full text and rfc822 format available.

Message #72 received at 669726@bugs.debian.org (full text, mbox):

From: Charles Plessy <plessy@debian.org>
To: Andrei POPESCU <andreimpopescu@gmail.com>
Cc: Julien Cristau <jcristau@debian.org>, 669726@bugs.debian.org, Osamu Aoki <osamu@debian.org>, Roger Leigh <rleigh@debian.org>, Joost van Baal-IliÄ? <joostvb-debian-20130124-4@mdcc.cx>
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Tue, 16 Apr 2013 08:32:04 +0900
[Message part 1 (text/plain, inline)]
Le Sun, Apr 07, 2013 at 09:04:16AM +0300, Andrei POPESCU a écrit :
> On Vi, 05 apr 13, 14:48:44, Julien Cristau wrote:
> > 
> > Two comments:
> > - I don't think the last two sentences are particularly helpful in the
> >   RN, so I'd drop them
> > - I'm confused by the bit about TMPDIR, since we don't say anything
> >   about setting that variable anywhere, so even if an app obeys TMPDIR
> >   if it's set, it'll still fill up /tmp by default.
> 
> I'd reword it slightly:
> 
> Applications which create excessively large temporary files may cause 
> /tmp to run out of free space. It should possible to configure a 
> different location for those files by setting the TMPDIR environment 
> variable. Applications that don't honour TMPDIR and don't have any other 
> means to configure the destination of temporary files require fixing. 
> Please consider filing a bug report against the application in question 
> if you experience such an occurrence.

Hi all,

Here is an updated patch following the above suggestion.

If the last two sentences are problematic, I think that the patch is
trivial to be edited, that is: if you decide to remove them, please
ping me if you want me to refresh the patch.

Cheers,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan
[release-notes-tmpfs.patch (text/x-diff, attachment)]

Reply sent to "Adam D. Barratt" <adam@adam-barratt.org.uk>:
You have taken responsibility. (Wed, 24 Apr 2013 19:51:05 GMT) Full text and rfc822 format available.

Notification sent to Roger Leigh <rleigh@debian.org>:
Bug acknowledged by developer. (Wed, 24 Apr 2013 19:51:05 GMT) Full text and rfc822 format available.

Message #77 received at 669726-done@bugs.debian.org (full text, mbox):

From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
To: Charles Plessy <plessy@debian.org>, 669726-done@bugs.debian.org
Cc: Andrei POPESCU <andreimpopescu@gmail.com>, Julien Cristau <jcristau@debian.org>, Osamu Aoki <osamu@debian.org>, Roger Leigh <rleigh@debian.org>, Joost van Baal-IliÄ? <joostvb-debian-20130124-4@mdcc.cx>
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Wed, 24 Apr 2013 20:48:50 +0100
On Tue, 2013-04-16 at 08:32 +0900, Charles Plessy wrote:
> Le Sun, Apr 07, 2013 at 09:04:16AM +0300, Andrei POPESCU a écrit :
> > On Vi, 05 apr 13, 14:48:44, Julien Cristau wrote:
> > > 
> > > Two comments:
> > > - I don't think the last two sentences are particularly helpful in the
> > >   RN, so I'd drop them
> > > - I'm confused by the bit about TMPDIR, since we don't say anything
> > >   about setting that variable anywhere, so even if an app obeys TMPDIR
> > >   if it's set, it'll still fill up /tmp by default.
> > 
> > I'd reword it slightly:
[...]
> If the last two sentences are problematic, I think that the patch is
> trivial to be edited, that is: if you decide to remove them, please
> ping me if you want me to refresh the patch.

I've committed Charles's last patch (minus the contentious sentences) as
r9767; thanks.

Regards,

Adam




Message #78 received at 669726-done@bugs.debian.org (full text, mbox):

From: Andrei POPESCU <andreimpopescu@gmail.com>
To: "Adam D. Barratt" <adam@adam-barratt.org.uk>
Cc: Charles Plessy <plessy@debian.org>, 669726-done@bugs.debian.org, Julien Cristau <jcristau@debian.org>, Osamu Aoki <osamu@debian.org>, Roger Leigh <rleigh@debian.org>, Joost van Baal-IliÄ? <joostvb-debian-20130124-4@mdcc.cx>
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Fri, 3 May 2013 13:24:41 +0300
[Message part 1 (text/plain, inline)]
On Mi, 24 apr 13, 20:48:50, Adam D. Barratt wrote:

[snip]

I didn't notice before, but in my opinion the wording seems to imply 
that *all* tmpfs filesystems can be configured in /etc/default/tmpfs. 
One small addition should fix that. The attached patch also includes a 
missing space[1], to not bother translators twice.

Kind regards,
Andrei
[1] is this not something that could be handled by docbook according to 
language specific rules?
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
[not-all-tmpfs.diff (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Fri, 03 May 2013 10:30:14 GMT) Full text and rfc822 format available.

Message #82 received at 669726-done@bugs.debian.org (full text, mbox):

From: Roger Leigh <rleigh@codelibre.net>
To: Andrei POPESCU <andreimpopescu@gmail.com>
Cc: "Adam D. Barratt" <adam@adam-barratt.org.uk>, Charles Plessy <plessy@debian.org>, 669726-done@bugs.debian.org, Julien Cristau <jcristau@debian.org>, Osamu Aoki <osamu@debian.org>, Roger Leigh <rleigh@debian.org>, Joost van Baal-IliÄ? <joostvb-debian-20130124-4@mdcc.cx>
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Fri, 3 May 2013 11:53:14 +0100
On Fri, May 03, 2013 at 01:24:41PM +0300, Andrei POPESCU wrote:
> On Mi, 24 apr 13, 20:48:50, Adam D. Barratt wrote:
> 
> [snip]
> 
> I didn't notice before, but in my opinion the wording seems to imply 
> that *all* tmpfs filesystems can be configured in /etc/default/tmpfs. 
> One small addition should fix that. The attached patch also includes a 
> missing space[1], to not bother translators twice.

The patch looks good to me, and definitely makes this unambiguous.


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Fri, 03 May 2013 12:00:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrei POPESCU <andreimpopescu@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Fri, 03 May 2013 12:00:04 GMT) Full text and rfc822 format available.

Message #87 received at 669726@bugs.debian.org (full text, mbox):

From: Andrei POPESCU <andreimpopescu@gmail.com>
To: 669726@bugs.debian.org
Subject: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Fri, 3 May 2013 14:58:08 +0300
[Message part 1 (text/plain, inline)]
On Mi, 24 apr 13, 20:48:50, Adam D. Barratt wrote:

[snip]

I didn't notice before, but in my opinion the wording seems to imply 
that *all* tmpfs filesystems can be configured in /etc/default/tmpfs. 
One small addition should fix that. The attached patch also includes a 
missing space[1], to not bother translators twice.

Kind regards,
Andrei
[1] is this not something that could be handled by docbook according to 
language specific rules?
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
[not-all-tmpfs.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Documentation Team <debian-doc@lists.debian.org>:
Bug#669726; Package release-notes. (Fri, 03 May 2013 12:09:16 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christian PERRIER <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Documentation Team <debian-doc@lists.debian.org>. (Fri, 03 May 2013 12:09:16 GMT) Full text and rfc822 format available.

Message #92 received at 669726@bugs.debian.org (full text, mbox):

From: Christian PERRIER <bubulle@debian.org>
To: Andrei POPESCU <andreimpopescu@gmail.com>, 669726@bugs.debian.org
Cc: "Adam D. Barratt" <adam@adam-barratt.org.uk>, Charles Plessy <plessy@debian.org>, 669726-done@bugs.debian.org, Julien Cristau <jcristau@debian.org>, Osamu Aoki <osamu@debian.org>, Roger Leigh <rleigh@debian.org>, Joost van Baal-IliÄ? <joostvb-debian-20130124-4@mdcc.cx>
Subject: Re: Bug#669726: release-notes: Please document tmpfs filesystem changes for wheezy
Date: Fri, 3 May 2013 13:53:07 +0200
[Message part 1 (text/plain, inline)]
Quoting Andrei POPESCU (andreimpopescu@gmail.com):
> On Mi, 24 apr 13, 20:48:50, Adam D. Barratt wrote:
> 
> [snip]
> 
> I didn't notice before, but in my opinion the wording seems to imply 
> that *all* tmpfs filesystems can be configured in /etc/default/tmpfs. 
> One small addition should fix that. The attached patch also includes a 
> missing space[1], to not bother translators twice.

Applied.

[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 01 Jun 2013 07:27:03 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 08:03:58 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.