When installing usm from bzr branch, setup.py symlinks /etc/init.d/usm badly

Bug #330649 reported by Andy Loughran
2
Affects Status Importance Assigned to Milestone
Ubuntu Server Manager
Invalid
Undecided
Oliver Marks

Bug Description

Installing using bzr instructions on the website..
setup.py

lrwxrwxrwx 1 root root 28 2009-02-17 17:49 usm -> /home/server/usm/manager/usm

ln: creating symbolic link `/etc/init.d/usm': File exists
mkdir: cannot create directory `/var/run/usm': File exists
./setup.sh: line 38: /etc/init.d/usm: No such file or directory
andy@genesis:~/usm/usr/share/usm$ vi setup.sh
andy@genesis:~/usm/usr/share/usm$ /etc/init.d/usm restart
-bash: /etc/init.d/usm: No such file or directory
andy@genesis:~/usm/usr/share/usm$ sudo chmod a+x /etc/init.d/usm
chmod: cannot operate on dangling symlink `/etc/init.d/usm'

Revision history for this message
Oliver Marks (oly) wrote :

okay, i am guessing you mean setup.sh as i could not find setup.py, but anyhow ignore it ie dont use it usm should run just by running usm.py as root, it then drops itsself to a different user account.
setup.sh will either be removed or may be needed for setup from a deb going to test on a clean machine and decide what needs to be done.

Changed in usm:
assignee: nobody → oly
status: New → In Progress
Revision history for this message
Oliver Marks (oly) wrote :

no longer needed, handled by usm.py

Changed in usm:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.