/etc/login.defs contains a non-ASCII character
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shadow (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Confirmed
|
Medium
|
Unassigned |
Bug Description
1) OS: Ubuntu 16.04.6 LTS
2) Package: login 1:4.2-3.1ubuntu5.4 amd64 from xenial-updates/main
3) After installing this package, I expect /etc/login.defs to contain only ASCII characters.
4) Instead, /etc/login.defs contains an Acute Accent (Unicode U+00B4) on line 221 in a comment:
=== Quote From File ===
# If set to yes, userdel will remove the user´s group if it contains no
=== End Quote ===
This causes a problem in SaltStack: https:/
SaltStack does recognize that they should do a better job at loading this file and is planning on fixing its problem. But I still question this: Should we expect /etc/login.defs to contain ASCII characters only?
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: login 1:4.2-3.1ubuntu5.4
ProcVersionSign
Uname: Linux 4.4.0-1101-aws x86_64
ApportVersion: 2.20.1-0ubuntu2.21
Architecture: amd64
Date: Thu Mar 26 17:46:26 2020
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: shadow
UpgradeStatus: No upgrade log present (probably fresh install)
This is in the debian/login.defs file, and was replaced at least before bionic with a proper ascii ', so I'm targeting this to xenial.