* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-14 14:29 [devel-distro] Q: вкл pam_mktemp и выкл tmpfs Sergey V Turchin
@ 2010-09-15 12:50 ` Sergey V Turchin
2010-09-15 16:06 ` Dmitry V. Levin
` (3 subsequent siblings)
4 siblings, 0 replies; 39+ messages in thread
From: Sergey V Turchin @ 2010-09-15 12:50 UTC (permalink / raw)
To: devel-distro
[-- Attachment #1: Type: Text/Plain, Size: 558 bytes --]
On Tuesday 14 September 2010 18:29, Sergey V Turchin wrote:
> Привет всем!
>
> Предлагаю в installer-feature-desktop-*-mktemp выключить tmpfs и включить
> pam_mktemp. Это:
> - сэкономит оперативную память (для KDE4, например, критично)
> - сэкономит место на жестком диске (обнаружил у брата 15GB хлама в ~/tmp)
Я хочу сделать это по умолчанию в installer-distro-desktop(сменить зависимость
на соотв. feature)
Если никто не против, то просьба Boyarsh дать мне acl на installer-distro-
desktop
--
Regards, Sergey. ALT Linux, http://www.altlinux.ru/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-14 14:29 [devel-distro] Q: вкл pam_mktemp и выкл tmpfs Sergey V Turchin
2010-09-15 12:50 ` Sergey V Turchin
@ 2010-09-15 16:06 ` Dmitry V. Levin
2010-09-15 16:10 ` Sergey V Turchin
2010-09-16 7:45 ` Anton V. Boyarshinov
` (2 subsequent siblings)
4 siblings, 1 reply; 39+ messages in thread
From: Dmitry V. Levin @ 2010-09-15 16:06 UTC (permalink / raw)
To: devel-distro
[-- Attachment #1: Type: text/plain, Size: 517 bytes --]
On Tue, Sep 14, 2010 at 06:29:57PM +0400, Sergey V Turchin wrote:
> Привет всем!
>
> Предлагаю в installer-feature-desktop-*-mktemp выключить tmpfs и включить
> pam_mktemp. Это:
> - сэкономит оперативную память (для KDE4, например, критично)
> - сэкономит место на жестком диске (обнаружил у брата 15GB хлама в ~/tmp)
Именно tmpfs, будучи включённой на /tmp, экономит место на жестком диске.
Нет, я бы не стал бы выключать tmpfs на /tmp.
С включением pam_mktemp я, конечно, согласен. ;)
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-15 16:06 ` Dmitry V. Levin
@ 2010-09-15 16:10 ` Sergey V Turchin
0 siblings, 0 replies; 39+ messages in thread
From: Sergey V Turchin @ 2010-09-15 16:10 UTC (permalink / raw)
To: devel-distro
[-- Attachment #1: Type: Text/Plain, Size: 728 bytes --]
On Wednesday 15 September 2010 20:06, Dmitry V. Levin wrote:
> On Tue, Sep 14, 2010 at 06:29:57PM +0400, Sergey V Turchin wrote:
> > Привет всем!
> >
> > Предлагаю в installer-feature-desktop-*-mktemp выключить tmpfs и включить
> > pam_mktemp. Это:
> > - сэкономит оперативную память (для KDE4, например, критично)
> > - сэкономит место на жестком диске (обнаружил у брата 15GB хлама в ~/tmp)
>
> Именно tmpfs, будучи включённой на /tmp, экономит место на жестком диске.
Оперативка дороже.
stmpclean будет установлен по умолчанию. Так нормально?
> Нет, я бы не стал бы выключать tmpfs на /tmp.
> С включением pam_mktemp я, конечно, согласен. ;)
Это в комплексе.
--
Regards, Sergey. ALT Linux, http://www.altlinux.ru/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-14 14:29 [devel-distro] Q: вкл pam_mktemp и выкл tmpfs Sergey V Turchin
2010-09-15 12:50 ` Sergey V Turchin
2010-09-15 16:06 ` Dmitry V. Levin
@ 2010-09-16 7:45 ` Anton V. Boyarshinov
2010-09-16 10:22 ` Michael Shigorin
2010-09-16 11:42 ` Sergey V Turchin
2010-09-29 10:09 ` Sergey V Turchin
4 siblings, 2 replies; 39+ messages in thread
From: Anton V. Boyarshinov @ 2010-09-16 7:45 UTC (permalink / raw)
To: Distributions development
[-- Attachment #1: Type: text/plain, Size: 886 bytes --]
Привет
> Предлагаю в installer-feature-desktop-*-mktemp выключить tmpfs и включить
> pam_mktemp. Это:
> - сэкономит оперативную память (для KDE4, например, критично)
> - сэкономит место на жестком диске (обнаружил у брата 15GB хлама в ~/tmp)
Тогда профиль разбивки диска должен быть таким, чтоб после полной
установки, в /tmp оставалось места хотя бы на двухслойный dvd... В
общем, при /tmp на / это довольно опасная идея, а с размером
отдельного /tmp я в до-tmpfs-ные времена никогда не угадывал и лично
для себя, куда уж для всех.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-16 7:45 ` Anton V. Boyarshinov
@ 2010-09-16 10:22 ` Michael Shigorin
2010-09-16 11:42 ` Sergey V Turchin
1 sibling, 0 replies; 39+ messages in thread
From: Michael Shigorin @ 2010-09-16 10:22 UTC (permalink / raw)
To: Distributions development
On Thu, Sep 16, 2010 at 11:45:37AM +0400, Anton V. Boyarshinov wrote:
> > Предлагаю в installer-feature-desktop-*-mktemp выключить
> > tmpfs и включить pam_mktemp. Это:
> > - сэкономит оперативную память (для KDE4, например, критично)
> > - сэкономит место на жестком диске (обнаружил у брата 15GB хлама в ~/tmp)
> Тогда профиль разбивки диска должен быть таким, чтоб после
> полной установки, в /tmp оставалось места хотя бы на
> двухслойный dvd... В общем, при /tmp на / это довольно опасная
> идея, а с размером отдельного /tmp я в до-tmpfs-ные времена
> никогда не угадывал и лично для себя, куда уж для всех.
Может, попробовать дискописалки обучить временное класть
преимущественно в /var/tmp или $TMPDIR, а не $TMP?..
pad:~> echo $TMP $TMPDIR
/tmp/.private/mike /home/mike/tmp
pad:~> sudo control pam_mktemp
enabled
У /tmp на tmpfs действительно есть преимущества, хотя пропажа
данных после перезагрузки (равно как и при помощи неожиданного
stmpclean) может быть неприятна -- один раз и сам попался лет
семь тому.
В ~/tmp, с одной стороны, должно быть достаточно места.
А с другой -- если чему-нить сносит башню, то могут слететь
~/.* вследствие невозможности записи и truncate при не шибко
аккуратной реализации. (btw ~/.xsession-errors:* тоже могут
вызвать такое, их бы чистить/ротейтить где-то надо)
Сложный вопрос :(
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-16 7:45 ` Anton V. Boyarshinov
2010-09-16 10:22 ` Michael Shigorin
@ 2010-09-16 11:42 ` Sergey V Turchin
2010-09-16 14:44 ` Денис Смирнов
1 sibling, 1 reply; 39+ messages in thread
From: Sergey V Turchin @ 2010-09-16 11:42 UTC (permalink / raw)
To: devel-distro
[-- Attachment #1: Type: text/plain, Size: 778 bytes --]
On Thursday 16 September 2010 11:45 you wrote:
[...]
> Тогда профиль разбивки диска должен быть таким,
Надо подумать.
Например, -o bind /наибольшее/место/tmp в /tmp
> чтоб после полной
> установки, в /tmp оставалось места хотя бы на двухслойный dvd...
1. Когда именно это важно?
2. А в tmpfs там откуда столько места?
3. Почему эту кривоту инсталлятора до сих пор не исправили? Когда я делал
(Compact-3.0) нужно было места не больше размера самого большого пакета (при
сетевой установке "базовой системы", коей мог быть весь KDE4, например).
> В
> общем, при /tmp на / это довольно опасная идея, а с размером
> отдельного /tmp я в до-tmpfs-ные времена никогда не угадывал и лично
> для себя, куда уж для всех.
--
Regards, Sergey. ALT Linux, http://www.altlinux.ru/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-16 11:42 ` Sergey V Turchin
@ 2010-09-16 14:44 ` Денис Смирнов
2010-09-16 15:05 ` Sergey V Turchin
0 siblings, 1 reply; 39+ messages in thread
From: Денис Смирнов @ 2010-09-16 14:44 UTC (permalink / raw)
To: Distributions development
[-- Attachment #1: Type: text/plain, Size: 346 bytes --]
On Thu, Sep 16, 2010 at 03:42:44PM +0400, Sergey V Turchin wrote:
SVT> Надо подумать.
SVT> Например, -o bind /наибольшее/место/tmp в /tmp
А swap размером в 10G проблему не решает, раз уж нужны двухслойные DVD?
--
С уважением, Денис
http://mithraen.ru/
----------------------------------------------------------------------------
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-16 14:44 ` Денис Смирнов
@ 2010-09-16 15:05 ` Sergey V Turchin
2010-09-16 16:47 ` Денис Смирнов
0 siblings, 1 reply; 39+ messages in thread
From: Sergey V Turchin @ 2010-09-16 15:05 UTC (permalink / raw)
To: Distributions development
[-- Attachment #1: Type: Text/Plain, Size: 401 bytes --]
On Thursday 16 September 2010 18:44, Денис Смирнов wrote:
> On Thu, Sep 16, 2010 at 03:42:44PM +0400, Sergey V Turchin wrote:
>
> SVT> Надо подумать.
> SVT> Например, -o bind /наибольшее/место/tmp в /tmp
>
> А swap размером в 10G проблему не решает, раз уж нужны двухслойные DVD?
А 2-хслойные blu-ray разве не будут поддерживаться? ;-)
--
Regards, Sergey. ALT Linux, http://www.altlinux.ru/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-16 15:05 ` Sergey V Turchin
@ 2010-09-16 16:47 ` Денис Смирнов
2010-09-17 10:56 ` Sergey V Turchin
0 siblings, 1 reply; 39+ messages in thread
From: Денис Смирнов @ 2010-09-16 16:47 UTC (permalink / raw)
To: Distributions development
[-- Attachment #1: Type: text/plain, Size: 281 bytes --]
On Thu, Sep 16, 2010 at 07:05:58PM +0400, Sergey V Turchin wrote:
SVT> А 2-хслойные blu-ray разве не будут поддерживаться? ;-)
Неуловимый Джо? :)
--
С уважением, Денис
http://mithraen.ru/
----------------------------------------------------------------------------
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-16 16:47 ` Денис Смирнов
@ 2010-09-17 10:56 ` Sergey V Turchin
2010-09-17 21:12 ` Денис Смирнов
0 siblings, 1 reply; 39+ messages in thread
From: Sergey V Turchin @ 2010-09-17 10:56 UTC (permalink / raw)
To: Distributions development
[-- Attachment #1: Type: Text/Plain, Size: 422 bytes --]
On Thursday 16 September 2010 20:47, Денис Смирнов wrote:
> On Thu, Sep 16, 2010 at 07:05:58PM +0400, Sergey V Turchin wrote:
>
> SVT> А 2-хслойные blu-ray разве не будут поддерживаться? ;-)
>
> Неуловимый Джо? :)
Этим не ограничивается. KDE4 при копировании-скачке кидает запросто файлы
любого размера в KDE_TMPDIR. Например, fullhd.mkv еще как уловимый.
--
Regards, Sergey. ALT Linux, http://www.altlinux.ru/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-17 10:56 ` Sergey V Turchin
@ 2010-09-17 21:12 ` Денис Смирнов
2010-09-20 7:50 ` Anton V. Boyarshinov
2010-09-20 10:19 ` Sergey V Turchin
0 siblings, 2 replies; 39+ messages in thread
From: Денис Смирнов @ 2010-09-17 21:12 UTC (permalink / raw)
To: Distributions development
[-- Attachment #1: Type: text/plain, Size: 404 bytes --]
On Fri, Sep 17, 2010 at 02:56:09PM +0400, Sergey V Turchin wrote:
SVT> Этим не ограничивается. KDE4 при копировании-скачке кидает запросто файлы
SVT> любого размера в KDE_TMPDIR. Например, fullhd.mkv еще как уловимый.
Может действитеьлно swap сделать минимум 10 гиг?
--
С уважением, Денис
http://mithraen.ru/
----------------------------------------------------------------------------
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-17 21:12 ` Денис Смирнов
@ 2010-09-20 7:50 ` Anton V. Boyarshinov
2010-09-20 18:08 ` Dmitry V. Levin
2010-09-20 10:19 ` Sergey V Turchin
1 sibling, 1 reply; 39+ messages in thread
From: Anton V. Boyarshinov @ 2010-09-20 7:50 UTC (permalink / raw)
To: devel-distro
[-- Attachment #1: Type: text/plain, Size: 646 bytes --]
On Sat, 18 Sep 2010 01:12:00 +0400 Денис Смирнов wrote:
> SVT> Этим не ограничивается. KDE4 при копировании-скачке кидает запросто файлы
> SVT> любого размера в KDE_TMPDIR. Например, fullhd.mkv еще как уловимый.
>
> Может действитеьлно swap сделать минимум 10 гиг?
Все, кто будет тестировать в виртуалках (журналисты всякие в том числе),
назовут нас нехорошими людьми и будут в чём то правы.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-20 7:50 ` Anton V. Boyarshinov
@ 2010-09-20 18:08 ` Dmitry V. Levin
2010-09-21 18:14 ` Денис Смирнов
2010-09-27 15:01 ` Sergey V Turchin
0 siblings, 2 replies; 39+ messages in thread
From: Dmitry V. Levin @ 2010-09-20 18:08 UTC (permalink / raw)
To: devel-distro
[-- Attachment #1: Type: text/plain, Size: 628 bytes --]
On Mon, Sep 20, 2010 at 11:50:52AM +0400, Anton V. Boyarshinov wrote:
> On Sat, 18 Sep 2010 01:12:00 +0400 Денис Смирнов wrote:
>
> > SVT> Этим не ограничивается. KDE4 при копировании-скачке кидает запросто файлы
> > SVT> любого размера в KDE_TMPDIR. Например, fullhd.mkv еще как уловимый.
> >
> > Может действитеьлно swap сделать минимум 10 гиг?
> Все, кто будет тестировать в виртуалках (журналисты всякие в том числе),
> назовут нас нехорошими людьми и будут в чём то правы.
Для них swap надо делать на дырявом файле большого размера, и дырявить
этот файл заново при каждой загрузке системы. :)
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-20 18:08 ` Dmitry V. Levin
@ 2010-09-21 18:14 ` Денис Смирнов
2010-09-21 19:40 ` Michael Shigorin
2010-09-27 15:01 ` Sergey V Turchin
1 sibling, 1 reply; 39+ messages in thread
From: Денис Смирнов @ 2010-09-21 18:14 UTC (permalink / raw)
To: Distributions development
[-- Attachment #1: Type: text/plain, Size: 390 bytes --]
On Mon, Sep 20, 2010 at 10:08:18PM +0400, Dmitry V. Levin wrote:
DVL> Для них swap надо делать на дырявом файле большого размера, и дырявить
DVL> этот файл заново при каждой загрузке системы. :)
Это надо делать до монтирования tmpfs и до swapon. Где же?
--
С уважением, Денис
http://mithraen.ru/
----------------------------------------------------------------------------
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-21 18:14 ` Денис Смирнов
@ 2010-09-21 19:40 ` Michael Shigorin
2010-09-21 19:59 ` Денис Смирнов
0 siblings, 1 reply; 39+ messages in thread
From: Michael Shigorin @ 2010-09-21 19:40 UTC (permalink / raw)
To: Distributions development
On Tue, Sep 21, 2010 at 10:14:59PM +0400, Денис Смирнов wrote:
> > Для них swap надо делать на дырявом файле большого размера,
> > и дырявить этот файл заново при каждой загрузке системы. :)
> Это надо делать до монтирования tmpfs и до swapon. Где же?
Смотря откуда смайлик exec()ать.
Можно попробовать изображать интеллект в рантайме -- если диск
со свободным местом "от пятисот" (или сколько там), то здоровый
своп и включаем pam_mktemp; если десять-двадцать гиг, то своп не
больше 512M (больше в виртуалке незачем, а на физ. диске будет
секунд двадцать только линейно читаться) и disable.
Если нам сложно прийти к какому-то одному мнению,
могу попробовать сделать так.
Мне текущий вариант кажется более осмысленным: те, кому _нужно_
много tmpfs, либо сообразят выделить достаточно свопа, либо потом
руками добавят.
Автоматизировать это можно разве что профилями установки при
включении чего-то вроде developer's workstation / build server
или куда ещё такой паттерн использования tmpfs вообще и $TMP
в частности ложится.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-21 19:40 ` Michael Shigorin
@ 2010-09-21 19:59 ` Денис Смирнов
2010-09-22 6:38 ` Denis Kuznetsov
2010-09-22 11:53 ` Michael Shigorin
0 siblings, 2 replies; 39+ messages in thread
From: Денис Смирнов @ 2010-09-21 19:59 UTC (permalink / raw)
To: shigorin, Distributions development
[-- Attachment #1: Type: text/plain, Size: 1691 bytes --]
On Tue, Sep 21, 2010 at 10:40:33PM +0300, Michael Shigorin wrote:
>> Это надо делать до монтирования tmpfs и до swapon. Где же?
MS> Смотря откуда смайлик exec()ать.
Смайлик-смайликом, а в каждой шутке есть доля шутки. Все остальное --
правда :)
Я у себя локально как раз сейчас думаю вынести swap на SSD в файл.
MS> Можно попробовать изображать интеллект в рантайме -- если диск
MS> со свободным местом "от пятисот" (или сколько там), то здоровый
MS> своп и включаем pam_mktemp; если десять-двадцать гиг, то своп не
MS> больше 512M (больше в виртуалке незачем, а на физ. диске будет
MS> секунд двадцать только линейно читаться) и disable.
Логично.
MS> Если нам сложно прийти к какому-то одному мнению,
MS> могу попробовать сделать так.
MS> Мне текущий вариант кажется более осмысленным: те, кому _нужно_
MS> много tmpfs, либо сообразят выделить достаточно свопа, либо потом
MS> руками добавят.
Увы, неприемлимо. Юзвери будут пытаться писать двухслойные DVD на
свежепоставленной системе, и когда это не сработает будут кричать что наши
дистрибутивы -- [censored]. И будут по своему правы.
MS> Автоматизировать это можно разве что профилями установки при
MS> включении чего-то вроде developer's workstation / build server
MS> или куда ещё такой паттерн использования tmpfs вообще и $TMP
MS> в частности ложится.
Он везде хорошо ложится, где размера memory+swap достаточно для
используемых задач.
Виртуалки -- это специфическое исключение, которое должно обрабатываться
отдельно (но должно обрабатываться корректно).
--
С уважением, Денис
http://mithraen.ru/
----------------------------------------------------------------------------
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-21 19:59 ` Денис Смирнов
@ 2010-09-22 6:38 ` Denis Kuznetsov
2010-09-27 14:33 ` Sergey V Turchin
2010-09-22 11:53 ` Michael Shigorin
1 sibling, 1 reply; 39+ messages in thread
From: Denis Kuznetsov @ 2010-09-22 6:38 UTC (permalink / raw)
To: devel-distro
On Tuesday 21 September 2010 22:59:24 Денис Смирнов wrote:
> MS> Можно попробовать изображать интеллект в рантайме -- если диск
> MS> со свободным местом "от пятисот" (или сколько там), то здоровый
> MS> своп и включаем pam_mktemp; если десять-двадцать гиг, то своп не
> MS> больше 512M (больше в виртуалке незачем, а на физ. диске будет
> MS> секунд двадцать только линейно читаться) и disable.
>
> Логично.
Прям винда какаято....
>
> MS> Если нам сложно прийти к какому-то одному мнению,
> MS> могу попробовать сделать так.
> MS> Мне текущий вариант кажется более осмысленным: те, кому _нужно_
> MS> много tmpfs, либо сообразят выделить достаточно свопа, либо потом
> MS> руками добавят.
А помочь этим сообажениям можно, хинтом в мануалах по инсталляции.
>
> Увы, неприемлимо. Юзвери будут пытаться писать двухслойные DVD на
> свежепоставленной системе, и когда это не сработает будут кричать что наши
> дистрибутивы -- [censored]. И будут по своему правы.
А для этого, полезно таки как mike@ и предлагал, научить писалки не только
$TMP юзать, а если в $TMP места нет, то создавать в хомяке, свой TMPDIR и за
собой чистить.
>
> Виртуалки -- это специфическое исключение, которое должно обрабатываться
> отдельно (но должно обрабатываться корректно).
+1
--
Denis E. Kuznetsov
e-mail: kde{at}kde.kiev.ua
jabber: denis.e.kuznetsov{at}gmail.com
--------------------------------------
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-22 6:38 ` Denis Kuznetsov
@ 2010-09-27 14:33 ` Sergey V Turchin
0 siblings, 0 replies; 39+ messages in thread
From: Sergey V Turchin @ 2010-09-27 14:33 UTC (permalink / raw)
To: Distributions development
[-- Attachment #1: Type: Text/Plain, Size: 1498 bytes --]
On Wednesday 22 September 2010 10:38, Denis Kuznetsov wrote:
[...]
> > те, кому _нужно_
> > MS> много tmpfs, либо
> > сообразят
Не нужно на это рассчитывать.
> > выделить достаточно свопа, либо потом
> > MS> руками добавят.
> А помочь этим сообажениям можно, хинтом в мануалах по инсталляции.
А Вы будете каждому персонально бесплатно зачитывать с выражением ;-)
> > Увы, неприемлимо. Юзвери будут пытаться писать двухслойные DVD на
> > свежепоставленной системе, и когда это не сработает будут кричать что
> > наши дистрибутивы -- [censored]. И будут по своему правы.
IMO это достаточное кол-во крика.
> А для этого, полезно таки как mike@ и предлагал, научить писалки не только
> $TMP юзать
Да что вы зацепились за DVD? Разговор не только о писалках.
KDE_TMPDIR переопределять в runtime в зависимости от размера файла? ;-) Размер
может быть и неизвестен заранее.
[...]
--
Regards, Sergey. ALT Linux, http://www.altlinux.ru/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-21 19:59 ` Денис Смирнов
2010-09-22 6:38 ` Denis Kuznetsov
@ 2010-09-22 11:53 ` Michael Shigorin
1 sibling, 0 replies; 39+ messages in thread
From: Michael Shigorin @ 2010-09-22 11:53 UTC (permalink / raw)
To: Distributions development
On Tue, Sep 21, 2010 at 11:59:24PM +0400, Денис Смирнов wrote:
> MS> Мне текущий вариант кажется более осмысленным: те, кому _нужно_
> MS> много tmpfs, либо сообразят выделить достаточно свопа, либо потом
> MS> руками добавят.
> Увы, неприемлимо. Юзвери будут пытаться писать двухслойные DVD
> на свежепоставленной системе, и когда это не сработает будут
> кричать что наши дистрибутивы -- [censored]. И будут по своему
> правы.
Текущий -- это в $HOME/tmp, в смысле.
> MS> Автоматизировать это можно разве что профилями установки при
> MS> включении чего-то вроде developer's workstation / build server
> MS> или куда ещё такой паттерн использования tmpfs вообще и $TMP
> MS> в частности ложится.
> Он везде хорошо ложится, где размера memory+swap достаточно для
> используемых задач.
Если задачи не в курсе, то толку от tmpfs ноль.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-20 18:08 ` Dmitry V. Levin
2010-09-21 18:14 ` Денис Смирнов
@ 2010-09-27 15:01 ` Sergey V Turchin
2010-09-27 15:29 ` Michael Shigorin
1 sibling, 1 reply; 39+ messages in thread
From: Sergey V Turchin @ 2010-09-27 15:01 UTC (permalink / raw)
To: devel-distro
[-- Attachment #1: Type: Text/Plain, Size: 329 bytes --]
On Monday 20 September 2010 22:08, Dmitry V. Levin wrote:
[...]
> Для них swap надо делать на дырявом файле большого размера, и дырявить
> этот файл заново при каждой загрузке системы. :)
Это лучше, чем сторока в fstab
/наибольшее_место/tmp /tmp auto bind,rw 0 0
?
--
Regards, Sergey. ALT Linux, http://www.altlinux.ru/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-27 15:01 ` Sergey V Turchin
@ 2010-09-27 15:29 ` Michael Shigorin
2010-09-27 15:31 ` Anton Farygin
2010-09-27 16:04 ` [devel-distro] Q: вкл pam_mktemp и выкл tmpfs Sergey V Turchin
0 siblings, 2 replies; 39+ messages in thread
From: Michael Shigorin @ 2010-09-27 15:29 UTC (permalink / raw)
To: devel-distro
On Mon, Sep 27, 2010 at 07:01:03PM +0400, Sergey V Turchin wrote:
> > Для них swap надо делать на дырявом файле большого размера, и
> > дырявить этот файл заново при каждой загрузке системы. :)
> Это лучше, чем сторока в fstab
> /наибольшее_место/tmp /tmp auto bind,rw 0 0
> ?
Уййй... /tmp на корне не сахар, но и автоугадав пугает.
С учётом того, что на обсуждаемом (десктоп) обычно это /home
и выгоды относительно ~/tmp не вижу.
Может, попробовать сделать так и этак и вывалить образы в люди,
объяснив разницу и попросив погонять на своих обычных делах?
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-27 15:29 ` Michael Shigorin
@ 2010-09-27 15:31 ` Anton Farygin
2010-09-27 15:40 ` Michael Shigorin
2010-09-27 16:04 ` [devel-distro] Q: вкл pam_mktemp и выкл tmpfs Sergey V Turchin
1 sibling, 1 reply; 39+ messages in thread
From: Anton Farygin @ 2010-09-27 15:31 UTC (permalink / raw)
To: devel-distro
27.09.2010 19:29, Michael Shigorin пишет:
> On Mon, Sep 27, 2010 at 07:01:03PM +0400, Sergey V Turchin wrote:
>>> Для них swap надо делать на дырявом файле большого размера, и
>>> дырявить этот файл заново при каждой загрузке системы. :)
>> Это лучше, чем сторока в fstab
>> /наибольшее_место/tmp /tmp auto bind,rw 0 0
>> ?
> Уййй... /tmp на корне не сахар, но и автоугадав пугает.
> С учётом того, что на обсуждаемом (десктоп) обычно это /home
> и выгоды относительно ~/tmp не вижу.
>
> Может, попробовать сделать так и этак и вывалить образы в люди,
> объяснив разницу и попросив погонять на своих обычных делах?
>
Может быть, сделать это настраиваемым в процессе установки ?
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-27 15:31 ` Anton Farygin
@ 2010-09-27 15:40 ` Michael Shigorin
2010-09-27 15:52 ` Anton Farygin
0 siblings, 1 reply; 39+ messages in thread
From: Michael Shigorin @ 2010-09-27 15:40 UTC (permalink / raw)
To: devel-distro
On Mon, Sep 27, 2010 at 07:31:26PM +0400, Anton Farygin wrote:
> Может быть, сделать это настраиваемым в процессе установки ?
Оно бы хорошо, но в эксперт-режиме и около разбивки диска.
Я тут в другую сторону думал давно уж -- делать инсталер
task-oriented ("нужен LAMP-сервер"), а не выбирать из списков
не очень понятного что-то похожее...
Если когда получится -- то это будет тест, заглядывающий в объём
памяти, объём жёсткого диска и список запрошенных задач в
контексте того, насколько им полезен большой tmpfs.
Повторюсь, сейчас для такого действа есть хотя бы графическая
ручка в виде alterator-control. Вне контекста задач и требующая
понимания того, что делаешь. Но есть. В качестве дефолта на
десктопе всё-таки считаю более безопасным mktemp disabled.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-27 15:40 ` Michael Shigorin
@ 2010-09-27 15:52 ` Anton Farygin
2010-09-27 15:58 ` Michael Shigorin
0 siblings, 1 reply; 39+ messages in thread
From: Anton Farygin @ 2010-09-27 15:52 UTC (permalink / raw)
To: devel-distro
27.09.2010 19:40, Michael Shigorin пишет:
> On Mon, Sep 27, 2010 at 07:31:26PM +0400, Anton Farygin wrote:
>> Может быть, сделать это настраиваемым в процессе установки ?
> Оно бы хорошо, но в эксперт-режиме и около разбивки диска.
>
> Я тут в другую сторону думал давно уж -- делать инсталер
> task-oriented ("нужен LAMP-сервер"), а не выбирать из списков
> не очень понятного что-то похожее...
LAMP сервер понятие сильно растяжимое.
apache2, apache, nginx, lighttpd
php-fpm, php-cgi, mod_php
Ну и модулей PHP масса.
Всё это в разных совместимых сочетаниях.
Как это засунуть в один инсталлер с выбором по task ?
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-27 15:52 ` Anton Farygin
@ 2010-09-27 15:58 ` Michael Shigorin
2010-09-27 16:00 ` Anton Farygin
0 siblings, 1 reply; 39+ messages in thread
From: Michael Shigorin @ 2010-09-27 15:58 UTC (permalink / raw)
To: devel-distro
On Mon, Sep 27, 2010 at 07:52:15PM +0400, Anton Farygin wrote:
> >>Может быть, сделать это настраиваемым в процессе установки ?
> >Оно бы хорошо, но в эксперт-режиме и около разбивки диска.
> >Я тут в другую сторону думал давно уж -- делать инсталер
> >task-oriented ("нужен LAMP-сервер"), а не выбирать из списков
> >не очень понятного что-то похожее...
> LAMP сервер понятие сильно растяжимое. [...]
Конечно.
> Как это засунуть в один инсталлер с выбором по task ?
Дав возможность уточнить дефолты, разумеется.
Примерно как в [[WhiteLabel]] для профилей предлагал
и в m-p делаю.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-27 15:58 ` Michael Shigorin
@ 2010-09-27 16:00 ` Anton Farygin
2010-09-27 18:01 ` [devel-distro] целеориентированная установка дистрибутива Michael Shigorin
0 siblings, 1 reply; 39+ messages in thread
From: Anton Farygin @ 2010-09-27 16:00 UTC (permalink / raw)
To: devel-distro
27.09.2010 19:58, Michael Shigorin пишет:
> On Mon, Sep 27, 2010 at 07:52:15PM +0400, Anton Farygin wrote:
>>>> Может быть, сделать это настраиваемым в процессе установки ?
>>> Оно бы хорошо, но в эксперт-режиме и около разбивки диска.
>>> Я тут в другую сторону думал давно уж -- делать инсталер
>>> task-oriented ("нужен LAMP-сервер"), а не выбирать из списков
>>> не очень понятного что-то похожее...
>> LAMP сервер понятие сильно растяжимое. [...]
> Конечно.
>
>> Как это засунуть в один инсталлер с выбором по task ?
> Дав возможность уточнить дефолты, разумеется.
>
> Примерно как в [[WhiteLabel]] для профилей предлагал
> и в m-p делаю.
>
Я не совсем понимаю, как это будет выглядеть для администратора.. что
будет на шаге выбора пакетов ?
Есть прототип или хотя-бы скриншоты ?
^ permalink raw reply [flat|nested] 39+ messages in thread
* [devel-distro] целеориентированная установка дистрибутива
2010-09-27 16:00 ` Anton Farygin
@ 2010-09-27 18:01 ` Michael Shigorin
0 siblings, 0 replies; 39+ messages in thread
From: Michael Shigorin @ 2010-09-27 18:01 UTC (permalink / raw)
To: devel-distro
On Mon, Sep 27, 2010 at 08:00:46PM +0400, Anton Farygin wrote:
> Есть прототип или хотя-бы скриншоты ?
Пока совсем нет: сейчас надеюсь метапрофиль до взлётного веса
допилить, потом бы branding в ту же сторону подкорнать (насчёт
наследуемости -- чтоб можно было оформить sisyphus, от него
унаследовать server-light и в notes там не было ссылок на
support.altlinux.ru). Потом уж инсталер поковырять, сделать
простенький модульный текстовый install2 наконец из всего,
что бродит вокруг по частным задачам. И модуль разбивки на базе
parted (ср. с debian partman). Если здоровья хватит.
То есть даже задумки цельной нет, так, мысли бродють...
BTW https://bugzilla.altlinux.org/show_bug.cgi?id=6781
предлагал (и Кирилл верно уловил смысл) в качестве одного
из частных случаев такого подхода.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-27 15:29 ` Michael Shigorin
2010-09-27 15:31 ` Anton Farygin
@ 2010-09-27 16:04 ` Sergey V Turchin
2010-09-27 16:44 ` Sergey V Turchin
1 sibling, 1 reply; 39+ messages in thread
From: Sergey V Turchin @ 2010-09-27 16:04 UTC (permalink / raw)
To: devel-distro
[-- Attachment #1: Type: Text/Plain, Size: 323 bytes --]
On Monday 27 September 2010 19:29, Michael Shigorin wrote:
[...]
> Уййй... /tmp на корне не сахар, но и автоугадав пугает.
Меня -- нет.
> С учётом того, что на обсуждаемом (десктоп) обычно это /home
> и выгоды относительно ~/tmp не вижу.
Выгода -- stmpclean
--
Regards, Sergey. ALT Linux, http://www.altlinux.ru/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-27 16:04 ` [devel-distro] Q: вкл pam_mktemp и выкл tmpfs Sergey V Turchin
@ 2010-09-27 16:44 ` Sergey V Turchin
2010-09-27 18:06 ` Michael Shigorin
0 siblings, 1 reply; 39+ messages in thread
From: Sergey V Turchin @ 2010-09-27 16:44 UTC (permalink / raw)
To: Distributions development
[-- Attachment #1: Type: Text/Plain, Size: 470 bytes --]
On Monday 27 September 2010 20:04, Sergey V Turchin wrote:
> On Monday 27 September 2010 19:29, Michael Shigorin wrote:
>
> [...]
>
> > Уййй... /tmp на корне не сахар, но и автоугадав пугает.
>
> Меня -- нет.
>
> > С учётом того, что на обсуждаемом (десктоп) обычно это /home
> > и выгоды относительно ~/tmp не вижу.
>
> Выгода -- stmpclean
Есть еще вариант -- добавить в дефолты stmpclean /home/*/tmp
--
Regards, Sergey. ALT Linux, http://www.altlinux.ru/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-27 16:44 ` Sergey V Turchin
@ 2010-09-27 18:06 ` Michael Shigorin
2010-09-28 7:24 ` A.Kitouwaykin
2010-09-28 9:38 ` Sergey V Turchin
0 siblings, 2 replies; 39+ messages in thread
From: Michael Shigorin @ 2010-09-27 18:06 UTC (permalink / raw)
To: Distributions development
On Mon, Sep 27, 2010 at 08:44:16PM +0400, Sergey V Turchin wrote:
> > > С учётом того, что на обсуждаемом (десктоп) обычно это /home
> > > и выгоды относительно ~/tmp не вижу.
> > Выгода -- stmpclean
> Есть еще вариант -- добавить в дефолты stmpclean /home/*/tmp
Для этого достаточно оформить пакет, который будет дёргать
в /etc/cron.daily/stmpclean-home-tmp что-то вроде
/usr/sbin/stmpclean -t 10d /home/*/tmp
(это грязно в том смысле, что домашники могут быть с разными
префиксами и вообще говоря -- TMP/TMPDIR тоже, но с надлежащими
пояснениями в %description и на вики может оказаться приемлемым)
PS: было думал насчёт control или sysconfig
(сейчас в /etc/cron.daily/stmpclean прибито).
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-27 18:06 ` Michael Shigorin
@ 2010-09-28 7:24 ` A.Kitouwaykin
2010-09-29 16:17 ` Michael Shigorin
2010-09-28 9:38 ` Sergey V Turchin
1 sibling, 1 reply; 39+ messages in thread
From: A.Kitouwaykin @ 2010-09-28 7:24 UTC (permalink / raw)
To: devel-distro
On Mon, 27 Sep 2010 21:06:55 +0300
Michael Shigorin wrote:
> Для этого достаточно оформить пакет, который будет дёргать
> в /etc/cron.daily/stmpclean-home-tmp что-то вроде
>
> /usr/sbin/stmpclean -t 10d /home/*/tmp
>
Давно пользуюсь:
cut -d: -f6 /etc/passwd | sort -u | while read Hm; do [ -d "$Hm/tmp" ] && printf "$Hm/tmp\n"; done | xargs -IHmTMP /usr/sbin/stmpclean -t 10d HmTMP
Пользователи предупреждены.
--
Китайкин Анатолий Константинович
ОАО "Радиоавионика", СПб
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-28 7:24 ` A.Kitouwaykin
@ 2010-09-29 16:17 ` Michael Shigorin
2010-09-30 8:17 ` A.Kitouwaykin
0 siblings, 1 reply; 39+ messages in thread
From: Michael Shigorin @ 2010-09-29 16:17 UTC (permalink / raw)
To: devel-distro
On Tue, Sep 28, 2010 at 11:24:28AM +0400, A.Kitouwaykin wrote:
> Давно пользуюсь:
>
> cut -d: -f6 /etc/passwd | sort -u | while read Hm; do
> [ -d "$Hm/tmp" ] && printf "$Hm/tmp\n"; done | xargs -IHmTMP
> /usr/sbin/stmpclean -t 10d HmTMP
>
> Пользователи предупреждены.
Это надо ещё от нужных пользователей запускать, как в #24169
вспомнили.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-29 16:17 ` Michael Shigorin
@ 2010-09-30 8:17 ` A.Kitouwaykin
0 siblings, 0 replies; 39+ messages in thread
From: A.Kitouwaykin @ 2010-09-30 8:17 UTC (permalink / raw)
To: devel-distro
On Wed, 29 Sep 2010 19:17:42 +0300
Michael Shigorin wrote:
> On Tue, Sep 28, 2010 at 11:24:28AM +0400, A.Kitouwaykin wrote:
> >
> > cut -d: -f6 /etc/passwd | sort -u | while read Hm; do
> > [ -d "$Hm/tmp" ] && printf "$Hm/tmp\n"; done | xargs -IHmTMP
> > /usr/sbin/stmpclean -t 10d HmTMP
> >
> Это надо ещё от нужных пользователей запускать, как в #24169
> вспомнили.
Пользователь root однозначно, кто ещё изничтожит старые хашерницы,
и мало ли что еще... а вот проверку на симлинк добавил, спасибо.
... [ -d "$Hm/tmp" ] && ! [ -h "$Hm/tmp" ] && ...
--
Китайкин Анатолий Константинович
ОАО "Радиоавионика", СПб
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-27 18:06 ` Michael Shigorin
2010-09-28 7:24 ` A.Kitouwaykin
@ 2010-09-28 9:38 ` Sergey V Turchin
2010-09-28 10:20 ` Michael Shigorin
1 sibling, 1 reply; 39+ messages in thread
From: Sergey V Turchin @ 2010-09-28 9:38 UTC (permalink / raw)
To: Distributions development
[-- Attachment #1: Type: Text/Plain, Size: 504 bytes --]
On Monday 27 September 2010 22:06, Michael Shigorin wrote:
> On Mon, Sep 27, 2010 at 08:44:16PM +0400, Sergey V Turchin wrote:
> > > > С учётом того, что на обсуждаемом (десктоп) обычно это /home
> > > > и выгоды относительно ~/tmp не вижу.
> > >
> > > Выгода -- stmpclean
> >
> > Есть еще вариант -- добавить в дефолты stmpclean /home/*/tmp
>
> Для этого достаточно оформить пакет
Уже отпадает
https://bugzilla.altlinux.org/24169
[...]
--
Regards, Sergey. ALT Linux, http://www.altlinux.ru/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-17 21:12 ` Денис Смирнов
2010-09-20 7:50 ` Anton V. Boyarshinov
@ 2010-09-20 10:19 ` Sergey V Turchin
1 sibling, 0 replies; 39+ messages in thread
From: Sergey V Turchin @ 2010-09-20 10:19 UTC (permalink / raw)
To: Distributions development
[-- Attachment #1: Type: Text/Plain, Size: 472 bytes --]
On Saturday 18 September 2010 01:12, Денис Смирнов wrote:
> On Fri, Sep 17, 2010 at 02:56:09PM +0400, Sergey V Turchin wrote:
>
> SVT> Этим не ограничивается. KDE4 при копировании-скачке кидает запросто
> файлы SVT> любого размера в KDE_TMPDIR. Например, fullhd.mkv еще как
> уловимый.
>
> Может действитеьлно swap сделать минимум 10 гиг?
Это -10GB места, которое может быть использовано не только для /tmp
--
Regards, Sergey. ALT Linux, http://www.altlinux.ru/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
[parent not found: <201009161407.23021.zerg@altlinux.org>]
* Re: [devel-distro] Q: вкл pam_mktemp и выкл tmpfs
2010-09-14 14:29 [devel-distro] Q: вкл pam_mktemp и выкл tmpfs Sergey V Turchin
` (3 preceding siblings ...)
@ 2010-09-29 10:09 ` Sergey V Turchin
4 siblings, 0 replies; 39+ messages in thread
From: Sergey V Turchin @ 2010-09-29 10:09 UTC (permalink / raw)
To: Distributions development
[-- Attachment #1: Type: Text/Plain, Size: 508 bytes --]
On Tuesday 14 September 2010 18:29, Sergey V Turchin wrote:
> Привет всем!
>
> Предлагаю в installer-feature-desktop-*-mktemp выключить tmpfs и включить
> pam_mktemp. Это:
> - сэкономит оперативную память (для KDE4, например, критично)
> - сэкономит место на жестком диске (обнаружил у брата 15GB хлама в ~/tmp)
В общем, из всего я сделал выводы:
сделаю отдельно для KDesktop угадавку "mount -o bind /многоместа/tmp /tmp" +
pam_mktemp - tmpfs
--
Regards, Sergey. ALT Linux, http://www.altlinux.ru/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread