Univention Bugzilla – Bug 27825
unify threefold implementation of fstab/mtab parsing
Last modified: 2021-05-25 16:00:31 CEST
Derzeit haben wir 2 Implementierungen für das Verarbeiten von /etc/fstab. Die sollten vereinheitlicht werden: branches/ucs-3.0/ucs/base/univention-lib/python/fstab.py - kein korrektes Quoting der fstab-Einträge - fehlende Sonderbehandlung für LABEL= Einträge - keine Dokumentation - kein Unittest branches/ucs-3.0/ucs/base/univention-python/modules/fstab.py - ggf. fehlende Sonderbahandlung für UUID= und LABEL= Einträge - wird (anscheinend) derzeit nicht verwendet Benutzer: $ git grep -El '(from|import) univention.*fstab' ucs-school/univention-samba/vampire/mount_extfs_with_user_xattr.py ucs-school/univention-samba4/scripts/mount_extfs_with_user_xattr.py ucs/base/univention-quota/umc/python/quota/partition.py ucs/base/univention-quota/umc/python/quota/tools.py ucs/base/univention-quota/umc/python/quota/user.py ucs/services/univention-samba/vampire/mount_extfs_with_user_xattr.py ucs/services/univention-samba4/scripts/mount_extfs_with_user_xattr.py
Created attachment 5468 [details] WIP: /etc/fstab, /etc/mtab, /proc/mounts parser 3rd implementation from univention-mount-homedir (Bug #31256) cleaned-up to properly handle octal-encoding. See "man 3 getmntent" for more information.
*** Bug 24706 has been marked as a duplicate of this bug. ***
univention.fstab has been removed and merged into univention.lib.fstab. The handling of encoding was more correct in univention.fstab while the interface of univention.lib.fstab looks a little better. univention-lib (9.0.8-0) 1bb280d8d887 | Bug #27825: unify fstab parsers ucs-test (10.0.1-1) 1bb280d8d887 | Bug #27825: unify fstab parsers changelog-5.0-0.xml ffd26905e35b | Changelog Bug #27825
OK: ffd26905e35b Changelog OK: 1bb280d8d887 Code Review OK: git grep univention.*fstab OK: ucs-test -s quota -E dangerous -v -c OK: univention-unittest
*** Bug 51634 has been marked as a duplicate of this bug. ***
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".