Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#226 closed defect (fixed)

msgq and distcheck and read-only socket directory

Reported by: jreed Owned by: UnAssigned
Priority: medium Milestone:
Component: ~msgq (obsolete) Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity:
Sub-Project: Feature Depending on Ticket:
Estimated Difficulty: 0.0 Add Hours to Ticket:
Total Hours: Internal?: no

Description

The b10-msgq when ran from source tree should keep its socket_file in a writable location.

  File "/backup/isc-work-svn/svn/trunk/bind10-devel-20100602/_build/src/bin/msgq/b10-msgq", line 156, in setup_listener
    raise e
  File "/backup/isc-work-svn/svn/trunk/bind10-devel-20100602/_build/src/bin/msgq/b10-msgq", line 148, in setup_listener
    self.listen_socket.bind(self.socket_file)
socket.error: [Errno 13] Permission denied

Subtickets

Change History (6)

comment:1 Changed 9 years ago by shane

  • Milestone changed from 05. 3rd Incremental Release: Serious Secondary to feature backlog item

comment:2 Changed 9 years ago by jreed

  • billable set to 0
  • Estimated Difficulty set to 0.0
  • Internal? unset

A workaround is to have BIND10_MSGQ_SOCKET_FILE set in environment for every component when ran using the run_* scripts in source tree.

Does anyone even use the scripts? The other alternative is to get rid of them since they don't work as is and have been broken for months.

comment:3 Changed 9 years ago by jreed

  • Owner set to jreed
  • Status changed from new to accepted

comment:4 Changed 9 years ago by jreed

  • Owner changed from jreed to UnAssigned
  • Status changed from accepted to reviewing

I put this into branches/trac226.

Please have a look and test. It is very simple and minor.

Before, testers must have precreated @localstatedir@/@PACKAGE_NAME@/ and made it available with same permissions they used run_*.sh scripts with.

comment:5 Changed 9 years ago by jreed

  • Resolution set to fixed
  • Status changed from reviewing to closed

Fixed in trunk. Closing this.

  1. [bug] jreed

Fix run_*.sh scripts that are used for development testing
so they use a msgq socket file in the build tree.
(Trac #226, svn r3989)

comment:6 Changed 9 years ago by stephen

  • Milestone feature backlog item deleted

Milestone feature backlog item deleted

Note: See TracTickets for help on using tickets.