* [Comm] bugs in ivman?
@ 2006-05-18 10:03 Dmytry Kovalskyy
2006-05-18 8:22 ` Eugene Ostapets
0 siblings, 1 reply; 4+ messages in thread
From: Dmytry Kovalskyy @ 2006-05-18 10:03 UTC (permalink / raw)
To: ALT Linux Community
Привет,
Ковыряния с ивманом показали, что он таки работает, но настройка ивмана для
того что он запускал
sudo /etc/init.d/bluetooth start
sudo rfcomm bind 0 XX:XX:XX:XX:XX 1
при вставлении в ноут блютус адаптера не работает изза самого демона ивмана.
Чтобы ивман _выполнил_ эти две команды его обязательно нада перезапустить
ручками после загрузки системы.
Итак, что происходит. я внес такую запись в
/etc/ivman/IvmConfigActions.xmд
<ivm:Match name="hal.linux.subsystem" value="bluetooth">
<ivm:Match name="hal.info.category" value="bluetooth_hci" />
<ivm:Option name="exec"
value="/usr/bin/sudo /etc/init.d/bluetooth start" />
<ivm:Option name="exec" value="/usr/bin/sudo /usr/bin/rfcomm
bind 0 00:0A:D9:82:25:61 1" />
<ivm:Option name="execun"
value="/usr/bin/sudo /etc/init.d/bluetooth stop" />
</ivm:Match>
а в /etc/sudoers
ivman dnote = NOPASSWD: /etc/init.d/bluetooth *
ivman dnote = NOPASSWD: /usr/bin/rfcomm *
после загрузки компа, при вставлении блютусины в логах (12ая консоль) вижу
что девайс ивманом опознан и
... ivman: Running: /usr/bin/sudo /etc/init.d/bluetooth start
... ivman: Running: /usr/bin/sudo rfcomm bind 0 XX:XX:XX:XX:XX 1
однако реально ничего не происходит
[root@dnote root]# service bluetooth status
which: no hid2hci in (/sbin:/bin:/usr/sbin:/usr/bin)
hcid is stopped
[root@dnote root]# l /dev/rfcomm0
ls: /dev/rfcomm0: No such file or directory
Если же я перезапускаю сервис ивмана руками
[root@dnote root]# service ivman restart
Stopping ivman service: [ DONE ]
Starting ivman service: [ DONE ]
то реакция ивмана на вставление блютусины ужо правильная
May 18 10:05:30 dnote bluetooth: hcid startup succeeded
May 18 10:05:30 dnote hcid[24088]: HCI dev 0 up
May 18 10:05:30 dnote hcid[24088]: Starting security manager 0
May 18 10:05:30 dnote sdpd[24120]: Bluetooth SDP daemon
[root@dnote root]# l /dev/rfcomm0
crw-rw---- 1 root root 216, 0 May 18 10:05 /dev/rfcomm0
Таким образом без перезапуска ивмана судо программа не испольняется
Дима
--
Sincerely yours,
Ph.D. Dmytro Kovalskyy
Institute of Molecular Biology & Genetics
150 Akad. Zabolotnogo Street,
Kiev-143, 03143
UKRAINE
E-mail: dikov@imbg.org.ua
Fax: +380 (44) 526-0759
Tel.: +380 (44) 526-5405
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] bugs in ivman?
2006-05-18 10:03 [Comm] bugs in ivman? Dmytry Kovalskyy
@ 2006-05-18 8:22 ` Eugene Ostapets
2006-05-18 9:46 ` Dmytro Kovalskyy
2006-05-18 11:31 ` Dmytro Kovalskyy
0 siblings, 2 replies; 4+ messages in thread
From: Eugene Ostapets @ 2006-05-18 8:22 UTC (permalink / raw)
To: ALT Linux Community
18.05.06, Dmytry Kovalskyy<dikov imbg.org.ua> написал(а):
> Привет,
>
> Ковыряния с ивманом показали, что он таки работает, но настройка ивмана для
> того что он запускал
> sudo /etc/init.d/bluetooth start
> sudo rfcomm bind 0 XX:XX:XX:XX:XX 1
> при вставлении в ноут блютус адаптера не работает изза самого демона ивмана.
> Чтобы ивман _выполнил_ эти две команды его обязательно нада перезапустить
> ручками после загрузки системы.
Очень странно... Можно попросить выполнить на это действие в штатном
режиме загрузки и после ручного презапуска следующий скрипт на
втыкание блютуза:
#!/bin/sh
echo "---" >> /tmp/ivman.log
date >> /tmp/ivman.log
env >> /tmp/ivman.log
echo "$@" >> /tmp/ivman.log
И полученный лог приложить в багзилу?
--
С уважением,
Евгений Остапец
uin: 23747217
jid: eugene_ostapets@jabber.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] bugs in ivman?
2006-05-18 8:22 ` Eugene Ostapets
@ 2006-05-18 9:46 ` Dmytro Kovalskyy
2006-05-18 11:31 ` Dmytro Kovalskyy
1 sibling, 0 replies; 4+ messages in thread
From: Dmytro Kovalskyy @ 2006-05-18 9:46 UTC (permalink / raw)
To: ALT Linux Community
Eugene Ostapets сообщил(а):
> 18.05.06, Dmytry Kovalskyy<dikov imbg.org.ua> написал(а):
>> Привет,
>>
>> Ковыряния с ивманом показали, что он
>> таки работает, но настройка ивмана для
>> того что он запускал
>> sudo /etc/init.d/bluetooth start
>> sudo rfcomm bind 0 XX:XX:XX:XX:XX 1
>> при вставлении в ноут блютус адаптера
>> не работает изза самого демона ивмана.
>> Чтобы ивман _выполнил_ эти две команды
>> его обязательно нада перезапустить
>> ручками после загрузки системы.
> Очень странно... Можно попросить
> выполнить на это действие в штатном
> режиме загрузки и после ручного
> презапуска следующий скрипт на
> втыкание блютуза:
> #!/bin/sh
> echo "---" >> /tmp/ivman.log
> date >> /tmp/ivman.log
> env >> /tmp/ivman.log
> echo "$@" >> /tmp/ivman.log
>
> И полученный лог приложить в багзилу?
ок, Я еще хочу добавит ьполный вывод с 12
консоли, но не знаю как это сделать. Я не
могу найти в какой файл выводятся логи
демонами ivman и sudo
> --
> С уважением,
> Евгений Остапец
> uin: 23747217
> jid: eugene_ostapets@jabber.ru
> _______________________________________________
> Community mailing list
> Community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
--
PhD Dmytro Kovalskyy dikov@imbg.org.ua
IMBG of UAS tel:+380445265405
150, Zabolotnogo str, fax:+380445260759
Kiev, 03143 Ukraine mob:+380442019198
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] bugs in ivman?
2006-05-18 8:22 ` Eugene Ostapets
2006-05-18 9:46 ` Dmytro Kovalskyy
@ 2006-05-18 11:31 ` Dmytro Kovalskyy
1 sibling, 0 replies; 4+ messages in thread
From: Dmytro Kovalskyy @ 2006-05-18 11:31 UTC (permalink / raw)
To: ALT Linux Community
> И полученный лог приложить в багзилу?
https://bugzilla.altlinux.org/show_bug.cgi?id=9590
--
PhD Dmytro Kovalskyy dikov@imbg.org.ua
IMBG of UAS tel:+380445265405
150, Zabolotnogo str, fax:+380445260759
Kiev, 03143 Ukraine mob:+380442019198
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-05-18 11:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-18 10:03 [Comm] bugs in ivman? Dmytry Kovalskyy
2006-05-18 8:22 ` Eugene Ostapets
2006-05-18 9:46 ` Dmytro Kovalskyy
2006-05-18 11:31 ` Dmytro Kovalskyy
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