Skip to main content.

2001-Apr-25

Received a Bus Error when setting TZ="" and using rdate (but not with date). Don't have problem on 1.4.2. gdb indicates strftime(). CVS logs showed a strftime() change for timezones. Sent an email to current-users; and received another verification for 1.5U (Segmentation Fault). Send-pr: lib/12750. Received some more emails with examples verifying the problem. Andrew Brown sent me a two-line patch for libc/time/localtime.c that appears to fix the problem for me. (12750 closed on 27/Apr/2001.)

A few emails on tech-pkg discussed checking changes of installed packages. "make show-downlevel" under /usr/pkgsrc shows all the pkgsrc packages that differ from currently installed. Another idea is to compare output of "ls -l /var/db/pkg/*", "pkg_info -a | sort", or "pkg_info -BbSsa" for making daily comparisons. Another idea is to create this list daily; and then add that list (filename) to /etc/changelist (and the security script will back it up and check for modifications).

And "pkg_admin check" is interesting; I ran it and received 311 lines of "fails MD5 checksum" and several "... is in +CONTENTS but not on filesystem!" errors. From looking closer, it appears that my /var/db/pkg/ has a bunch of duplicate packages (different versions), like: suse_base-6.3 and suse_base-6.4. (But it seems to work fine.)