You are not logged in.
I noticed that when upgrading wicd, any changes to files in /etc/wicd/encryption/templates/ (except 'active' file) are lost since these files are overwritten with the default ones.
I could write my own custom template file and add it to active, this way on upgrade, I would not lose my changes.
However, it would be more difficult to detect changes to default files from the package when upgrading.
So, from my point of view, I think that we need to change the "backup" entry in wicd PKGBUILD to include all these files.
Does someone have an objection ?
I think I will create a bug for this.
Offline
I don't use wicd, but typically templates are intended as a starting point for your own custom versions - you're not meant to change the template, you're meant to copy it, and then change the copy.
Offline
I use wicd, but have never had to edit these files. AFAIK, though, pacman is not supposed to overwrite ANY user editted files and should append ".pacnew" to the new files.
Based on that standard, this should be considered a bug in the package.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
No... the pacnew/pacsave process only applies to files specified in the package's backup array.
Offline
Ah, makes sense. So I suppose the request would be just to put those templates in the backup array.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
tomk: yes, I understand that templates are ... templates :-)
That's why I started this thread and did not create a bug right away.
Ok.
Trilby: you never had to change these files because I suppose you never used eap-tls which defaults to TKIP for encryption (when I prefer CCMP).
Thinking about it, if eap-tls template had CCMP TKIP as a default, I would be happy and I would not have to change anything :-)
Offline
For what it is worth, the way the AUR package for setting up eduroam works (for some eduroams - doesn't work for all, I don't think) is by creating an additional template /etc/wicd/encryption/templates/eduroam. I'm assuming that stops it getting overwritten but, as you say, I guess it won't get amendments to the default templates.
[The existence of the eduroam package is essentially my reason for using wicd and not experimenting with netcfg which sounds good in almost all other ways!]
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline