Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bind: address already in use #849

Closed
syphernl opened this issue Jul 10, 2019 · 1 comment · Fixed by #857
Closed

bind: address already in use #849

syphernl opened this issue Jul 10, 2019 · 1 comment · Fixed by #857
Labels

Comments

@syphernl
Copy link

Detailed Description

In #807 it was introduced that the sock-file will not get removed, because you cannot set permissions on it (reported in #806).

While this change makes sense, it seems to be causing issues when you restart aptly (e.g. with systemd)

Starting aptly like this:

/usr/bin/aptly api serve -no-lock -listen=unix:///tmp/.aptly-api.sock

works fine the first time. If you stop the process and start it again, it complains that it is already in use. If you remove the sock-file, aptly starts fine again.

Your Environment

aptly 1.4.0 on Ubuntu 18.04.

@smira smira added the bug label Jul 12, 2019
@smira
Copy link
Contributor

smira commented Jul 12, 2019

yep, looks like that change was wrong. I'm going to revert #807

@smira smira added the 1.5.0 label Jul 12, 2019
smira added a commit to smira/aptly-fork that referenced this issue Jul 12, 2019
smira added a commit that referenced this issue Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants