Re: freebsd-update.conf IgnorePaths linker.hints not working

看板FB_security作者時間11年前 (2014/06/18 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串8/8 (看更多)
On 18/06/14 06:37, Morhold wrote: > Same here with 9.1-RELEASE-p14: Since I've had no further instruction or advice here (or on -questions), I've solved it myself for now. > So I just did like this: > - copied /usr/sbin/freebsd-update to /usr/sbin/freebsd-update,my > - applied to /usr/sbin/freebsd-update,my the following patch: I'm doing something similar, the difference being I'm introducing a simple script rather than patching a file which might be changed in an update: $ sudo crontab -l 0 3 * * * /usr/local/scripts/freebsd-update-cron $ cat freebsd-update-cron #!/bin/sh mv /boot/kernel/linker.hints /boot/kernel/linker.hints.bk /usr/sbin/freebsd-update cron mv /boot/kernel/linker.hints.bk /boot/kernel/linker.hints _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #1JeFBUdn (FB_security)
討論串 (同標題文章)
文章代碼(AID): #1JeFBUdn (FB_security)