GithubHelp home page GithubHelp logo

Comments (6)

mhogomchungu avatar mhogomchungu commented on August 16, 2024 1

The mount point should be removed when unmounting.

Create a gocryptfs test volume that mounts to your home directory and check if the mount point gets removed or not when unmounting.

When SiriKali window has focus, press CTRL+D to bring up debug window and then unmount a gocryptfs volume and post the contents of the debug window.

from sirikali.

mhogomchungu avatar mhogomchungu commented on August 16, 2024 1

from sirikali.

AtomicRobotMan0101 avatar AtomicRobotMan0101 commented on August 16, 2024

Attached is the complete log --> fire up SK, mount a volume, dismount.

Can confirm that with the basic "mount this" and then "dismount this" process that it doesn't delete the directory created as /home/nas/router-encrypted

(The user is "nas" on this machine. It has admin rights)

The directory that is gocryptfs encrypted is on a SMB1.0 mounted FAT32 HDD, connected to an ancient routers USB2. As decrepit as that is, I don't feel this is the problem and the issue is more local.

As a curiosity

The user directory itself is encrypted with ecryptfs.

It is the plain-vanilla install of this tool. Rather than using LUKS, which needs a password on boot and limits the usefulness of a server should it bounce, I chose ecryptfs so the users /home directory is encrypted and a regular password is needed at session login. It has not affected any other program/process. I can't find anything in the machines logs which indicates a conflict... bbuttttt.....

ALSO, it would be noted that the SK initialisation says "Showing an unlocked volume because we could not figure out who unlocked it" and this would be due to the above.

sirikali-notunmounting.txt

from sirikali.

mhogomchungu avatar mhogomchungu commented on August 16, 2024

Is Below Option checked? If yes, uncheck it and try again.

Screenshot_20240712_082712

from sirikali.

AtomicRobotMan0101 avatar AtomicRobotMan0101 commented on August 16, 2024

Thanks for your help so far.

This is getting weird. I ran this up on a fresh VM (virt-manager Mint 21.3) and it worked perfectly, exactly as you said it should.

However, on the two existing machines (the server and my main box) the damned thing wont delete the obsolete directory on the FAT32 remotely mounted disk.

I copy/pasted the fstab off the server (so they are identical) and even blew away the entire SK install on those two boxes - then reinstalled fresh AND checked the configs.... same result as before. Gah!

I'll keep digging. I cant seem to:

  • replicate the behaviour on a fresh box
  • stop the misbehaviour on existing boxes

I find it quite perplexing.

from sirikali.

AtomicRobotMan0101 avatar AtomicRobotMan0101 commented on August 16, 2024

I did that tick, untick thing and it seems to have worked.

Now, I can't be 100% sure that's because I purged it clean with apt, cleaned the wallet, deleted the various configs, etc with a fresh deb blob installed.... or something else.

It was a vexxing problem.

I must admit, my initial premise was entirely stupid and shouldn't be supported! I was reusing some ancient hardware (an old Archer 1200 modem), using old protocols (SMB1.0) that have been long abandoned, with a rickety rusty HDD attached to a USB2 !!! .... Its the stuff of nightmares.

Thank you for tolerating me in this query. You have been most kind.

from sirikali.

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.