No packages reinstalled on upgrade to Wed Nov 26 15:27:11 CST 2014


  • I just updated my test APU to:
    2.2-BETA (amd64)
    built on Wed Nov 26 15:27:11 CST 2014
    FreeBSD 10.1-RELEASE

    It did not reinstall any packages, and I can't see in the system log where it has even tried. It just has:

    Nov 27 09:35:54 	php-fpm[6646]: /rc.start_packages: Restarting/Starting all packages.
    

    Here is the system log from near the end of the FreeBSD kernel boot output up to when I logged into the webGUI - latest at top:

    Nov 27 09:36:13 	php-fpm[6646]: /index.php: Successful login for user 'admin' from: 10.52.0.101
    Nov 27 09:36:13 	php-fpm[6646]: /index.php: Successful login for user 'admin' from: 10.52.0.101
    Nov 27 09:35:56 	login: login on ttyu0 as root
    Nov 27 09:35:56 	sshlockout[78610]: sshlockout/webConfigurator v3.0 starting up
    Nov 27 09:35:56 	getty[78261]: open /dev/ttyv0: No such file or directory
    Nov 27 09:35:56 	getty[78261]: open /dev/ttyv0: No such file or directory
    Nov 27 09:35:54 	php-fpm[6646]: /rc.start_packages: Restarting/Starting all packages.
    Nov 27 09:35:54 	kernel: done.
    Nov 27 09:35:54 	kernel: done.
    Nov 27 09:35:54 	php: rc.bootup: Creating rrd update script
    Nov 27 09:35:45 	kernel: ...done.
    Nov 27 09:35:45 	kernel: ..
    Nov 27 09:35:45 	check_reload_status: Updating all dyndns
    Nov 27 09:35:45 	dhcpleases: kqueue error: unkown
    Nov 27 09:35:45 	kernel: done.
    Nov 27 09:35:44 	kernel: done.
    Nov 27 09:35:26 	kernel: done.
    Nov 27 09:35:26 	php: rc.bootup: ROUTING: setting default route to 10.49.80.250
    Nov 27 09:35:23 	check_reload_status: rc.newwanip starting ovpnc1
    Nov 27 09:35:23 	kernel: ovpnc1: link state changed to UP
    Nov 27 09:35:21 	check_reload_status: Linkup starting re2
    Nov 27 09:35:21 	devd: Executing '/usr/local/sbin/pfSctl -c 'interface linkup start re2''
    Nov 27 09:35:21 	kernel: re2: link state changed to UP
    Nov 27 09:35:21 	kernel:
    Nov 27 09:35:20 	kernel: done.
    Nov 27 09:35:18 	php: rc.bootup: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/WAN_DHCP-quality.rrd N:U:U' returned exit code '1', the output was 'ERROR: opening '/var/db/rrd/WAN_DHCP-quality.rrd': No such file or directory'
    Nov 27 09:35:18 	kernel: .done.
    Nov 27 09:35:18 	php: rc.bootup: RRD create failed exited with 1, the error is: ERROR: creating '/var/db/rrd/WAN_DHCP-quality.rrd': No such file or directory
    Nov 27 09:35:18 	kernel: ....
    Nov 27 09:35:17 	kernel: pflog0: promiscuous mode enabled
    Nov 27 09:35:17 	kernel: tun1: changing name to 'ovpnc1'
    Nov 27 09:35:17 	kernel:
    Nov 27 09:35:17 	php: rc.bootup: Resyncing OpenVPN instances.
    Nov 27 09:35:17 	check_reload_status: Linkup starting re0
    Nov 27 09:35:17 	devd: Executing '/usr/local/sbin/pfSctl -c 'interface linkup stop re0''
    Nov 27 09:35:17 	kernel: re0: link state changed to DOWN
    Nov 27 09:35:17 	check_reload_status: Linkup starting re2
    Nov 27 09:35:17 	devd: Executing '/usr/local/sbin/pfSctl -c 'interface linkup stop re2''
    Nov 27 09:35:17 	kernel: re2: link state changed to DOWN
    Nov 27 09:35:17 	kernel:
    Nov 27 09:35:17 	check_reload_status: rc.newwanip starting re1
    Nov 27 09:35:15 	check_reload_status: Linkup starting re1
    Nov 27 09:35:15 	devd: Executing '/usr/local/sbin/pfSctl -c 'interface linkup start re1''
    Nov 27 09:35:15 	kernel: re1: link state changed to UP
    Nov 27 09:35:14 	sshlockout[8123]: sshlockout/webConfigurator v3.0 starting up
    Nov 27 09:35:14 	sshd[7866]: Server listening on 0.0.0.0 port 22.
    Nov 27 09:35:14 	sshd[7866]: Server listening on :: port 22.
    Nov 27 09:35:13 	check_reload_status: Linkup starting re1
    Nov 27 09:35:13 	devd: Executing '/usr/local/sbin/pfSctl -c 'interface linkup stop re1''
    Nov 27 09:35:13 	kernel: re1: link state changed to DOWN
    Nov 27 09:35:13 	kernel:
    Nov 27 09:35:13 	kernel: Trying to mount root from ufs:/dev/ufs/pfsense0 [ro,sync,noatime]...
    Nov 27 09:35:13 	kernel: da0: quirks=0x2 <no_6_byte>Nov 27 09:35:13 	kernel: da0: 7580MB (15523840 512 byte sectors: 255H 63S/T 966C)
    Nov 27 09:35:13 	kernel: da0: 40.000MB/s transfers
    Nov 27 09:35:13 	kernel: da0: Serial Number 058F63666485
    Nov 27 09:35:13 	kernel: da0: <multiple card="" reader="" 1.00=""> Removable Direct Access SCSI-4 device
    Nov 27 09:35:13 	kernel: da0 at umass-sim0 bus 0 scbus6 target 0 lun 0
    Nov 27 09:35:13 	kernel: Timecounter "TSC" frequency 1000021446 Hz quality 800
    Nov 27 09:35:13 	kernel: SMP: AP CPU #1 Launched!
    Nov 27 09:35:13 	kernel: umass0: <generic 0="" 2="" flash="" card="" readerwriter,="" class="" 0,="" rev="" 2.01="" 1.00,="" addr=""> on usbus6
    Nov 27 09:35:13 	kernel: ugen6.2: <generic> at usbus6
    Nov 27 09:35:13 	kernel: uhub3: 5 ports with 5 removable, self powered
    Nov 27 09:35:13 	kernel: uhub1: 5 ports with 5 removable, self powered
    Nov 27 09:35:13 	kernel: uhub6: 4 ports with 4 removable, self powered
    Nov 27 09:35:13 	kernel: uhub5: 4 ports with 4 removable, self powered
    Nov 27 09:35:13 	kernel: uhub2: 5 ports with 5 removable, self powered
    Nov 27 09:35:13 	kernel: uhub0: 5 ports with 5 removable, self powered
    Nov 27 09:35:13 	kernel: uhub4: 2 ports with 2 removable, self powered</generic></generic></multiple></no_6_byte>
    

  • Huh, that's the same snapshot I have on all our package test systems, and they did properly reinstall packages. That nano or full on that APU? At this instant, our package test systems are all full installs. I'm rectifying that right now.


  • It is a nanoBSD on SD card in APU amd64


  • Same setup I have on my test APU. Though I didn't have any packages on it when I upgraded it to that same snapshot. I do now, will upgrade again when there's a new snapshot and see.


  • All I had on mine was Cron - I noticed because when this happens the menus still have the package entries but clicking them gets a page not found because the code behind it is not there.


  • Might have been glitches during the changes.
    Can you try with the latest snapshot?


  • @phil.davis:

    I just updated my test APU to:
    2.2-BETA (amd64)
    built on Wed Nov 26 15:27:11 CST 2014
    FreeBSD 10.1-RELEASE

    I'm on that version at the moment, and my packages installed ok as seen here https://forum.pfsense.org/index.php?topic=84637.msg464206#msg464206

    Could it be a difference in hardware, my test fw is a 8Gb dual core intel nuc with 128Gb ssd fwiw.


  • Upgraded again to:
    2.2-BETA (amd64)
    built on Thu Nov 27 00:15:05 CST 2014
    FreeBSD 10.1-RELEASE

    and the packages reinstalled OK this time (Cron and bandwidthd were reinstalled).

    So maybe there was some other issue, or the previous build had changes that Ermal was part-way through finishing.


  • My APU, ALIX, and all package test systems reinstalled all packages fine and started their services correctly after upgrade to both of the snapshots that have come out on the 27th, seems good.