[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2021-04-12 Thread Launchpad Bug Tracker
This bug was fixed in the package libpam-mount - 2.16-10ubuntu0.20.10.1

---
libpam-mount (2.16-10ubuntu0.20.10.1) groovy; urgency=medium

  [ Utkarsh Gupta ]
  * Fix segmentation fault in libpcre2-8-0 when using regex
in (cifs) volume. (LP: #1891552)
- d/p/0016-Port-to-pcre2.patch: Fix pcre2 patch.
Thanks to Jochen Sprickerhof for the patch.

  [ Christian Ehrhardt ]
  * d/t/local-luks: fix autopkgtests.

 -- Utkarsh Gupta   Fri, 26 Mar 2021
20:02:14 +0530

-- 
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 in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2021-04-12 Thread Launchpad Bug Tracker
This bug was fixed in the package libpam-mount - 2.16-10ubuntu0.20.04.1

---
libpam-mount (2.16-10ubuntu0.20.04.1) focal; urgency=medium

  [ Utkarsh Gupta ]
  * Fix segmentation fault in libpcre2-8-0 when using regex
in (cifs) volume. (LP: #1891552)
- d/p/0016-Port-to-pcre2.patch: Fix pcre2 patch.
Thanks to Jochen Sprickerhof for the patch.

  [ Christian Ehrhardt ]
  * d/t/local-luks: fix autopkgtests.

 -- Utkarsh Gupta   Fri, 26 Mar 2021
20:02:14 +0530

** Changed in: libpam-mount (Ubuntu Focal)
   Status: Fix Committed => Fix Released

** Changed in: libpam-mount (Ubuntu Groovy)
   Status: Fix Committed => Fix Released

-- 
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 in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2021-04-12 Thread Łukasz Zemczak
Oh, thanks! Adjusting the tags and proceeding with the release.

** Tags removed: verification-needed verification-needed-groovy
** Tags added: verification-done verification-done-groovy

-- 
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 in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2021-04-09 Thread Utkarsh Gupta
Hello Lukasz,

Tested for groovy [libpam-mount:amd64 (2.16-10ubuntu0.20.10.1)]:

# Before applying the patched version

root@temp:~# nano /etc/security/pam_mount.conf.xml 
root@temp:~# su - user
Segmentation fault (core dumped)

# Adding the proposed repository

root@temp:~# nano /etc/apt/sources.list
root@temp:~# apt update && apt upgrade

# After applying the patched version

root@temp:~# su - user
(rdconf1.c:618): pcre_exec: /^[a-z]{3}.*$/: 1 matches


Thus, confirmed that update works and indeed fixes the problem. Thanks!

-- 
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 in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2021-04-08 Thread Łukasz Zemczak
Thank you for the verification! Can someone also verify the groovy
(20.10) package? Since we can't release the older series without newer
ones ready beforehand.

-- 
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 in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2021-03-31 Thread Daniel von Obernitz
Hi Brian,

I tested the focal-proposed version with my configured
pam_mount.conf.xml and it seems to be working fine now.

Package Version:
libpam-mount/focal-proposed,now 2.16-10ubuntu0.20.04.1 amd64

In my pam_mount.conf.xml I am using a 'regex="yes"' and an "and"
condition.

I switched to a different user on the terminal, the matching regex is
shown and the volume is mounted correctly.

Thanks a lot!
Daniel

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
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 in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2021-03-30 Thread Brian Murray
Hello Daniel, or anyone else affected,

Accepted libpam-mount into groovy-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/libpam-
mount/2.16-10ubuntu0.20.10.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
groovy to verification-done-groovy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-groovy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Also affects: libpam-mount (Ubuntu Groovy)
   Importance: Undecided
   Status: New

** Changed in: libpam-mount (Ubuntu Groovy)
   Status: New => Fix Committed

** Tags added: verification-needed verification-needed-groovy

** Changed in: libpam-mount (Ubuntu Focal)
   Status: Triaged => Fix Committed

** Tags added: verification-needed-focal

-- 
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 in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2021-03-29 Thread Christian Ehrhardt 
** Description changed:

  [Impact]
  
  
  Mounting a cifs volume with a regex condition results in a segfault.
  
  [Test Plan]
  ===
  
  $ lxc launch images:ubuntu/focal lp1891552-fix-segfault
  
  $ lxc shell lp1891552-fix-segfault
  
  # apt update && apt install cifs-utils libpam-mount
  
  # adduser user
  
  // add the following lines in /etc/security/pam_mount.conf.xml above the
  "" line.
  
  
    
  ^[a-z]{3}.*$
    
  
  
  # su - user
  
  // you'll get a segfault.
  
  // with the patched version, it shouldn't segfault and everything
  // should work fine, as intended.
  
  [Where Problems Could Occur]
  
  
  With this problem known, if the user has found a workaround for mounting
  a cifs volume using some extra configuration or so, then that could
  break the same on upgrade, I believe. For example, having a workaround
  way of inserting  in /etc/security/pam_mount.conf.xml with
  manipulation and some hacking could get this to work and then upgrade
  could break the hack. But on a brighter side, they could get back to
  using the "right" way of inserting a  in the .conf.xml file.
  
+ [Other Info]
+ 
+ The autopkgtests of this package that we've added back in Bionic have 
degraded since then and were regularly failing. We know the fixes and they were 
already accepted by Debian. As usual with test fixes they do not
+ qualify for an upload/SRU on their own, but since we touch these packages 
anyway we also include the test fixes which will help to add back some 
coverage. Also OTOH the SRU would be blocked with unresolvable test issues 
without doing so.
+ 
  [Discussion(s)]
  ===
  
  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.

-- 
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 in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2021-03-26 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~utkarsh/ubuntu/+source/libpam-mount/+git/libpam-mount/+merge/400286

-- 
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 in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2021-03-26 Thread Utkarsh Gupta
** Description changed:

- Hello,
+ [Impact]
+ 
  
- there seems to be a bug in libpam-mount in version 2.16-10 used in
- Ubuntu 20.04.
+ Mount a cifs volume with a regex condition results in a segfault.
  
- I want to mount a cifs volume with a regex condition.
+ 
+ [Test Plan]
+ ===
+ 
+ $ lxc launch images:ubuntu/focal lp1891552-fix-segfault
+ 
+ $ lxc shell lp1891552-fix-segfault
+ 
+ # apt update && apt install cifs-utils libpam-mount
+ 
+ # adduser user
+ 
+ // add the following lines in /etc/security/pam_mount.conf.xml above the
+ "" line.
  
  
-   
- ^[a-z]{3}.*$
-   
+   
+ ^[a-z]{3}.*$
+   
  
+ 
+ # su - user
+ 
+ // you'll get a segfault.
+ 
+ // with the patched version, it shouldn't segfault and everything
+ // should work fine, as intended.
+ 
+ 
+ [Where Problems Could Occur]
+ 
+ 
+ With this problem known, if the user has found a workaround for mounting
+ a cifs volume using some extra configuration or so, then that could
+ break the same on upgrade, I believe. For example, having a workaround
+ way of inserting  in /etc/security/pam_mount.conf.xml with
+ manipulation and some hacking could get this to work and then upgrade
+ could break the hack. But on a brighter side, they could get back to
+ using the "right" way of inserting a  in the .conf.xml file.
+ 
+ 
+ [Discussion(s)]
+ ===
  
  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

** Description changed:

  [Impact]
  
  
- Mount a cifs volume with a regex condition results in a segfault.
- 
+ Mounting a cifs volume with a regex condition results in a segfault.
  
  [Test Plan]
  ===
  
  $ lxc launch images:ubuntu/focal lp1891552-fix-segfault
  
  $ lxc shell lp1891552-fix-segfault
  
  # apt update && apt install cifs-utils libpam-mount
  
  # adduser user
  
  // add the following lines in /etc/security/pam_mount.conf.xml above the
  "" line.
  
  
    
  ^[a-z]{3}.*$
    
  
  
  # su - user
  
  // you'll get a segfault.
  
  // with the patched version, it shouldn't segfault and everything
  // should work fine, as intended.
  
- 
  [Where Problems Could Occur]
  
  
  With this problem known, if the user has found a workaround for mounting
  a cifs volume using some extra configuration or so, then that could
  break the same on upgrade, I believe. For example, having a workaround
  way of inserting  in /etc/security/pam_mount.conf.xml with
  manipulation and some hacking could get this to work and then upgrade
  could break the hack. But on a brighter side, they could get back to
  using the "right" way of inserting a  in the .conf.xml file.
- 
  
  [Discussion(s)]
  ===
  
  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.

** Changed in: libpam-mount (Ubuntu Focal)
 Assignee: (unassigned) => Utkarsh Gupta (utkarsh)

** No longer affects: pcre2 (Ubuntu)

** No longer affects: pcre2 (Ubuntu Focal)

-- 
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 in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2021-03-24 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~utkarsh/ubuntu/+source/libpam-mount/+git/libpam-mount/+merge/400121

-- 
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 in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2021-01-21 Thread Paride Legovini
This was fixed in Debian by [1] and landed in Hirsute as part of a sync.
The fix won't land in Focal automatically, it's Stable Release Update
[1] that has to be driven manually.

[1] 
https://salsa.debian.org/debian/libpam-mount/-/commit/c166793d582048587a4091a6deed9824b535f4c8
[2] https://wiki.ubuntu.com/StableReleaseUpdates

** Tags added: server-next

-- 
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 in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2021-01-21 Thread Paride Legovini
** Also affects: libpam-mount (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: pcre2 (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Changed in: libpam-mount (Ubuntu Focal)
   Status: New => Triaged

-- 
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 in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2021-01-19 Thread Daniel von Obernitz
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891552

Title:
  Segmentation Fault in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2020-12-26 Thread Jochen Sprickerhof
** Changed in: pcre2 (Ubuntu)
   Status: New => Invalid

-- 
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 in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2020-12-26 Thread Launchpad Bug Tracker
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   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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891552

Title:
  Segmentation Fault in libpcre2-8-0 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

[Bug 1891552] Re: Segmentation Fault in libpcre2-8-0 when using regex in (cifs) volume

2020-09-14 Thread Daniel von Obernitz
Is there something new on this topic?

-- 
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 in libpcre2-8-0 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