Public bug reported:
[ Impact ]
The far2ledit command incorrectly opens an empty editor when the file
path starts with /e, impacting users editing configuration files (often
in /etc). This fix corrects the command-line parsing, restoring the
expected file editing functionality.
[ Test Plan ]
1. Install the updated far2l (after applying the patch).
2. Run far2ledit /etc/hosts and verify /etc/hosts opens correctly.
3. Compare with the current version from the official repositories where
this command opens an empty editor.
[ Where problems could occur ]
The fix alters command-line parsing. Regressions are possible if other
valid options are now misinterpreted. Test several random far2l and
far2ledit command-line options, including at least one involving file
path.
[ Other Info ]
This fix, extensively tested in a public PPA with no reported
regressions, addresses a specific parsing issue with minimal code
changes. It's crucial for usability and system administration,
particularly for editing files within /etc. The patches cover both 24.04
LTS and 24.10.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: far2l 2.6.0~beta+ds-1ubuntu0.1
ProcVersionSignature: User Name 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckMismatches: ./boot/grub/grub.cfg
CasperMD5CheckResult: fail
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct 9 08:33:14 2024
InstallationDate: Installed on 2024-04-29 (163 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: far2l
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: far2l (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble wayland-session
** Description changed:
- sru request
+ [ Impact ]
+
+ The far2ledit command incorrectly opens an empty editor when the file
+ path starts with /e, impacting users editing configuration files (often
+ in /etc). This fix corrects the command-line parsing, restoring the
+ expected file editing functionality.
+
+ [ Test Plan ]
+
+ 1. Install the updated far2l (after applying the patch).
+
+ 2. Run far2ledit /etc/hosts and verify /etc/hosts opens correctly.
+
+ 3. Compare with the current version from the official repositories where
+ this command opens an empty editor.
+
+ [ Where problems could occur ]
+
+ The fix alters command-line parsing. Regressions are possible if other
+ valid options are now misinterpreted. Test several random far2l and
+ far2ledit command-line options, including at least one involving file
+ path.
+
+ [ Other Info ]
+
+ This fix, extensively tested in a public PPA with no reported
+ regressions, addresses a specific parsing issue with minimal code
+ changes. It's crucial for usability and system administration,
+ particularly for editing files within /etc. The patches cover both 24.04
+ LTS and 24.10.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: far2l 2.6.0~beta+ds-1ubuntu0.1
ProcVersionSignature: User Name 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckMismatches: ./boot/grub/grub.cfg
CasperMD5CheckResult: fail
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct 9 08:33:14 2024
InstallationDate: Installed on 2024-04-29 (163 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
ProcEnviron:
- LANG=en_US.UTF-8
- PATH=(custom, no user)
- SHELL=/bin/bash
- TERM=xterm-256color
- XDG_RUNTIME_DIR=<set>
+ LANG=en_US.UTF-8
+ PATH=(custom, no user)
+ SHELL=/bin/bash
+ TERM=xterm-256color
+ XDG_RUNTIME_DIR=<set>
SourcePackage: far2l
UpgradeStatus: No upgrade log present (probably fresh install)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2084045
Title:
far2ledit command fails to open files in /etc
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/far2l/+bug/2084045/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs