[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume
Daniel von Obernitz
1891552 at bugs.launchpad.net
Wed Jan 20 00:17:55 UTC 2021
Thanks for the fix. Do you know when this version will be released in
the focal repository?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pcre2 in Ubuntu.
https://bugs.launchpad.net/bugs/1891552
Title:
Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume
Status in libpam-mount package in Ubuntu:
Fix Released
Status in pcre2 package in Ubuntu:
Invalid
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/1891552/+subscriptions
More information about the foundations-bugs
mailing list