Tag Archives: Ubuntu

DBus or Upstart

Dbus를 이용해 이제는 시스템 데몬과 같은 프로그램까지 실행할 수 있게 될 것 같다.(Dbus System Activation is upstream 참고) 디자인 문서를 보니, 다음과 같이 서비스 파일을 정의하면 해당 메시지가 발생했을때 해당 서버가 동작하는 방식이다.
[D-BUS Service]
Name=org.me.test
Exec=/usr/sbin/dbus-test-server.py
User=ftp
다음과 같이 직접 실행할 수도 있다.
dbus-send –system –print-reply
 –dest=org.freedesktop.DBus
 /org/freedesktop/DBus
 org.freedesktop.DBus.StartServiceByName
 string:org.freedesktop.Hal uint32:0
이렇게 되면 현재 Ubuntu 시스템의 기반이 되는 upstart나 기존의 [...] Continue reading

Posted in Development | Tagged , | Comments Off

Ubuntu 7.04 (feisty) 느린 SSH 접속

Ubuntu 7.04에서 ssh 접속 등을 시도할때 다른 시스템보다 초기 접속이 느린 이유가 avahi-daemon 관련 설정 때문이라고 한다. 그래서 /etc/nsswitch.conf 파일에서 ‘hosts:’ 부분을 다음과 같이 수정해보았더니, 역시 빨리 접속된다.
hosts: files dns
정식 릴리스에 반영되기에는 시간이 촉박한 것 같다…
Continue reading

Posted in Development | Tagged , | Comments Off