[BUG] salt-mount fails to query non-Latin filesystem labels on Linux
Open
Nobody has claimed this yet.
bug
severity-medium
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
~# ntfslabel /dev/sdf1 -f
Forced to continue.
D - Дети Samsung 1.5 Тб
# salt-call mount.active extended=yes
.....
/srv/dev-disk-by-uuid-7AF2EDB0F2ED70B5:
----------
alt_device:
/dev/sdf1
device:
/dev/sdf1
device_label:
D - M-PM-^TM-PM-5M-QM-^BM-PM-8 Samsung 1.5 M-PM-\
device_uuid:
None
fstype:
fuseblk
.....
# apt-cache show salt-common
Package: salt-common
Source: salt
Version: 3002.2+ds-1
Architecture: all
Maintainer: Debian Salt Team <pkg-salt-team@lists.alioth.debian.org>
Installed-Size: 30376
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the report on Linux with a filesystem label containing non-Latin characters, using ntfslabel and salt-call mount.active extended=yes as shown. Trace how mount.active obtains and displays device_label, then verify that the reported label remains readable Unicode rather than an escaped or misdecoded value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- devops, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100