mongrel_cluster_ctl mishandles mongrel_cluster.yml files

Bug #376061 reported by auxbuss
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mongrel-cluster (Ubuntu)
New
Undecided
Direvius

Bug Description

Binary package hint: mongrel-cluster

Three problems:

1. The mongrel_cluster_ctl script defaults to "/etc/mongrel_cluster" when it should be "/etc/mongrel-cluster"

2. The script looks for .conf files in the above directory. It should be looking for symlinks in the sites-enabled directory. The contents of sites-enabled and sites-available are completely ignored.

The quick fix is to make the edit for (1) and add symlinks in that folder named "rail_app_name.conf".

3. man mongrel_cluster_ctl does not mention the --clean option. This is a very useful feature are should be noted.

Revision history for this message
auxbuss (launchpad-auxbuss) wrote :

The problem with mongrel_cluster_ctl is masked when using /etc/init.d/mongrel-cluster, because the path is hardcoded.

While /etc/init.d/mongrel-cluster looks in /etc/mongrel-cluster/sites-enabled for clusters to start, because it uses mongrel_cluster_ctl, then the symlinks must be suffixed by .conf or .yml. This is confusing, since folk will be familiar with the apache config and expect it to work the same way.

Direvius (direvius)
Changed in mongrel-cluster (Ubuntu):
assignee: nobody → Direvius (direvius)
Revision history for this message
Direvius (direvius) wrote :

uploaded a patched package to ppa:direvius/direvius

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.