Giter VIP home page Giter VIP logo

Comments (7)

talyz avatar talyz commented on June 30, 2024

That's odd, they should be put in the environment by https://github.com/nix-community/impermanence/blob/master/home-manager.nix#L122. sleep is in the coreutils package and the fusermount wrapper should be in /run/wrappers/bin by default. Do you have a more detailed log you can share?

from impermanence.

energizah avatar energizah commented on June 30, 2024

Sure, here are logs from journald:

qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings[2784]: /nix/store/qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings: line 4: fusermount: command not found
qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings[2788]: /nix/store/qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings: line 12: sleep: command not found
qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings[2793]: /nix/store/qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings: line 4: fusermount: command not found
qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings[2798]: /nix/store/qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings: line 12: sleep: command not found
qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings[2804]: /nix/store/qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings: line 4: fusermount: command not found
qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings[2812]: /nix/store/qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings: line 12: sleep: command not found
qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings[2816]: /nix/store/qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings: line 4: fusermount: command not found
qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings[2823]: /nix/store/qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings: line 12: sleep: command not found
qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings[2831]: /nix/store/qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings: line 4: fusermount: command not found
qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings[2838]: /nix/store/qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings: line 12: sleep: command not found
qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings[2845]: /nix/store/qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings: line 4: fusermount: command not found
qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings[2780]: Couldn't perform regular unmount of /home/user/.local/share/keyrings. Attempting lazy unmount.
qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings[2854]: /nix/store/qc1zk8asxgh5nzjc5ni3h5f3c6k1zchv-unmount-bindMount-persist-home-user-local-share-keyrings: line 10: fusermount: command not found
systemd[2712]: bindMount-persist-home-user-local-share-keyrings.service: Control process exited, code=exited, status=127/n/a

from impermanence.

talyz avatar talyz commented on June 30, 2024

Based on the line numbers, it looks like you're using a pretty old commit. If so, can you try the latest and see if that solves the issue?

from impermanence.

energizah avatar energizah commented on June 30, 2024

I think I'm on 2cda5cd . The errors are during stopScript, e.g. https://github.com/nix-community/impermanence/blob/master/home-manager.nix#L92

from impermanence.

talyz avatar talyz commented on June 30, 2024

Note that writeShellScript adds an additional line at the top of the script, so the first line in the code would be line 2 of the resulting script.

If I run env -u PATH /nix/store/l6z18v8nd1bxyha2gnkzyncl7wpkfwb4-unmount-bindMount--persistent-home-talyz-Downloads-, built using the latest commit, I get the following output:

/nix/store/l6z18v8nd1bxyha2gnkzyncl7wpkfwb4-unmount-bindMount--persistent-home-talyz-Downloads-: line 5: fusermount: command not found
/nix/store/l6z18v8nd1bxyha2gnkzyncl7wpkfwb4-unmount-bindMount--persistent-home-talyz-Downloads-: line 13: sleep: command not found

The line numbers would have changed by +1 in b6181bd and then stayed the same, suggesting that you're on a commit prior to it.

from impermanence.

talyz avatar talyz commented on June 30, 2024

Any news? Can we close this? :)

from impermanence.

energizah avatar energizah commented on June 30, 2024

I haven't seen this in a while so I'll close.

from impermanence.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.