You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Chris Beauchamp (Created) (JIRA)" <ji...@apache.org> on 2012/03/06 10:14:57 UTC

[jira] [Created] (ZOOKEEPER-1406) dpkg init scripts don't restart - missing check_priv_sep_dir

dpkg init scripts don't restart - missing check_priv_sep_dir
------------------------------------------------------------

                 Key: ZOOKEEPER-1406
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1406
             Project: ZooKeeper
          Issue Type: Bug
          Components: scripts
    Affects Versions: 3.4.3
         Environment: Linux Ubuntu 10.4 lucid - presumably affects debian too, but not tested here
            Reporter: Chris Beauchamp
             Fix For: 3.4.4


The included init.d script for dpkg creation doesn't restart.

It exits with the following error:

{quote}
\# /etc/init.d/zookeeper restart
/etc/init.d/zookeeper: 127: check_privsep_dir: not found
{quote}

Also the actual zkServer.sh line in restart has a path of .../bin/ rather than .../sbin/



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (ZOOKEEPER-1406) dpkg init scripts don't restart - missing check_priv_sep_dir

Posted by "Patrick Hunt (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt reassigned ZOOKEEPER-1406:
---------------------------------------

    Assignee: Chris Beauchamp

Great artists steal. ;-) Thanks. Would you mind attaching that as a patch file? (and select the "grant" option when doing so).
https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute
Regards.
                
> dpkg init scripts don't restart - missing check_priv_sep_dir
> ------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1406
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1406
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.4.3
>         Environment: Linux Ubuntu 10.4 lucid - presumably affects debian too, but not tested here
>            Reporter: Chris Beauchamp
>            Assignee: Chris Beauchamp
>             Fix For: 3.4.4, 3.5.0
>
>
> The included init.d script for dpkg creation doesn't restart.
> It exits with the following error:
> {quote}
> \# /etc/init.d/zookeeper restart
> /etc/init.d/zookeeper: 127: check_privsep_dir: not found
> {quote}
> Also the actual zkServer.sh line in restart has a path of .../bin/ rather than .../sbin/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ZOOKEEPER-1406) dpkg init scripts don't restart - missing check_priv_sep_dir

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232255#comment-13232255 ] 

Hudson commented on ZOOKEEPER-1406:
-----------------------------------

Integrated in ZooKeeper-trunk #1498 (See [https://builds.apache.org/job/ZooKeeper-trunk/1498/])
    ZOOKEEPER-1406. dpkg init scripts don't restart - missing check_priv_sep_dir (Chris Beauchamp via phunt) (Revision 1302069)

     Result = SUCCESS
phunt : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1302069
Files : 
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/packages/deb/init.d/zookeeper

                
> dpkg init scripts don't restart - missing check_priv_sep_dir
> ------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1406
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1406
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.4.3
>         Environment: Linux Ubuntu 10.4 lucid - presumably affects debian too, but not tested here
>            Reporter: Chris Beauchamp
>            Assignee: Chris Beauchamp
>             Fix For: 3.4.4, 3.5.0
>
>         Attachments: ZOOKEEPER-1406.patch
>
>
> The included init.d script for dpkg creation doesn't restart.
> It exits with the following error:
> {quote}
> \# /etc/init.d/zookeeper restart
> /etc/init.d/zookeeper: 127: check_privsep_dir: not found
> {quote}
> Also the actual zkServer.sh line in restart has a path of .../bin/ rather than .../sbin/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ZOOKEEPER-1406) dpkg init scripts don't restart - missing check_priv_sep_dir

Posted by "Chris Beauchamp (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Beauchamp updated ZOOKEEPER-1406:
---------------------------------------

    Attachment: ZOOKEEPER-1406.patch

Patch Attached
                
> dpkg init scripts don't restart - missing check_priv_sep_dir
> ------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1406
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1406
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.4.3
>         Environment: Linux Ubuntu 10.4 lucid - presumably affects debian too, but not tested here
>            Reporter: Chris Beauchamp
>            Assignee: Chris Beauchamp
>             Fix For: 3.4.4, 3.5.0
>
>         Attachments: ZOOKEEPER-1406.patch
>
>
> The included init.d script for dpkg creation doesn't restart.
> It exits with the following error:
> {quote}
> \# /etc/init.d/zookeeper restart
> /etc/init.d/zookeeper: 127: check_privsep_dir: not found
> {quote}
> Also the actual zkServer.sh line in restart has a path of .../bin/ rather than .../sbin/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ZOOKEEPER-1406) dpkg init scripts don't restart - missing check_priv_sep_dir

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13224341#comment-13224341 ] 

Hadoop QA commented on ZOOKEEPER-1406:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12517398/ZOOKEEPER-1406.patch
  against trunk revision 1297740.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/980//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/980//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/980//console

This message is automatically generated.
                
> dpkg init scripts don't restart - missing check_priv_sep_dir
> ------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1406
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1406
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.4.3
>         Environment: Linux Ubuntu 10.4 lucid - presumably affects debian too, but not tested here
>            Reporter: Chris Beauchamp
>            Assignee: Chris Beauchamp
>             Fix For: 3.4.4, 3.5.0
>
>         Attachments: ZOOKEEPER-1406.patch
>
>
> The included init.d script for dpkg creation doesn't restart.
> It exits with the following error:
> {quote}
> \# /etc/init.d/zookeeper restart
> /etc/init.d/zookeeper: 127: check_privsep_dir: not found
> {quote}
> Also the actual zkServer.sh line in restart has a path of .../bin/ rather than .../sbin/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ZOOKEEPER-1406) dpkg init scripts don't restart - missing check_priv_sep_dir

Posted by "Chris Beauchamp (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13224326#comment-13224326 ] 

Chris Beauchamp commented on ZOOKEEPER-1406:
--------------------------------------------

All done, hopefully in the right way - thanks.

                
> dpkg init scripts don't restart - missing check_priv_sep_dir
> ------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1406
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1406
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.4.3
>         Environment: Linux Ubuntu 10.4 lucid - presumably affects debian too, but not tested here
>            Reporter: Chris Beauchamp
>            Assignee: Chris Beauchamp
>             Fix For: 3.4.4, 3.5.0
>
>         Attachments: ZOOKEEPER-1406.patch
>
>
> The included init.d script for dpkg creation doesn't restart.
> It exits with the following error:
> {quote}
> \# /etc/init.d/zookeeper restart
> /etc/init.d/zookeeper: 127: check_privsep_dir: not found
> {quote}
> Also the actual zkServer.sh line in restart has a path of .../bin/ rather than .../sbin/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ZOOKEEPER-1406) dpkg init scripts don't restart - missing check_priv_sep_dir

Posted by "Chris Beauchamp (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13223119#comment-13223119 ] 

Chris Beauchamp commented on ZOOKEEPER-1406:
--------------------------------------------

Have attached a patch which should fix it - check_privsep_dir shamelessly lifted from hadoop's init script :) and other minor tweaks
                
> dpkg init scripts don't restart - missing check_priv_sep_dir
> ------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1406
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1406
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.4.3
>         Environment: Linux Ubuntu 10.4 lucid - presumably affects debian too, but not tested here
>            Reporter: Chris Beauchamp
>             Fix For: 3.4.4
>
>
> The included init.d script for dpkg creation doesn't restart.
> It exits with the following error:
> {quote}
> \# /etc/init.d/zookeeper restart
> /etc/init.d/zookeeper: 127: check_privsep_dir: not found
> {quote}
> Also the actual zkServer.sh line in restart has a path of .../bin/ rather than .../sbin/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ZOOKEEPER-1406) dpkg init scripts don't restart - missing check_priv_sep_dir

Posted by "Patrick Hunt (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-1406:
------------------------------------

    Fix Version/s: 3.5.0
    
> dpkg init scripts don't restart - missing check_priv_sep_dir
> ------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1406
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1406
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.4.3
>         Environment: Linux Ubuntu 10.4 lucid - presumably affects debian too, but not tested here
>            Reporter: Chris Beauchamp
>            Assignee: Chris Beauchamp
>             Fix For: 3.4.4, 3.5.0
>
>
> The included init.d script for dpkg creation doesn't restart.
> It exits with the following error:
> {quote}
> \# /etc/init.d/zookeeper restart
> /etc/init.d/zookeeper: 127: check_privsep_dir: not found
> {quote}
> Also the actual zkServer.sh line in restart has a path of .../bin/ rather than .../sbin/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira