Conversation
./data points to /var/snap/couchd/common/data
Added warning on /var size and replaced the building snap section
There is no make install. cp the files instead.
Seems to be required.
|
Hey Simon @sklassen, i tried the |
…ose is now verbosity.
I ran and also saw the same error. It did worked on a previous version of snapcraft. The arguments verbose has also changed since last I ran it. Checking the logs and comparing to previous runs, I can see it executing Maybe something with newline.
This worked for me locally and when running remote-build. This is the snapcraft location and version I used. After which Try again and see if it works for you. You should then see a It would be better if we didn't have to have an override-build. It is needed because i) couchdb configure doesn't have a --prefix (I believe it did in the 2.3.x branch but disappeared at some point) and ii) the Makefile is missing |
|
Hey Simon, I tested your latest updates and it work for me. I tried to build the snaps for all other architectures too (except i386). Great work so far! We are building binary packages (.deb) for Debian and Ubuntu distributions. Could we use this instead of building it again from source? |
They are different paradigms and shoehorning an old file format into a new one seems perverse. On the practical side, CouchDB .deb's /opt/ clashes within .snap's /snap/ and /var/snap structure. But the stronger case is on the principle side. Snaps security enhancement over .deb comes from the |
Ok, got it. One question to the Base snap. Can a |
It can. In the past I was running core20 on a Ubuntu 16.04 for the longest time. I think 16.04 is the oldest supported vintage. The same applies for core22, the snap while confining some system calls, abstracts permitted system calls between the snap and the base system. It's pretty useful for those edge cases with old hardware or dated OSs. (You know, like when you have a collection of unreliable common hardware that you want to network together). |
Overview
Updated README-SNAP.md (removed process monitor; replace passwords, uuid and secrets with environment variables; showed bash scripts need to generate passwords, uuids and secrets.)
Updated hook scripts. configure now uses sed in-place mode; install now supports multiple instances; post refresh is a copy of install, possibly needed for those that transition from 2.x to 3.x
Rewrote snapcraft yaml to use version 3.3.2 from the tar release.
.gitignore now also ignores all .snap files.
Testing recommendations
I've release this version to couchdb-sklassen.
GitHub issue number
Fixes #105
Checklist