#19439: Some sysupgrade keep.d files not kept after r45272
------------------------------+------------------------
  Reporter:  leitec           |      Owner:  developers
      Type:  defect           |     Status:  new
  Priority:  response-needed  |  Milestone:
 Component:  packages         |    Version:  Trunk
Resolution:                   |   Keywords:
------------------------------+------------------------

Comment (by leitec):

 It looks like find is the culprit. It's getting caught when the first file
 isn't found, which in my case is from 'ppp':

 {{{
 root@OpenWrt:/# find $(sed -ne '/^[[:space:]]*$/d; /^#/d; p'
 /etc/sysupgrade.con
 f /lib/upgrade/keep.d/* 2>/dev/null) -type f -o -type l
 /etc/config/network
 /etc/config/dhcp
 /etc/config/ubootenv
 /etc/config/network
 /etc/config/wireless
 /etc/config/system
 /etc/config/dropbear
 /etc/config/firewall
 /etc/dropbear/dropbear_rsa_host_key
 /etc/dropbear/dropbear_dss_host_key
 /etc/crontabs/root
 /etc/hosts
 /etc/inittab
 /etc/group
 /etc/passwd
 /etc/profile
 /etc/shadow
 /etc/shells
 /etc/sysctl.conf
 /etc/rc.local
 find: /etc/ppp/ip-down: No such file or directory
 root@OpenWrt:/#
 }}}

 checking the older busybox on another router, it doesn't stop:

 {{{
 <snip>
 find: /etc/ppp/ip-down: No such file or directory
 find: /etc/ppp/ip-up: No such file or directory
 find: /etc/ppp/ipv6-down: No such file or directory
 find: /etc/ppp/ipv6-up: No such file or directory
 /etc/config/ubootenv
 /etc/fw_env.config
 root@ea4500:~#
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/19439#comment:3>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to