Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#4531 closed defect (fixed)

relative paths don't work when tracd is daemonized

Reported by: anonymous Owned by: Matthew Good
Priority: normal Milestone: 0.10.4
Component: web frontend/tracd Version: 0.10.3
Severity: minor Keywords: tracd
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Tracd works erratically when daemonized if the directory parameter ( -e option ) is a relative path.

This is the intended behaviour, by looking at the code, but documentation should explicitly mention that relative paths do not work when tracd is daemonized.

Attachments (0)

Change History (6)

comment:1 by Matthew Good, 17 years ago

Keywords: documentation removed
Milestone: 0.10.4
Owner: changed from Jonas Borgström to Matthew Good
Status: newassigned
Summary: tracd fails when daemonizedrelative paths don't work when tracd is daemonized

Yes, the problem comes from the daemonizing process changing the working directory to the root directory. However, I think we can translate the path options to absolute paths before daemonizing to avoid this altogether.

comment:2 by Matthew Good, 17 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r4721 and r4722.

comment:3 by cedric@…, 17 years ago

Resolution: fixed
Status: closedreopened

This is still a problem with —basic-auth arguments, if the path to htpasswd is relative.

comment:4 by Matthew Good, 17 years ago

Resolution: fixed
Status: reopenedclosed

Ok, the auth and parent dir paths have also been fixed in r4726 and r4727.

comment:5 by Matthew Good, 17 years ago

The --pidfile option is now also fixed in r4728:r4729 and r4730.

I also added some sanity checking, since the relative paths can't easily be corrected when using --daemonize with --autoreload.

in reply to:  5 comment:6 by Christian Boos, 17 years ago

Replying to mgood:

… when using --daemonize with --autoreload.

Does that even make sense? If not, I'd suggest to make them mutually exclusive, so they're not mixed by accident.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthew Good.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Matthew Good to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.