Hi,
I am running a spin of Ubuntu 12.04 which I have been building for several months now and which is pretty stable and works well according to feedback and to my own experience. It is fully up to date and I have been trying to get jobs-admin to work several times in Ubuntu Precise (in this version and also other ones such as Lubuntu and Xubuntu which I happen to boot once a while).
I can't get jobs-admin to change anything in the services started, be it as simple user or by starting it from console with gksu.
Here is what I get when starting it from a console:
**************
$ jobs-admin
No module named pkit
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 607, in msg_reply_handler
*message.get_args_list()))
File "/usr/lib/python2.7/dist-packages/JobsAdmin/__init__.py", line 232, in error
raise e
dbus.exceptions.DBusException: org.freedesktop.PolicyKit1.Error.Failed: Error getting subject: Error parsing unix-process subject: Value for key `start-time' found but is of type i and type t was expected
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 607, in msg_reply_handler
*message.get_args_list()))
File "/usr/lib/python2.7/dist-packages/JobsAdmin/__init__.py", line 232, in error
raise e
dbus.exceptions.DBusException: org.freedesktop.PolicyKit1.Error.Failed: Error getting subject: Error parsing unix-process subject: Value for key `start-time' found but is of type i and type t was expected
**************
I think something is wrong with jobs-admin... not sure exactly what?
For example, I use the zram-config service, which has been turned into an upstart-job as it shows in the last line just above : this service does not appear in jobs-admin, which would tend to make me think Olivier is right, the upstart-jobs don't show.
So else than giving up on managing services from the beginning, how can we do that ?
ie : I want to have cups, openssh-server, (starts sshd), update-notifier, but sometimes or for some of my machines I just want them installed and ready to start on the fly when I want them to work. Is it possible to setup which service will be used and which won't be ? Isn't jobs-admin supposed to make this task easy ?
Hi,
I am running a spin of Ubuntu 12.04 which I have been building for several months now and which is pretty stable and works well according to feedback and to my own experience. It is fully up to date and I have been trying to get jobs-admin to work several times in Ubuntu Precise (in this version and also other ones such as Lubuntu and Xubuntu which I happen to boot once a while).
Here is another testimonial related to this issue: beta.linuxvilla ge.net/ index.php/ topic,297. msg2196. html#msg2196
http://
I can't get jobs-admin to change anything in the services started, be it as simple user or by starting it from console with gksu.
Here is what I get when starting it from a console: python2. 7/dist- packages/ dbus/connection .py", line 607, in msg_reply_handler get_args_ list()) ) python2. 7/dist- packages/ JobsAdmin/ __init_ _.py", line 232, in error .DBusException: org.freedesktop .PolicyKit1. Error.Failed: Error getting subject: Error parsing unix-process subject: Value for key `start-time' found but is of type i and type t was expected python2. 7/dist- packages/ dbus/connection .py", line 607, in msg_reply_handler get_args_ list()) ) python2. 7/dist- packages/ JobsAdmin/ __init_ _.py", line 232, in error .DBusException: org.freedesktop .PolicyKit1. Error.Failed: Error getting subject: Error parsing unix-process subject: Value for key `start-time' found but is of type i and type t was expected
**************
$ jobs-admin
No module named pkit
Traceback (most recent call last):
File "/usr/lib/
*message.
File "/usr/lib/
raise e
dbus.exceptions
Traceback (most recent call last):
File "/usr/lib/
*message.
File "/usr/lib/
raise e
dbus.exceptions
**************
I think something is wrong with jobs-admin... not sure exactly what?
Here are the services listed in /etc/init:
************** vbox:/etc/ init$ ls interface- container. conf interface- security. conf manager. conf splash. conf upstart- bridge. conf detect. conf procps.conf alt-delete. conf rc.conf enable. conf rc-sysinit.conf udev.conf resolvconf.conf job-log. conf setvtrgb.conf recovery. conf shutdown.conf init-tools. conf tty6.conf graphics. conf reboot. conf udev-finish.conf debugfs. conf udevtrigger.conf socket- bridge. conf udev-bridge. conf other.conf interface. conf zram-config.conf vbox:/etc/ init$
melodie@
acpid.conf network-
alsa-restore.conf network-
alsa-store.conf network-
anacron.conf passwd.conf
apport.conf plymouth.conf
atd.conf plymouth-log.conf
binfmt-support.conf plymouth-
console.conf plymouth-stop.conf
console-setup.conf plymouth-
container-
control-
cron.conf rcS.conf
cryptdisks-
cryptdisks-
dbus.conf rfkill-restore.conf
dmesg.conf rfkill-store.conf
failsafe.conf rsyslog.conf
flush-early-
friendly-
hostname.conf tty1.conf
hwclock.conf tty2.conf
hwclock-save.conf tty3.conf
hybrid-gfx.conf tty4.conf
irqbalance.conf tty5.conf
module-
mountall.conf udev.conf
mountall-net.conf udev-fallback-
mountall-
mountall-shell.conf udevmonitor.conf
mounted-
mounted-dev.conf ufw.conf
mounted-proc.conf upstart-
mounted-run.conf upstart-
mounted-tmp.conf ureadahead.conf
mounted-var.conf ureadahead-
networking.conf wait-for-state.conf
network-
melodie@
**************
and here the ones listed in /etc/init.d:
**************
melodie@ vbox:/etc/ init.d$ ls -l upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job interface- container -> /lib/init/ upstart- job interface- security -> /lib/init/ upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- bridge -> /lib/init/ upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job upstart- job single upstart- job graphics -> /lib/init/ upstart- job upstart- job upstart- job upstart- job upstart- job guest-utils upstart- job vbox:/etc/ init.d$
total 172
lrwxrwxrwx 1 root root 21 mai 2 18:03 acpid -> /lib/init/
-rwxr-xr-x 1 root root 652 janv. 5 2010 acpi-support
lrwxrwxrwx 1 root root 21 mai 2 18:03 alsa-restore -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 alsa-store -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 anacron -> /lib/init/
-rwxr-xr-x 1 root root 1663 nov. 4 2009 apmd
-rwxr-xr-x 1 root root 4596 avril 12 2012 apparmor
lrwxrwxrwx 1 root root 21 avril 11 19:15 apport -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 atd -> /lib/init/
lrwxrwxrwx 1 root root 21 nov. 25 2011 binfmt-support -> /lib/init/
-rwxr-xr-x 1 root root 2444 avril 14 2012 bootlogd
lrwxrwxrwx 1 root root 21 mai 2 18:03 console-setup -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 cron -> /lib/init/
-rwxr-xr-x 1 root root 922 mars 8 2012 cryptdisks
-rwxr-xr-x 1 root root 871 mars 8 2012 cryptdisks-early
lrwxrwxrwx 1 root root 21 mai 2 18:03 cryptdisks-enable -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 cryptdisks-udev -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 dbus -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 dmesg -> /lib/init/
-rwxr-xr-x 1 root root 1242 déc. 13 2011 dns-clean
lrwxrwxrwx 1 root root 21 mai 2 18:03 friendly-recovery -> /lib/init/
-rwxr-xr-x 1 root root 1105 avril 17 2012 grub-common
-rwxr-xr-x 1 root root 1329 avril 14 2012 halt
lrwxrwxrwx 1 root root 21 mai 2 18:03 hostname -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 hwclock -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 hwclock-save -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 irqbalance -> /lib/init/
-rwxr-xr-x 1 root root 1293 avril 14 2012 killprocs
-rwxr-xr-x 1 root root 1986 déc. 21 2011 laptop-mode
-rwxr-xr-x 1 root root 869 févr. 6 2011 lm-sensors
lrwxrwxrwx 1 root root 21 mai 2 18:03 module-init-tools -> /lib/init/
-rwxr-xr-x 1 root root 2535 août 7 2010 netplug
-rwxr-xr-x 1 root root 2797 févr. 13 2012 networking
lrwxrwxrwx 1 root root 21 mai 2 18:03 network-interface -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 network-
lrwxrwxrwx 1 root root 21 mai 2 18:03 network-
lrwxrwxrwx 1 root root 21 mai 2 18:03 network-manager -> /lib/init/
-rwxr-xr-x 1 root root 1843 nov. 20 2011 nodm
-rwxr-xr-x 1 root root 1818 oct. 26 2011 ntp
-rwxr-xr-x 1 root root 882 avril 14 2012 ondemand
lrwxrwxrwx 1 root root 21 mai 2 18:03 passwd -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 plymouth -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 plymouth-log -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 plymouth-splash -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 plymouth-stop -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 plymouth-
-rwxr-xr-x 1 root root 561 févr. 4 2011 pppd-dns
lrwxrwxrwx 1 root root 21 mai 2 18:03 procps -> /lib/init/
-rwxr-xr-x 1 root root 8635 juil. 26 2012 rc
-rwxr-xr-x 1 root root 801 avril 14 2012 rc.local
-rwxr-xr-x 1 root root 117 juil. 26 2012 rcS
-rw-r--r-- 1 root root 2427 juil. 26 2012 README
-rwxr-xr-x 1 root root 639 avril 14 2012 reboot
lrwxrwxrwx 1 root root 21 mai 2 18:03 resolvconf -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 rfkill-restore -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 rfkill-store -> /lib/init/
-rwxr-xr-x 1 root root 4395 nov. 8 2011 rsync
lrwxrwxrwx 1 root root 21 mai 2 18:03 rsyslog -> /lib/init/
-rwxr-xr-x 1 root root 4321 avril 14 2012 sendsigs
lrwxrwxrwx 1 root root 21 mai 2 18:03 setvtrgb -> /lib/init/
-rwxr-xr-x 1 root root 590 avril 14 2012 single
-rw-r--r-- 1 root root 4304 juil. 26 2012 skeleton
-rwxr-xr-x 1 root root 567 avril 14 2012 stop-bootlogd
-rwxr-xr-x 1 root root 1143 avril 14 2012 stop-bootlogd-
-rwxr-xr-x 1 root root 700 oct. 27 2011 sudo
lrwxrwxrwx 1 root root 21 mai 2 18:03 udev -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 udev-fallback-
lrwxrwxrwx 1 root root 21 mai 2 18:03 udev-finish -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 udevmonitor -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 udevtrigger -> /lib/init/
lrwxrwxrwx 1 root root 21 mai 2 18:03 ufw -> /lib/init/
-rwxr-xr-x 1 root root 2800 avril 14 2012 umountfs
-rwxr-xr-x 1 root root 2211 avril 14 2012 umountnfs.sh
-rwxr-xr-x 1 root root 2926 avril 14 2012 umountroot
-rwxr-xr-x 1 root root 1039 nov. 9 2011 unattended-upgrades
-rwxr-xr-x 1 root root 1985 avril 14 2012 urandom
-rwxr-xr-x 1 root root 1364 avril 5 2012 virtualbox-
-rwxr-xr-x 1 root root 2666 mars 22 2012 x11-common
lrwxrwxrwx 1 root root 21 mai 2 18:03 zram-config -> /lib/init/
melodie@
**************
For example, I use the zram-config service, which has been turned into an upstart-job as it shows in the last line just above : this service does not appear in jobs-admin, which would tend to make me think Olivier is right, the upstart-jobs don't show.
So else than giving up on managing services from the beginning, how can we do that ?
ie : I want to have cups, openssh-server, (starts sshd), update-notifier, but sometimes or for some of my machines I just want them installed and ready to start on the fly when I want them to work. Is it possible to setup which service will be used and which won't be ? Isn't jobs-admin supposed to make this task easy ?
Thanks for some lights on the problem,
Mélodie