Why mount cifs can create multiple mounts 1 mount point, how to get rid of it?

0 like 0 dislike
7 views
On debian there is a problem. Let's say I'm in /etc/fstab prescribed line mount cifs balls.
Then I run mount-a, all remontiroval.
Again, I run mount-a.
Then I look at their mounts, the mount command:
//Server/xxx on /home/xxx/xxx type cifs
//Server/xxx on /home/xxx/xxx type cifs

I see 2 exactly the same mount.

Found the article.

But we do not use fstab, and pam_mount, with several user logins on the server formed white flakes, the lot of the mounts in mtab which looks exactly the same. Has anyone solved a similar problem?

Tried to solve the issue using pam pam_tally think.so will take the inputs, and if this is not the first login, you will be missed pam_mount, but maybe the syntax was wrong:
spoiler
optional auth [success=1 default=ignore] pam_tally.so deny=1 onerr=succeed no_lock_time no_reset
auth optional pam_mount.so
by | 7 views

1 Answer

0 like 0 dislike
Mount does not interfere with mounting anything on top of your mounted.
Access to what was smontyrovano last.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Mar 22, 2019 by Kalobok
0 like 0 dislike
2 answers
0 like 0 dislike
4 answers
110,608 questions
257,186 answers
0 comments
33,949 users