Closed hiredgunhouse closed 2 years ago
It seems like the encrypting of my home dir is the problem. When I run systemctl start asd.service
after I'm logged in as the user the service starts fine.
Is there a solution to this problem?
BTW. the asd p
command takes really long to finish, it freezes at Asd fill manage the following per /etc/asd.conf settings:
line and takes a minute or so before it continues :/
same issue and behavior here... it starts when I start it after the system boots.. maybe the asd.service try to start before the directory is ready?
how is the correct way to maybe wait until the mounts are ready and then start asd.service?
Edit: adding After=mountname.mount
to the service file fixed it for me
BTW. the
asd p
command takes really long to finish, it freezes atAsd fill manage the following per /etc/asd.conf settings:
line and takes a minute or so before it continues :/
https://github.com/graysky2/anything-sync-daemon/commit/a63a2e47cad6379ad2e22614e317e665f206d049 I think this should be helpful. asd p
command tries to find the directory sizes which usually takes some time when run for the first time, successive runs are usually cached by linux and give faster outputs.
same issue and behavior here... it starts when I start it after the system boots.. maybe the asd.service try to start before the directory is ready? how is the correct way to maybe wait until the mounts are ready and then start asd.service? Edit: adding
After=mountname.mount
to the service file fixed it for me
Yeah, I think this must be the case only. I haven't worked with encrypted home directories so don't really know what the issue might be but am glad you figured it out
I'm using Ubuntu 16.04, I followed the installation instructions on the official wiki but when I boot my system asd.service does not start. Here's output from
sudo systemctl status asd.service
:here's output from
sudo asd p
:I'm guessing this is either related to root vs regular user since I can stop the service and start it manually (via systemctl start...) and it seems to work or it is related to my home directory being encrypted via encryptfs. Anyway the error message is not very helpful. Is it possible to see some more specific log output that would point me to the root of actually issue? Looking forward to fixing this since I'd love to use asd. I have moved from Windows where I used ramdisks heavily and I want to achieve the same thing on Linux and asd seems to be the only solution that is comparable to what I had on Windows.