At system start the system freezes completely. Then I retested during a running session on the command line and I'm getting the error message
Segmentation fault
when I login to another user.
If I remove the 'regex="yes"' everything works.
If I remove the "and" condition everything works.
If I downgrade the libpam-mount package to version 2.16-3ubuntu0.1 of Ubuntu 18.04 everything works including using the regex condition. In Ubuntu 18.04 everything worked fine as well.
Hello,
there seems to be a bug in libpam-mount in version 2.16-10 used in Ubuntu 20.04.
I want to mount a cifs volume with a regex condition.
<volume fstype="cifs" server= "server. example. com" path="folder/ %(USER) " mountpoint= "/home/ %(USER) /SUBFOLDER_ %(USER) " options= "domain= DOMAIN, dir_mode= 0700,file_ mode=0700" > yes">^[ a-z]{3} .*$</user>
<and>
<user regex="
</and>
</volume>
At system start the system freezes completely. Then I retested during a running session on the command line and I'm getting the error message
Segmentation fault
when I login to another user.
If I remove the 'regex="yes"' everything works.
If I remove the "and" condition everything works.
If I downgrade the libpam-mount package to version 2.16-3ubuntu0.1 of Ubuntu 18.04 everything works including using the regex condition. In Ubuntu 18.04 everything worked fine as well.
Best regards
Daniel