看板 FreeBSD 關於我們 聯絡資訊
※ 引述《KC73 (肯先生)》之銘言: : ※ 引述《usnei (usnei)》之銘言: : : > 不過更新patch 是否還需要進行recompile kernel 呢? : : 不好意思, 針對這點, 想請教, 為何這個patch 不需要rebuild world ? : 關於 make world, 建議看一下手冊: : http://www.freebsd.org/doc/en/books/handbook/makeworld.html : Do not use make world: A lot of older documentation recommends : using make world for this. Doing that skips some important steps : and should only be used if you are sure of what you are doing. For : almost all circumstances make world is the wrong thing to do, and : the procedure described here should be used instead. : : 若針對kernel 修正. 那麼是應該download 新的kernel重編 或僅需要使用 : : 自己瘦身過的kernel 來recompile ? : : 應該說, 這個patch 寫入什麼地方. 當recompile origin kernel 會修正漏洞? : : 或著需要make buildworld install world 呢? : : 我是有make buildworld 跟install : : 但實際上 板本跟後面帶的p 號並沒有改變 : : 希望前輩能夠解答我這個疑惑 : 你要做的是安裝新 kernel: 請問一下, 所謂新kernel ,是我刪掉/usr/sys 底下的東西 透過sysinstall 再去安裝的src , 再把/usr/src/sys/i386/conf/GENERIC 複製到我指定的目錄下再編輯嗎? 這跟我之前已編過的kernel 有何不同嗎? 可能是我提到的origin kernel 語意不詳, 應該是說 我recompile kernel 都是用已經瘦身過的kernel , 只是不知道更新此patch , 為何僅需要 recompile kernel reboot 即可, 而不用rebuild world 我不清楚重新編譯kernel 跟這個patch 有何關連? 這個patch 是3/23 發佈的 http://security.freebsd.org/advisories/FreeBSD-SA-09:06.ktimer.asc 不好意思, 一直線的想法, 可能不知變通 , 僅想把這些問題釐清 發言若有愚鈍之處 再請見諒 也請不吝告知何處是我觀念不正確的地方 : http://www.freebsd.org/doc/en/books/handbook/kernelconfig-building.html : 如果你用 freebsd-update 更新的話, 看它下載的檔案, 有時候是連 kernel : 都不用動到的; 如果下載的檔案, 都跟 kernel 無關, 就不用動到 kernel。 : freebsd-update 也請看手冊 24.2 囉! freebsd-update 的確很好用:) -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 211.75.179.117