Updating Bastille jails from 15.0-RC3 to 15.0-RELEASE

After updating a host from 15.0-RC3 to 15.0-RELEASE, I tried to update the Bastille jails, and got into a dead end:

Code:
# bastille bootstrap 15.0-RELEASE
# bastille update 15.0-RELEASE
# bastille stop ALL
# bastille upgrade webjail 15.0-RELEASE
# bastille etcupdate bootstrap 15.0-RELEASE
# bastille etcupdate webjail update 15.0-RELEASE
# bastille etcupdate webjail resolve

# same procedure for other jails...

# bastille pkg ALL upgrade -f
## packages getting reinstalled...

# bastille start ALL

After this, all jails should have been updated, but:

Code:
# bastille cmd webjail freebsd-version

[webjail]:
15.0-RC3

# cat /usr/local/bastille/jails/webjail/fstab
/usr/local/bastille/releases/15.0-RC3 /usr/local/bastille/jails/webjail/root/.bastille nullfs ro 0 0

# bastille list
 JID  Name        Boot  Prio  State  Type   IP Address              Published Ports  Release   Tags
 16   dbjail      on    99    Up     thin   10.95.0.30              -                15.0-RC3  -
                                            fdb6:1b5:3992:e964::30
 15   djangojail  on    99    Up     thin   10.95.0.20              -                15.0-RC3  -
                                            fdb6:1b5:3992:e964::20
 17   mailjail    on    99    Up     thin   10.95.0.40              -                15.0-RC3  -
                                            fdb6:1b5:3992:e964::40
 20   webjail     on    99    Up     thin   10.95.0.10              -                15.0-RC3  -
                                            fdb6:1b5:3992:e964::10

# head -13 /usr/local/bastille/jails/webjail/jail.conf
webjail {
  enforce_statfs = 2;
  devfs_ruleset = 13;
  exec.clean;
  exec.consolelog = /var/log/bastille/webjail_console.log;
  exec.start = '/bin/sh /etc/rc';
  exec.stop = '/bin/sh /etc/rc.shutdown';
  host.hostname = webjail;
  mount.devfs;
  mount.fstab = /usr/local/bastille/jails/webjail/fstab;
  path = /usr/local/bastille/jails/webjail/root;
  securelevel = 2;
  osrelease = 15.0-RC3;

Then again:

Code:
# bastille stop webjail
# bastille upgrade webjail 15.0-RELEASE
[ERROR]: Jail is already running '15.0-RELEASE' release.
See 'bastille update RELEASE' to update the release.

But also, when I try to downgrade:

Code:
# bastille upgrade webjail 15.0-RC3
[ERROR]: Jail is already running '15.0-RC3' release.
See 'bastille update RELEASE' to update the release.

I finally resorted to modifying fstab and jail.conf, and now all jails report being on 15.0-RELEASE, but I am still not sure whether it was safe to do so. Is this a general problem when updating from release candidates to releases, and should I have done something differently?
 
What version of bastille?

Also, what is the output of `./usr/local/bastille/releases/15.0-RELEASE/bin/freebsd-version`?
 
Code:
# bastille -v
1.1.2.251119
# /usr/local/bastille/releases/15.0-RELEASE/bin/freebsd-version 
15.0-RELEASE
 
Back
Top