Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2015 15:45:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204558] www/uwsgi: rc script fails with non-default Python
Message-ID:  <bug-204558-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204558

            Bug ID: 204558
           Summary: www/uwsgi: rc script fails with non-default Python
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: demon@FreeBSD.org
          Reporter: john@saltant.com
                CC: koobs@FreeBSD.org
             Flags: maintainer-feedback?(demon@FreeBSD.org)
          Assignee: demon@FreeBSD.org

Following the addition of USE_PYTHON=concurrent (r400449), if www/uwsgi is
built against a non-default python, the rc script fails to start the daemon.

For example:

    DEFAULT_VERSIONS= python=2.7 python2=2.7 python3=3.4
    PYTHON_VERSION= python3.4

    % pkg info -xl uwsgi | grep bin
        /usr/local/bin/uwsgi-3.4
    % grep bin /usr/local/etc/rc.d/uwsgi
    #!/bin/sh
    command=/usr/local/bin/uwsgi
    command=/usr/local/bin/uwsgi
    % sudo service uwsgi start
    Processing uwsgi profile: foo
    /usr/local/etc/rc.d/uwsgi: WARNING: run_rc_command: cannot run
/usr/local/bin/uwsgi

I believe the best solution would be to teach the rc script to understand
setting the uwsgi command on a per-profile basis.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204558-13>