[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume
Launchpad Bug Tracker
1891552 at bugs.launchpad.net
Sat Dec 26 08:08:24 UTC 2020
This bug was fixed in the package libpam-mount - 2.17-2
---------------
libpam-mount (2.17-2) unstable; urgency=medium
* Make d/not-installed arch independent
* Document sshfs without fd0ssh.
Thanks to Michel Le Bihan (Closes: #952989)
-- Jochen Sprickerhof <jspricke at debian.org> Fri, 25 Dec 2020 16:54:23
+0100
** Changed in: libpam-mount (Ubuntu)
Status: New => Fix Released
--
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:
New
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