* [mdk-re] cups-1.1.6-ipl1mdk - проблемы с TMPDIR @ 2001-05-14 20:25 Sergey Vlasov 2001-05-16 17:43 ` Vadim V. Zhytnikov 0 siblings, 1 reply; 5+ messages in thread From: Sergey Vlasov @ 2001-05-14 20:25 UTC (permalink / raw) To: mandrake-russian В cups-1.1.6-ipl1mdk возникают такие же проблемы с TMPDIR, как и в samba. Если сделать из-под root service cups restart, после этого не работает администрирование через Web-интерфейс. После unset TMPDIR все встает на место. Возможно, требуется глобальное решение этой проблемы для всех скриптов из /etc/rc.d/init.d ? ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mdk-re] cups-1.1.6-ipl1mdk - проблемы с TMPDIR 2001-05-14 20:25 [mdk-re] cups-1.1.6-ipl1mdk - проблемы с TMPDIR Sergey Vlasov @ 2001-05-16 17:43 ` Vadim V. Zhytnikov 2001-05-16 17:50 ` [mdk-re] " Dmitry V. Levin 0 siblings, 1 reply; 5+ messages in thread From: Vadim V. Zhytnikov @ 2001-05-16 17:43 UTC (permalink / raw) To: mandrake-russian Sergey Vlasov wrote: > В cups-1.1.6-ipl1mdk возникают такие же проблемы с TMPDIR, как и в samba. > Если сделать из-под root service cups restart, после этого не работает > администрирование через Web-интерфейс. После unset TMPDIR все встает на > место. > > Возможно, требуется глобальное решение этой проблемы для всех скриптов из > /etc/rc.d/init.d ? > Можно поставить SECURE_TMP=0 в /etc/sysconfig/system > > _______________________________________________ > Mandrake-russian mailing list > Mandrake-russian@altlinux.ru > http://altlinux.ru/mailman/listinfo/mandrake-russian -- [ Vadim V. Zhytnikov <vvzhy@mail.ru> <vvzhy@td.lpi.ac.ru> ] ^ permalink raw reply [flat|nested] 5+ messages in thread
* [mdk-re] Re: [mdk-re] cups-1.1.6-ipl1mdk - проблемы с TMPDIR 2001-05-16 17:43 ` Vadim V. Zhytnikov @ 2001-05-16 17:50 ` Dmitry V. Levin 2001-05-16 19:46 ` Sergey Vlasov 0 siblings, 1 reply; 5+ messages in thread From: Dmitry V. Levin @ 2001-05-16 17:50 UTC (permalink / raw) To: ALT Linux Spring mailing list [-- Attachment #1: Type: text/plain, Size: 916 bytes --] On Wed, May 16, 2001 at 05:48:26PM +0400, Vadim V. Zhytnikov wrote: > > В cups-1.1.6-ipl1mdk возникают такие же проблемы с TMPDIR, как и в samba. > > Если сделать из-под root service cups restart, после этого не работает > > администрирование через Web-интерфейс. После unset TMPDIR все встает на > > место. > > > > Возможно, требуется глобальное решение этой проблемы для всех скриптов из > > /etc/rc.d/init.d ? Нет, надо фиксить каждый конкретный сервис. > Можно поставить SECURE_TMP=0 в /etc/sysconfig/system Можно, но НЕ НУЖНО. Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@alt-linux.org ALT Linux Team http://www.altlinux.ru/ Fandra Project http://www.fandra.org/ +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mdk-re] Re: [mdk-re] cups-1.1.6-ipl1mdk - проблемы с TMPDIR 2001-05-16 17:50 ` [mdk-re] " Dmitry V. Levin @ 2001-05-16 19:46 ` Sergey Vlasov 2001-05-16 20:13 ` Aleksey Novodvorsky 0 siblings, 1 reply; 5+ messages in thread From: Sergey Vlasov @ 2001-05-16 19:46 UTC (permalink / raw) To: mandrake-russian On Wed, 16 May 2001 17:58:57 +0400 "Dmitry V. Levin" <ldv@alt-linux.org> wrote: > On Wed, May 16, 2001 at 05:48:26PM +0400, Vadim V. Zhytnikov wrote: > > > В cups-1.1.6-ipl1mdk возникают такие же проблемы с TMPDIR, как и в > samba. > > > Если сделать из-под root service cups restart, после этого не > работает > > > администрирование через Web-интерфейс. После unset TMPDIR все встает > на > > > место. > > > > > > Возможно, требуется глобальное решение этой проблемы для всех > скриптов из > > > /etc/rc.d/init.d ? > > Нет, надо фиксить каждый конкретный сервис. А что будет, если пользователь поставит "неродной" пакет? Насколько я помню, декларируется совместимость Spring с пакетами от RedHat. Кстати, TMPDIR - не единственная проблемная переменная, просто самая заметная. Например, некоторые сервисы могут реагировать на LANG/LC_* (вроде бы PostgreSQL так себя вел, по крайней мере раньше). Можно частично поправить дело, например, путем очистки окружения в /sbin/service. В идеальном случае надо вычищать до того же состояния, что и при начальной загрузке. Для особых случаев к нему можно добавить ключ, отменяющий чистку (например, назовем его -p, --preserve-environment - по аналогии с su). ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mdk-re] Re: [mdk-re] cups-1.1.6-ipl1mdk - проблемы с TMPDIR 2001-05-16 19:46 ` Sergey Vlasov @ 2001-05-16 20:13 ` Aleksey Novodvorsky 0 siblings, 0 replies; 5+ messages in thread From: Aleksey Novodvorsky @ 2001-05-16 20:13 UTC (permalink / raw) To: mandrake-russian On Wed, 16 May 2001 19:51:21 +0400 Sergey Vlasov <vsu@mivlgu.murom.ru> wrote: >. > > А что будет, если пользователь поставит "неродной" пакет? > Насколько я > помню, декларируется совместимость Spring с пакетами от > RedHat. Нет, не декларируется. > Rgrds, AEN ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-05-16 20:13 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-05-14 20:25 [mdk-re] cups-1.1.6-ipl1mdk - проблемы с TMPDIR Sergey Vlasov 2001-05-16 17:43 ` Vadim V. Zhytnikov 2001-05-16 17:50 ` [mdk-re] " Dmitry V. Levin 2001-05-16 19:46 ` Sergey Vlasov 2001-05-16 20:13 ` Aleksey Novodvorsky
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git