/etc/login.defs contains a non-ASCII character

Bug #1869267 reported by Paul Nickerson
6
This bug affects 1 person
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://github.com/saltstack/salt/issues/55695

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
ProcVersionSignature: Ubuntu 4.4.0-1101.112-aws 4.4.208
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-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: shadow
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Paul Nickerson (like-last-yesterday-final) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

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.

Changed in shadow (Ubuntu):
status: New → Fix Released
Changed in shadow (Ubuntu Xenial):
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.