Public bug reported: 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"> <and> <user regex="yes">^[a-z]{3}.*$</user> </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 ** Affects: libpam-mount (Ubuntu) Importance: Undecided Status: New ** Tags: libpam-mount regex -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1891552 Title: Segmentation Fault when using regex in (cifs) volume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/1891552/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs