Auteur Sujet: Ubuntu System Jobs Administration  (Lu 7347 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne melodie

  • Administrateur
  • Membre Héroïque
  • *****
  • Messages: 1777
    • Citrotux
Ubuntu System Jobs Administration
« le: 10 novembre 2013 à 01:03:35 »
Managing the Jobs (services) in Ubuntu would be much nicer if it was possible to do it with a Graphical User Interface instead of having to deal with cryptic command lines (I say it that way, while I like very much the command line I can't really get into it when it comes to jobs in Ubuntu).

Here is the content of a research I did several months ago. I just extracted it from this thread where it has been talked about: Bento 2 mini as I would like to emphasize on this fail, for a man who was in charge some day promised to come back upload what he once accidentally erased, and never came back to re upload the fix he promised. I let you read here after:

Citer
Jacob Peddicord reported on 2010-08-05
https://bugs.launchpad.net/jobsadmin/+bug/613946

Citer
The UI has gone through three different designs during GSoC:

* The initial list & details design
* Full-window listview (feedback from mpt)
* Two-pane listview and settings

Each has built on the previous, and especially for the final two-pane design I've tried to keep mpt's feedback in mind. The reason for reverting to a two-pane display is due to the emphasis on job settings: we want to make them more visible for tweaking, not hidden behind a password-protected button. Further changes likely need to be done, however, and this bug is open for that.

which bug was confirmed by Jacob Peddicord on 2010-08-05. We can see he confirmed because after he wrote the bug report he changed the status himself:
Citer
Changed in jobsadmin:
status:    New → Confirmed

(this is strange, shouldn't this be managed by someone who is not the author of a bug or a wish?)

next bug reported:
https://bugs.launchpad.net/jobsadmin/+bug/705158
by Colin Law on 2011-01-19

Citer
ug Description

Installed jobs-admin (and jobservice) 0.8.0-0ubuntu1 on Maverick from repository. On starting from System menu it appears to crash immediately. When run from terminal -
$ jobs-admin
No module named pkit
Traceback (most recent call last):
  File "/usr/bin/jobs-admin", line 31, in <module>
    ui.load_jobs()
  File "/usr/lib/pymodules/python2.6/JobsAdmin/__init__.py", line 108, in load_jobs
    weight = 700 if job.running else 400
  File "/usr/lib/pymodules/python2.6/JobsAdmin/remote.py", line 68, in __getattr__
    retry(self._connect, call)
  File "/usr/lib/pymodules/python2.6/JobsAdmin/util.py", line 26, in retry
    return func()
  File "/usr/lib/pymodules/python2.6/JobsAdmin/remote.py", line 67, in call
    dbus_interface=PROPERTIES_IFACE)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.ValueError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/pymodules/python2.6/JobService/job.py", line 40, in GetAll
    self._load_properties()
  File "/usr/lib/pymodules/python2.6/JobService/job.py", line 122, in _load_properties
    self._props = self.root.proxy.get_service(self.name)
  File "/usr/lib/pymodules/python2.6/JobService/backends/__init__.py", line 111, in get_service
    info.update(bk.get_service(name))
  File "/usr/lib/pymodules/python2.6/JobService/backends/upstart_0_6.py", line 73, in get_service
    job_name, inst_name = self._split_job(name)
  File "/usr/lib/pymodules/python2.6/JobService/backends/upstart_0_6.py", line 136, in _split_job
    job_name, inst_name = name.split('/')
ValueError: too many values to unpack

answer by...
Citer
Jacob Peddicord (jpeddicord) wrote on 2011-01-20:    #1

It's already fixed in bzr; I just need to release and package it for Natty (and possibly backport to Maverick).
summary:    - jobs-admin crash on startup - No module named pkit
+ ValueError: too many values to unpack
Changed in jobsadmin:
importance:    Undecided → Medium
status:    New → Fix Committed

this brings us to a version which had been on his ppa and tested.
https://bugs.launchpad.net/jobsadmin/+bug/705158

read more starting from #8.

This is where it is disappointing:
https://bugs.launchpad.net/jobsadmin/+bug/782046

last post:
Citer
Jacob Peddicord (jpeddicord) wrote on 2011-06-20:    #3

Due to a personal fatfingering, I accidentally deleted the repository I was referring to and not the daily one. Sorry about that. I'll work on getting it back online. :-P

The version in Precise is the 0.8.0-0ubuntu3 and the launchpad page to his repos leads to a 404 error as you can see from here: https://launchpad.net/~jpeddicord/+archive/ppa/jobs

Citer
Certainly doesn't work here. At all. I'm getting the exact same results as this guy.

I have answered just after Olivier Blondel, as I did a few tests in Virtualbox to see what feedback and testimonial I could bring to his bug report:
https://bugs.launchpad.net/jobsadmin/+bug/917738/comments/1

and
https://bugs.launchpad.net/jobsadmin/+bug/917738/comments/2


I have also uploaded a few screenshots, some where you can see Jobs Admin in Ubuntu (not working in fact, as the numerous bug reports about it state), and the equivalent User Interfaces in Archlinux and in Fedora.

http://meets.free.fr/Downloads/Screenshots/Jobs/Ubuntu-System-Job-Administration-as-root.png

http://meets.free.fr/Downloads/Screenshots/Jobs/Ubuntu-System-Job-Administration.png

in the above one, you can notice on the right pane "System V". Obviously it does not fit with Ubuntu, this one using Upstart.

Archlinux now:
http://meets.free.fr/Downloads/Screenshots/Jobs/1-Archlinux-systemd-ui-git.png

http://meets.free.fr/Downloads/Screenshots/Jobs/2-Archlinux-systemd-ui-git.png

I was using a git version, which was the only one available. Well I don't need it anymore, the Archlinux wiki is there as a reminder for the command lines to use, which are quite simple. (Archlinux is not meant for users seeking especially to use gui tools anyhow, whereas Ubuntu is supposed to be the friendly distribution, right?).

And the one where it works best, fully detailed, and so easy to use!

http://meets.free.fr/Downloads/Screenshots/Jobs/Fedora-system-config-services.png

This is what I would enjoy using in all distributions, whether they are or not intended for end users.

Pass on the word!

Good leaders being scarce, following yourself is allowed.