Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#36910 - [trac] tracd.service file is corrupted

Attached to Project: Community Packages
Opened by Ondřej G. (nemamradfazole) - Thursday, 12 September 2013, 22:32 GMT
Last edited by Sergej Pupykin (sergej) - Saturday, 16 November 2013, 18:49 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Trac's systemd service file doesn't work at all. Relative path, unset variables...

Additional info:

* package version(s)
trac 1.0.1-4

* config and/or log files etc.


Steps to reproduce:

Install trac, try to run it with systemctl.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Saturday, 16 November 2013, 18:49 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Friday, 13 September 2013, 09:10 GMT
conf.d removed according arch policy.

.service is an example now. Copy it into /etc/systemd/ and edit.
Comment by Ondřej G. (nemamradfazole) - Friday, 18 October 2013, 13:06 GMT
  • Field changed: Percent Complete (100% → 0%)
It still doesn't work, tracd isn't running after starting it with systemctl.

ExecStart=/usr/bin/tracd -d -b localhost -p 8080 --basic-auth=project,/var/lib/trac/project/.pwds,ProjectPassword /var/lib/trac/project

If I run the exactly same command as root in Bash, it runs.
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 18 October 2013, 13:06 GMT
@Sergej: To be honest, I think we should provide working service files in the right places already. We do this with all our other packages.
Comment by Sergej Pupykin (sergej) - Monday, 21 October 2013, 14:50 GMT
cannot reproduce:

# pacman -S trac
# touch /tmp/passwd
# systemctl start tracd
# systemctl status tracd
tracd.service - Trac service
Loaded: loaded (/usr/lib/systemd/system/tracd.service; disabled)
Active: active (running) since Mon 2013-10-21 18:48:37 MSK; 6s ago
Process: 4849 ExecStart=/usr/bin/tracd -d -b localhost -p 8080 --auth /tmp,/tmp/passwd,realm /tmp (code=exited, status=0/SUCCESS)
Main PID: 4851 (tracd)
CGroup: /system.slice/tracd.service
└─4851 /usr/bin/python2 /usr/bin/tracd -d -b localhost -p 8080 --auth /tmp,/tmp/passwd,realm /tmp

also 8080 port is listened
Comment by Ondřej G. (nemamradfazole) - Saturday, 26 October 2013, 22:53 GMT
I tested it again, the result is as follows:

* on a 64 bit laptop it runs really ok,
* on a 32 bit PC it still doesn't run, but it turns out to be probably the same as https://bugs.archlinux.org/task/37435. The end of error output (when not runned daemonized) as seen in a web browser is "RuntimeError: The babel data files are not available. This usually happens because you are using a source checkout from Babel and you did not build the data files. Just make sure to run "python setup.py import_cldr" before installing the library."

Loading...