I can confirm this problem still exists in Hardy's nis package,
3.17-12ubuntu1.
[kryten ~]$ apt-cache policy nis
nis:
Installed: (none)
Candidate: 3.17-12ubuntu1
Version table:
3.17-12ubuntu1 0
500 http://ubuntu.osuosl.org hardy/main Packages
[kryten ~]$ sudo apt-get purge nis
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
nis*
0 upgraded, 0 newly installed, 1 to remove and 8 not upgraded.
After this operation, 946kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 216748 files and directories currently installed.)
Removing nis ...
[: 34: ==: unexpected operator
Purging configuration files for nis ...
This looks to be a bash vs. dashism issue around the string equality
test. Attached is a patch against nis' prerm script that addresses it
for me.
Without the fix, /sbin/unix_chkpwd is left setuid root rather than
changed back to stgid shadow when the nis package gets uninstalled.
** Attachment added: "nis prerm patch to fix uninstall error"
http://launchpadlibrarian.net/16291836/nis.prerm.diff
** Changed in: nis (Ubuntu)
Status: New => Confirmed
--
NIS uninstall error
https://bugs.launchpad.net/bugs/96834
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs