ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Странность rc.local в t6?
@ 2011-08-18  8:47 Vladimir Istrati
  2011-08-18  9:28 ` Sergey Shilov
  2011-08-18 16:14 ` Speccyfighter
  0 siblings, 2 replies; 6+ messages in thread
From: Vladimir Istrati @ 2011-08-18  8:47 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Добрый день!

После обновления с 5.1 до t6 заметил такую (неприятную) вещь:

До...:

В rc.local естьб 2 строки:
(само собой, в sudoers добавлены права на монтирование)

sudo /bin/mount -t cifs -o 
user=ira,password=ira,uid=121,gid=506,iocharset=utf8 //192.168.1.151/Ira 
/home/ira/Documents/X

sudo /bin/mount -t cifs -o 
user=ira,password=ira,uid=121,gid=506,iocharset=utf8 //192.168.1.151/Temp 
/home/ira/Documents/Temp

первая - к "личному", вторая - "обменник". 
Почему не в fstab? Потому что сеть поднимается позже...

Все отрабатывалось, ресурсы монтировались.

После:

Отрабатывает только первая строчка. Второй как бы и нет!

Что интересно - ручной запуск дает тот же результат!
Пробовал засунуть этот же файл в ./kde/Autostart - тот же эффект (только 
первая строка)

Проблему решил - положил в ./kde/Autostart 2 "однострочных" файла.

Но вопрос остается: Почему в исполняемом файле (t6) отрабатывает только первая 
строка?

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

* Re: [Comm] Странность rc.local в t6?
  2011-08-18  8:47 [Comm] Странность rc.local в t6? Vladimir Istrati
@ 2011-08-18  9:28 ` Sergey Shilov
  2011-08-18  9:41   ` Vladimir Istrati
  2011-08-18 16:14 ` Speccyfighter
  1 sibling, 1 reply; 6+ messages in thread
From: Sergey Shilov @ 2011-08-18  9:28 UTC (permalink / raw)
  To: ALT Linux Community general discussions


On Aug 18, 2011, at 11:47 AM, Vladimir Istrati wrote:


> В rc.local 
Который выполняется от root

> (само собой, в sudoers добавлены права на монтирование)
Кому?!

Вроде как странность в 
> sudo /bin/...

А без sudo ?



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

* Re: [Comm] Странность rc.local в t6?
  2011-08-18  9:28 ` Sergey Shilov
@ 2011-08-18  9:41   ` Vladimir Istrati
  2011-08-18 11:44     ` Sergey Shilov
  0 siblings, 1 reply; 6+ messages in thread
From: Vladimir Istrati @ 2011-08-18  9:41 UTC (permalink / raw)
  To: ALT Linux Community general discussions

В сообщении от Четверг 18 августа 2011 12:28:59 автор Sergey Shilov написал:
> On Aug 18, 2011, at 11:47 AM, Vladimir Istrati wrote:
> > В rc.local
> 
> Который выполняется от root
Повторюсь:
Пробовал засунуть этот же файл в ./kde/Autostart - тот же эффект (только 
первая строка)
...и от пользователя тоже...
> 
> > (само собой, в sudoers добавлены права на монтирование)
> 
> Кому?!

пользователю Ире (ira)  ))
> 
> Вроде как странность в
> 
> > sudo /bin/...
> 
> А без sudo ?

от рута тоже отрабатывается только одна строка (собственно в этом вопрос)


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

* Re: [Comm] Странность rc.local в t6?
  2011-08-18  9:41   ` Vladimir Istrati
@ 2011-08-18 11:44     ` Sergey Shilov
  0 siblings, 0 replies; 6+ messages in thread
From: Sergey Shilov @ 2011-08-18 11:44 UTC (permalink / raw)
  To: ALT Linux Community general discussions


On Aug 18, 2011, at 12:41 PM, Vladimir Istrati wrote:
>>> (само собой, в sudoers добавлены права на монтирование)
>> 
>> Кому?!

> пользователю Ире (ira)  ))
>> 
>>> sudo /bin/...
>> 
>> А без sudo ?
> 
> от рута тоже отрабатывается только одна строка (собственно в этом вопрос)

из rc.local  и без sudo?
что в messages при загрузке в части касающейся?



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

* Re: [Comm] Странность rc.local в t6?
  2011-08-18  8:47 [Comm] Странность rc.local в t6? Vladimir Istrati
  2011-08-18  9:28 ` Sergey Shilov
@ 2011-08-18 16:14 ` Speccyfighter
  2011-08-19  9:50   ` Vladimir Istrati
  1 sibling, 1 reply; 6+ messages in thread
From: Speccyfighter @ 2011-08-18 16:14 UTC (permalink / raw)
  To: community

18.08.2011 11:47, Vladimir Istrati пишет:
> Добрый день!
>
>
Вам тоже.

> Проблему решил - положил в ./kde/Autostart 2 "однострочных" файла.
>
> Но вопрос остается: Почему в исполняемом файле (t6) отрабатывает только первая
> строка?
Вариант (на мусор, хотя бред):
sleep 10
например, между строками ничего не даст?



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

* Re: [Comm] Странность rc.local в t6?
  2011-08-18 16:14 ` Speccyfighter
@ 2011-08-19  9:50   ` Vladimir Istrati
  0 siblings, 0 replies; 6+ messages in thread
From: Vladimir Istrati @ 2011-08-19  9:50 UTC (permalink / raw)
  To: ALT Linux Community general discussions


> Вариант (на мусор, хотя бред):
> sleep 10
> например, между строками ничего не даст?

Бред продолжается, хорошо хоть - очень локально!

Сделал переезд на соседней машине (обе машины - клоны и по железу и по 
системе) - все нормально. Строки отрабатывают.

Подозреваю, что из-за "не совсем" корректных действий по переезду с 5.1 на t6 
(описано в "Upgrade 5.1->t6") что-то поломалось.  )))

Корректный переезд - и проблемы нет! 

В общем, спасибо откликнувшимся!

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

end of thread, other threads:[~2011-08-19  9:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-18  8:47 [Comm] Странность rc.local в t6? Vladimir Istrati
2011-08-18  9:28 ` Sergey Shilov
2011-08-18  9:41   ` Vladimir Istrati
2011-08-18 11:44     ` Sergey Shilov
2011-08-18 16:14 ` Speccyfighter
2011-08-19  9:50   ` Vladimir Istrati

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