[18638] in Athena Bugs
linux 8.4.17: zctl
daemon@ATHENA.MIT.EDU (Ray Jones)
Wed Dec 27 15:54:36 2000
Message-Id: <200012272054.PAA03530@pixie.mit.edu>
To: bugs@MIT.EDU
Date: Wed, 27 Dec 2000 15:54:32 -0500
From: Ray Jones <thouis@MIT.EDU>
System name: pixie.mit.edu
Type and version: i686 8.4.17
Display type: XFree86 3.3.6 SVGA
Shell: /bin/athena/tcsh
Window manager: twm
What were you trying to do?
Add a zephyr subscription with "zctl add foo \* \*"
What's wrong:
My .zephyr.subs is a link to Private/.zephyr.subs, but
"zctl add" replaces the link with a plain file
(with the new subscription added)
"strace zctl add..." shows that zctl is making a copy of
.zephyr.subs in .zephyr.subs.temp, then calling rename to
replace .zephyr.subs with .zephyr.subs.temp (now just a copy
of .zephyr.subs), then finally, reopening .zephyr.subs and
appending the new subscription. This seems a bit of a
roundabout way of adding a subscription, since the last two
steps should suffice.
What should have happened:
"zctl add" should have appended the new subscription to
Private/.zephyr.subs and left the link alone.
Please describe any relevant documentation references: