[solved] 2.2.3 nanobsd - packages reinstall after upgrade totally screwed
-
I have had no luck with those cards over the years. They've all died on me fairly soon.
Hmmm… interested. Out of some ~20, only one is dead here so far. Granted, there's not much done with them. Those Alixes are replacement for shitty ISP-supplied junk, with writing done when new pfS versions comes out, pretty much nothing to write home about in between.
Kingston, I won't touch. Can't even count how many SD cards have dies on me in phones. The higher the was class, the shittier product. Some of them even DoA. >:( >:( >:(
-
i have 3 alix boxes and 4 full installs with 1 of them running on nanobsd and in general i see some issue with package reinstalls
the first alix with nanobsd had cron package and that reinstalled fine on reboot after upgrade
the second nanobsd machine is a full PC with nanobsd on it and that runs squid and cron only, on reboot cron installs fine but squid got stuck on extracting, so i aborted it and reupgraded it and the next time it installed squid just fine and all errors vanishedi dont know y but extracting gets stuck for some packages and for some it works fine
-
I'd be interested to know if the problem could be repeated with the disk set to be permanently rw (Diag > NanoBSD, check the box and save)
Well, good news is that this totally avoided any issue described in the OP on two Alix boxes… 8)
-
I'd be interested to know if the problem could be repeated with the disk set to be permanently rw (Diag > NanoBSD, check the box and save)
Well, good news is that this totally avoided any issue described in the OP on two Alix boxes… 8)
That is good news. I added a note to the changelog doc about that yesterday, I may add a note to the upgrade guide as well.
-
Yeah, that's the patch that was removed. At least the part of it that actually affected the filesystem.
Guys, it really sucks now.
Every config action is delayed 4 seconds now, this is very anti-productive. I'm using brand new SanDisk CF cards, 2015 model, on Supermicro A1SRi-2758F with a CF-to-SATA adapter.
/etc/rc.conf_mount_rw followed by /etc/rc.conf_mount_ro is also 4 to 5 seconds.
Previously it was working in an instant.I am using exclusively only NanoBSD version in all kinds of setups, Jetway systems, SuperMicro and various thin clients and never had any boot problems or whatsoever.
Can you please consider putting back the patch with a configurable option/system tunable? Because I definitely vote to keep using it.
I see the option of keeping it RW all the time, but NanoBSD exists exactly because of the super-great capability to keep the system RO, and we should really keep relying on that professional feature, as an extra security measure.
-
Yeah, that's the patch that was removed. At least the part of it that actually affected the filesystem.
Guys, it really sucks now.
Every config action is delayed 4 seconds now, this is very anti-productive. I'm using brand new SanDisk CF cards, 2015 model, on Supermicro A1SRi-2758F with a CF-to-SATA adapter.
/etc/rc.conf_mount_rw followed by /etc/rc.conf_mount_ro is also 4 to 5 seconds.
Previously it was working in an instant.I am using exclusively only NanoBSD version in all kinds of setups, Jetway systems, SuperMicro and various thin clients and never had any boot problems or whatsoever.
Can you please consider putting back the patch with a configurable option/system tunable? Because I definitely vote to keep using it.
I see the option of keeping it RW all the time, but NanoBSD exists exactly because of the super-great capability to keep the system RO, and we should really keep relying on that professional feature, as an extra security measure.
Consider yourself lucky with those 4 seconds. It's virtually minutes for some people, plain unusable without switching to permanent RW. Plus this - https://redmine.pfsense.org/issues/4803 – dunno how exactly this helped with filesystem corruption, appears the cure is worse than the disease.
-
Oh shit.
Put back the patch, please, please…
-
I have noticed that after the first reboot, packages don't seem to fully reinstall until I reboot a second time. Is that normal?
-
For most of my boxes packages just don't reinstall, some finally did and the others I had to roll back to 2.2.2 until this package reinstall issue is fixed
-
I have been bitten by this too. Config changes take about 5 minutes to complete. I have three nearly identical systems on which the 4GB nanobsd image is written on a brand new HP 8GB v221 USB stick. Since the 2.2.3 upgrade my systems are pretty well unusable from an administration standpoint.
Is there a workaround for this? The thread above is not very clear.
Thanks,
Bennett -
Is there a workaround for this? The thread above is not very clear.
I don't know what's not very clear from the huge hint at the top of the very first post.
-
I'm not sure what you are seeing in the first post, but all I see is a bold faced advisory that explains nothing, and I read every post in the thread.
"tl;dr: Preferably before upgrade, go to Diagnostics - NanoBSD and"
AND nothing.
Might you grace me with a more fulsome explanation?
If making my flash permanently read/write is the workaround you are cryptically alluding to, I'm not keen on it.
![Screen Shot 2015-07-02 at 3.31.15 AM.png](/public/imported_attachments/1/Screen Shot 2015-07-02 at 3.31.15 AM.png)
![Screen Shot 2015-07-02 at 3.31.15 AM.png_thumb](/public/imported_attachments/1/Screen Shot 2015-07-02 at 3.31.15 AM.png_thumb) -
-
AND nothing.
Your browser or network might block inline pictures. The next sentence is actually a screenshot of the setting you have to do, but for some reason it doesn't appear in your browser.
-
I don't want to start a new thread about this, but I've had to move back to 2.2.2 because of the 2-3 min config change time. So are some saying now that the change is to just set RW all the time? I could do this but I believed from others saying over the years that CF cards didn't like this. I'm wondering if USB sticks don't like this either. I know SSD have wear leveling so those probably don't apply.
Anyhow, is this now what must be done to run this normally or has anyone committed to patching this or at least fixing it next release?
Last question, is the broken limiter fixed in 2.2.3?
Thanks.
-
is the broken limiter fixed in 2.2.3?
As far as I remember reading from the changelogs, it is.
-
Thank you, Robi.
For whatever reason, adblock plus doesn't like the source of the inline image (tinypic.com).
-
Well, the cards are what PC Engines sells. This: http://www.pcengines.ch/cf2slc.htm
Do you have a recalled card by chance?
http://www.pcengines.ch/cfissue.htmWe don't have any 2G of those, but have several of the 4G version of same and they're all fine.
-
@cmb:
Do you have a recalled card by chance?
http://www.pcengines.ch/cfissue.htmWe don't have any 2G of those, but have several of the 4G version of same and they're all fine.
Hmm, don't think so… Just re-checked a couple of spare ones I have laying around, and they are all "code K" marked. (All of them were ordered at the same time, ~100 of them.)
-
Hmm, don't think so… Just re-checked a couple of spare ones I have laying around, and they are all "code K" marked. (All of them were ordered at the same time, ~100 of them.)
Could you double check a 'time /etc/rc.conf_mount_ro' (when it's rw mounted) on one of those?
And send a picture of the card?