calendar -a failing in 10.2-RELEASE
Robert Ames
robertames at hotmail.com
Sun Dec 20 23:21:26 UTC 2015
In 10.2-RELEASE running "calendar -a" as root fails when user calendar files have a #include line. This worked in 10.0-RELEASE (and before). From my limited testing I think it's looking for the included files relative to root's home directory and not the user's home directory. The svn repository shows some changes in this area in recent releases. Not sure if this new behavior is intentional.
$ uname -a
FreeBSD freebsd.example.com 10.2-RELEASE FreeBSD 10.2-RELEASE #0: Sun Dec 20 10:00:14 CST 2015 root at freebsd.example.com:/usr/obj/usr/src/sys/GENERIC i386
$ id
uid=1000(robert) gid=20(staff) groups=20(staff),0(wheel),5(operator)
$ date
Sun Dec 20 16:47:44 CST 2015
$ cat ~/.calendar/calendar
#include <moredates>
$ cat ~/.calendar/moredates
12/20 Today is December 20
$ calendar
Dec 20 Today is December 20
root at freebsd# id
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator)
root at freebsd# calendar -a
calendar: can't open calendar file "moredates"
More information about the freebsd-stable
mailing list