[Bug 457279] Review Request: cerebro - Cerebro provides mesh network services and presence information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=457279





--- Comment #8 from Polychronis Ypodimatopoulos <ypod@xxxxxxx>  2008-08-23 16:32:56 EDT ---
(In reply to comment #7)
> Review
> 
> Point is I could not start server for me at least on my machine. The init.d
> script seems to be very bad:

Yes it is. I 'll get back with a better one.


> I tried with :
> 
> [rpmbuild@rocky cerebro]$ cerebroui --help

cerebroui is intended to be used as a sample application for cerebro, but
should be executed while cerebro is running.

> master True
> Error in sys.excepthook:
> TypeError: print_exc() takes at most 2 arguments (3 given)
> 
> Original exception was:
> Traceback (most recent call last):
>   File "/usr/bin/cerebroui", line 1038, in <module>
>     gui = GUI()
>   File "/usr/bin/cerebroui", line 291, in __init__
>     CerebroInterface.__init__(self, ATYPE)
>   File "/usr/lib/python2.5/site-packages/cerebro/interface.py", line 58, in
> __init__
>     self.signup()
>   File "/usr/lib/python2.5/site-packages/cerebro/interface.py", line 62, in
> signup
>     iface = bus.get_object('org.laptop.cerebro', '/org/laptop/cerebro')
>   File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 244, in get_object
>     follow_name_owner_changes=follow_name_owner_changes)
>   File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 241, in
> __init__
>     self._named_service = conn.activate_name_owner(bus_name)
>   File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 183, in
> activate_name_owner
>     self.start_service_by_name(bus_name)
>   File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 281, in
> start_service_by_name
>     'su', (bus_name, flags)))
>   File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 607, in
> call_blocking
>     message, timeout)
> dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The
> name org.laptop.cerebro was not provided by any .service files
> [rpmbuild@rocky cerebro]$ 
> 
> [rpmbuild@rocky cerebro]$ /etc/init.d/cerebro start
> touch: cannot touch `/var/lock/subsys/cerebro': Permission denied ]


cerebro is a service, not an application and as such it requires root
privileges to execute. Chief among the reasons for elevated privileges is the
use of raw sockets and the attachment to org.laptop.cerebro dbus interface.


> [!] License -- License seems to be GPLv2+ as I can check from COPYING & src 


Huh? what is wrong with GPLv2+ ?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]