ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Samba & TMPDIR
@ 2001-04-10 14:15 Sergey Bolshakoff
  2001-04-10 14:37 ` Alexander Bokovoy
  0 siblings, 1 reply; 2+ messages in thread
From: Sergey Bolshakoff @ 2001-04-10 14:15 UTC (permalink / raw)
  To: sisyphus

При SECURE_TMP=yes перезапуск Samba от root'а приводит к
неработоспособности оной. Вот что в /var/log/%machine:
---  
[2001/04/04 14:47:22, 0] smbd/service.c:make_connection(502)    
  Can't change directory to /root/tmp (Permission denied)
---
Приходится делать так: TMPDIR=/tmp /etc/init.d/smb restart,
что, согласитесь,  не очень то удобно. Вероятно, есть и прочие
места, где наличие переменной окружения TMPDIR=/root/tmp некстати.

samba-2.0.7-ipl22mdk
initscripts-5.49-ipl14mdk
2.4.2-ipl6mdk-up
-- 
	Трули ерз, Сергей.

"[Open Source] programming is like sex, one mistake and you have to support it
for the rest of your life."  ---  M. Sinz, CBM Inc.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] Samba & TMPDIR
  2001-04-10 14:15 [sisyphus] Samba & TMPDIR Sergey Bolshakoff
@ 2001-04-10 14:37 ` Alexander Bokovoy
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Bokovoy @ 2001-04-10 14:37 UTC (permalink / raw)
  To: sisyphus

On Tue, Apr 10, 2001 at 05:15:39PM +0300, Sergey Bolshakoff wrote:
> При SECURE_TMP=yes перезапуск Samba от root'а приводит к
> неработоспособности оной. Вот что в /var/log/%machine:
> ---  
> [2001/04/04 14:47:22, 0] smbd/service.c:make_connection(502)    
>   Can't change directory to /root/tmp (Permission denied)
> ---
> Приходится делать так: TMPDIR=/tmp /etc/init.d/smb restart,
> что, согласитесь,  не очень то удобно. Вероятно, есть и прочие
> места, где наличие переменной окружения TMPDIR=/root/tmp некстати.
В других местах у тебя пока не проявлялось?

Простейшее решение -- подправить /etc/init.d/smb на предмет прошивки ему
TMPDIR внутрь. К следующей неделе заработает новый сборщик Samba (Вадим
Попов), тогда и подправим.

-- 
Sincerely yours, Alexander Bokovoy 
  The Midgard Project    | ALT  Linux  Team | Minsk Linux Users Group
 www.midgard-project.org | www.altlinux.ru  |    www.minsk-lug.net 
-- Forgive and forget.
		-- Cervantes



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-04-10 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-10 14:15 [sisyphus] Samba & TMPDIR Sergey Bolshakoff
2001-04-10 14:37 ` Alexander Bokovoy

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git