one-click third-party software installs
one-click third-party software installs
Posted Jan 26, 2011 21:10 UTC (Wed) by jthill (subscriber, #56558)In reply to: Untz: Results of the App Installer meeting, and some thoughts on cross-distro collaboration by rahulsundaram
Parent article: Untz: Results of the App Installer meeting, and some thoughts on cross-distro collaboration
I think it's plain this notion produces exactly the same sequence as what produces the Windows nightmare: anyone can construct a web page or email and put anything at all at the fetch URL. No.
Clicking on a web-page does fundamentally change the process. It's a little weird to newbies. It takes manually fiddling with system files, unless somebody's already made an update-sources.list protocol. imho that's just barely enough to stave off the Windows nightmare now.
Because installing third party software with apt means running root scripts directly from whatever's behind the flashy link, does it not?
I think a third-party install scheme that protects the system and the user has to be cooked up before considering this.
Say, for third-party-signed packages create a new user/group combo, that can be tied to an "origin" key that must also have signed the package-signing key. For unsigned packags just use "nobody" or "third-party" or something, they don't care enough they can go in the swamp.
Something to that effect, for sure:: you want to also protect these packages from each other.
Run the package scripts on the package's userid, with a special service to install links into the system hierarchy. Apps will also want some writable .config or .local or whatever it is now subdirectory, also prompt users to grant access. Put the app's per-user config one level down, .config/example/example-config, so metadata is inaccessible to the app. Log a copy of the outside-/opt actions to syslog, and show them to the user in like a three line text box with a that's all indicator. Offer "here's what's installed on your system. I've logged it to syslog. Want a copy?" <Save install log> <Thanks, I'm good>.
The access restrictions will stop most if not all of the Windows uninstall nightmare. Say add a product key in addition to the package key, then tag the directories with the responsible key. .config/opt/foo/.PRODUCT_ID_fingerprint doesn't match any installed package's fingerprint? It's stale. Make the tag file owned by root, the product's group, 744 so the user and app can verify, another service to update contents from newly-installed packages from the same origin. That's easily subvertible by the user
That, or convert everyone to kerberos...
