Date: Wed, 17 Jan 2024 23:30:40 +0900 (JST) From: Kazumaro Aoki <ka@flu.if0.org> To: users-jp@freebsd.org Subject: Re: how to use etcupdate? Message-ID: <20240117.233040.582002293935319523.ka@flu.if0.org> In-Reply-To: <xsrttneekh4.fsf@kmgw.miyoshi.matsuyama.ehime.jp> References: <20240111.150026.1124763852111365461.ka@flu.if0.org> <xsrttneekh4.fsf@kmgw.miyoshi.matsuyama.ehime.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
$B$_$h$7$5$s!"@P0f!w9-Eg$5$s!"(Busers-jp$B$N3'MM(B $B@DLZOBKcO$!wF#Bt;T:_=;$G$9(B $B=u8@$"$j$,$H$&$4$6$$$^$9!#(B $B!d@P0f!w9-Eg$5$s(B $B$$$(!"$=$&$8$c$J$/$F!"C1$J$k@N$+$i$N47$l$NLdBj$G$9!#(B $B$A$g$C$H$:$D!"K\N.$NJ}K!$r3P$($J$1$l$P!D$H;W$C$F$^$9!#(B $B0JA0(Bcustom kernel$B$r;H$C$F$$$?;~4|$b$"$j$^$7$?$,!"$3$3(B10$BG/0J>e$O(BGENERIC $B$GDL$7$F$$$^$9!#(B $B!d$_$h$7$5$s(B /var/db/etcupdate/log$B$O(B5000$B9T6a$/$"$k$N$GCGG0$7$F$$$?$N$G$9$,!"$h$/9M(B $B$($k$H(B0$B%P%$%H$K$J$C$?%U%!%$%k$@$1DI$($P$$$$$N$G$9$h$M!#(B $B$=$l$b7k9=B??t$"$k$N$G!"8!:w$GB>$N;v>]$,0z$C$+$+$i$J$$$N$r8+$k$H!D(B >>> cp -Rp /var/db/etcupdate/etcupdate-4nbZE7M/root/.shrc /root/.shrc cp: /var/db/etcupdate/etcupdate-4nbZE7M/root/.shrc: Function not implemented $B$H$$$C$?$3$H$,$$$C$Q$$5-O?$5$l$F$$$F!"$3$l$r%-!<%o!<%I$K(BGoogle$B8!:w$9$k$H(B https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271287 $B$N:G=i$NEj9F$K$"$k(B In my case the problem of failing cp -Rp was caused by running etcupdate on upgraded system from 12.3 to 13.2 without reboot so every call of cp -Rp failed with "Function not implemented", but it is not user visible error. etcupdate shows nothing wrong. Those messages are logged in to /var/db/etcupdate/log but if you run "etcupdate" and because it shows success then "etcupdate resolve" and "etcupdate status" then the log file does not contain anything useful because it is overwritten by each new run of etcupdate. $B$r$^$5$K$d$C$F$7$^$C$?$h$&$K;W$$$^$9!#(B $B3N$+$K:F5/F0$7$?$N$+<+?.$,L5$/$J$j$^$7$?!#(B $B!t$7$+$7!"0l2s:F5/F0$rK:$l$?$@$1$G(B/etc$B$NB?$/$rGK2u$5$l$k$N$O$J$!!#(B $B!t$7$+$b$@$s$^$j$@$7!#(B $B$3$l$O!"(Betcupdate -n$B$G$O$_$D$+$i$J$5$=$&$J$N$G!"EvLL!"(B/etc$B$NJ]B8$r$7$F(B $B$+$i$N(Betcupdate$B$NMxMQ$H$7$?$$$H;W$$$^$9!#(B $B3'MM!"$I$&$b$"$j$,$H$&$4$6$$$^$7$?!#(B $B@DLZOBKcO$(B $B!Z0J2<!"A4J80zMQ