rustybird / corridor

Tor traffic whitelisting gateway
ISC License
67 stars 6 forks source link

delete qubes/systemd/corridor.target.d/qubes-service.conf #27

Closed adrelanos closed 8 years ago

adrelanos commented 8 years ago

Currently Whonix repository contains a corridor package that works for Qubes-Whonix, but not out of the box for Debian. Having distinct packages for Qubes Debian templates and plain Debian would be a shame.

Therefore, please delete qubes/systemd/corridor.target.d/qubes-service.conf. We could re-add it in the more appropriate place in qubes-core-agent.

Related:

adrelanos commented 8 years ago

https://github.com/rustybird/corridor/commit/ce0b65cf4863184487b360361b1f40767e603e0b did not fix it.

For testing purposes I deleted /var/run/qubes-service. Result:

ConditionPathExists=/var/run/qubes-service/corridor was not met
rustybird commented 8 years ago

Hmm, if anything, shouldn't systemctl status say "none of the trigger conditions were met"? But the message above looks like you might have a stale file lying around somewhere, e.g. in /usr/local/lib/systemd/system, or another of the directories listed by pkg-config --variable systemdsystemunitpath systemd.

adrelanos commented 8 years ago

My mistake. I thought https://github.com/rustybird/corridor/commit/ce0b65cf4863184487b360361b1f40767e603e0b was included in https://github.com/rustybird/corridor/releases/tag/v0.10.0 but it is not.

Anyhow. I updated the package in Whonix repository and this very bug should be fixed. //cc @HulaHoopWhonix

adrelanos commented 8 years ago

Yes. Just now tested. Works for me.