Opened 7 years ago

Closed 7 years ago

#2258 closed defect (duplicate)

noisy startup about logger_lockfile -- python RuntimeError

Reported by: jreed Owned by:
Priority: medium Milestone:
Component: ~Boss of BIND (obsolete) Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: Core Feature Depending on Ticket:
Estimated Difficulty: 2 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

Started without enough permissions:

jreed@debian-64-4:~/src/bind10-devel-20120816$ /usr/local/sbin/bind10
Traceback (most recent call last):
  File "/usr/local/sbin/bind10", line 1232, in <module>
    main()
  File "/usr/local/sbin/bind10", line 1186, in main
    logger.info(BIND10_STARTING, VERSION)
RuntimeError: Unable to use interprocess sync lockfile: /usr/local/var/bind10-devel/logger_lockfile

A quieter clearer messages should be outputted instead. Or just let it work without the lockfile?

Subtickets

Change History (9)

comment:1 Changed 7 years ago by muks

We should add text to the message that says "check the file's permissions", but I don't think it should be made any quieter.

Can you give an example of what you mean by a quieter message?

comment:2 Changed 7 years ago by muks

  • Summary changed from noisy startup -- python RuntimeError to noisy startup about logger_lockfile -- python RuntimeError

comment:3 Changed 7 years ago by shane

By quieter I think the approach is to output an error message and exit, rather than printing a stack trace:

jreed@debian-64-4:~/src/bind10-devel-20120816$ /usr/local/sbin/bind10
ERROR starting: Unable to use interprocess sync lockfile: /usr/local/var/bind10-devel/logger_lockfile

comment:4 Changed 7 years ago by jelte

  • Milestone changed from New Tasks to Sprint-20121009

comment:5 Changed 7 years ago by jelte

  • Milestone changed from Sprint-20121009 to New Tasks

comment:6 Changed 7 years ago by shane

  • Milestone New Tasks deleted

comment:7 Changed 7 years ago by jreed

This is being worked on in #2447.

comment:8 Changed 7 years ago by jinmei

This should have been resolved with #2447. Closing.

comment:9 Changed 7 years ago by jinmei

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.