[Bug 1968203] Re: Setting a symbolic link via puppet doesn't work on Ubuntu22
*** This bug is a duplicate of bug 1969939 *** https://bugs.launchpad.net/bugs/1969939 ** Also affects: puppet (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009643 Importance: Unknown Status: Unknown ** This bug has been marked a duplicate of bug 1969939 puppet 5 package incompatible with ruby 3 / ubuntu 22.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968203 Title: Setting a symbolic link via puppet doesn't work on Ubuntu22 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1968203/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968203] Re: Setting a symbolic link via puppet doesn't work on Ubuntu22
Yeah, we ended up switching to Puppet's version of the package. It does seem like a bug that Ubuntu is shipping a known-not-to-work version, but that's another topic I suppose. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968203 Title: Setting a symbolic link via puppet doesn't work on Ubuntu22 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1968203/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968203] Re: Setting a symbolic link via puppet doesn't work on Ubuntu22
The attachment "Cropped version of upstream commit 6af09225b3b962547a2564a9d34ccd6832e60558 to fix symlink creation" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968203 Title: Setting a symbolic link via puppet doesn't work on Ubuntu22 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1968203/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968203] Re: Setting a symbolic link via puppet doesn't work on Ubuntu22
The problem is that puppet is not yet compatible with Ruby >= 3.0 (what Ubuntu 22.04 uses). I have the same problem, and this upstream patch fixes it: https://github.com/puppetlabs/puppet/commit/6af09225b3b962547a2564a9d34ccd6832e60558?diff=unified (The patch touches multiple files, but the file in question for this problem is lib/puppet/file_system/file_impl.rb). That said, it might probably be a good idea to apply the entire pull request (https://github.com/puppetlabs/puppet/pull/8179), not just this patch. Note this discussion in Debian, where they will wait for a Ruby 3.x compatible version for Bookworm: https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=1009643 (and which got me on the right track, although the solution is wrong). PD: I've isolated the patch for the symlink issue and attatched it to this message PPD: Full upstream patch as a unified diff: https://github.com/puppetlabs/puppet/commit/6af09225b3b962547a2564a9d34ccd6832e60558.patch PPPD: Any resolution for jammy should also be backported to focal, as the lack of this/these patches generate a prodigious amount of ruby warnings when running puppet agent --test ... ** Bug watch added: Debian Bug tracker #1009643 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009643 ** Patch added: "Cropped version of upstream commit 6af09225b3b962547a2564a9d34ccd6832e60558 to fix symlink creation" https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1968203/+attachment/5583141/+files/fix-symlink-creation-with-ruby3.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968203 Title: Setting a symbolic link via puppet doesn't work on Ubuntu22 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1968203/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968203] Re: Setting a symbolic link via puppet doesn't work on Ubuntu22
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: puppet (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968203 Title: Setting a symbolic link via puppet doesn't work on Ubuntu22 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1968203/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs