Error attempting to evaluate mount options: [-22] Invalid argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
While trying to re-mount a directory I am getting the following output
Command :
mount -t ecryptfs /home/pi/
Output :
Error attempting to evaluate mount options: [-22] Invalid argument
Check your system logs for details on why this happened.
Try updating your ecryptfs-utils package, and/or
submit a bug report on https:/
However if I try to mount any other directory, then there is no problem.
From sys logs I am getting this
Apr 30 07:58:48 raspberrypi ntpd[871]: Listen normally on 43 eth0 192.168.99.89 UDP 123
Apr 30 07:58:48 raspberrypi ntpd[871]: peers refreshed
Apr 30 07:58:51 raspberrypi dhcpcd[827]: eth0: no IPv6 Routers available
Apr 30 07:59:01 raspberrypi CRON[17496]: (root) CMD (find /root -mmin +240 -type f -name "*.txt" \-exec rm -f {} \;)
Apr 30 07:59:01 raspberrypi CRON[17497]: (root) CMD ( /bin/bash -c 'timeout --signal=SIGINT 5s /usr/src/
Apr 30 07:59:01 raspberrypi CRON[17504]: (root) CMD (find /home/pi -mmin +360 -type f -name "*.csv" \-exec rm -f {} \;)
Apr 30 07:59:41 raspberrypi mount.ecryptfs: Error initializing key module [/usr/lib/
Apr 30 07:59:41 raspberrypi mount.ecryptfs: tf_pass_file: Cannot find [passwd] directive
Hello - are you using the GPG support in eCryptfs? It looks like you have a bad version of the GPG module built and installed at /usr/lib/ arm-linux- gnueabihf/ ecryptfs/ libecryptfs_ key_mod_ gpg.so. Do you know how that file got there? If you manually built and installed it, you may want to make a backup of the file (perhaps to your home directory), remove it from the location in /usr/lib/ arm-linux- gnueabihf/ ecryptfs/ , and try again.