In the case of high memory pressure there are actually a few interesting articles regarding the OOM Assassin failing to engage and leading to a hard lock even when swap is available.
IIRC steps to reproduce are:
Consume 85% of the systems resources
Slowly encroach on 100%
Ramp CPU to 100% and allocate the last RAM simultaneously
System dies
Only real solution if youre in a real life scenario where this is an actual risk is to not allow your system to overcommit memory
The only negative that comes to mind is that a swap file can fragment which can impact performance whereas a swap partition should not experience this fault.
My comment is only really a concern if you use FDE as it simplifies some management nuisances with encrypted swap partitions.
I would be very interested to see that article, I may be uninformed!
I agree, they should however take it into consideration.
IE doing curl url | sudo bash
Will never be best practice even if it is the simplest solution.
Disagreed
I can see how it can be interpreted that way as i failed to provide adequate context. Apologies for that.
Prevent some neophyte thinking AUR has no best practices
This is a great point and not a view I wish to express. I have ammended my original post to include context in bold.
Educate you on security
It is 1% though. It only guarantees the source is where you expect it to be and yiy havent installed obvious malware. This is preliminary. The packagebuild been valid guarantees absolutely nothing regarding the hardiness and content of the target application.
Congratulations you validated your installation of garbage application completed! garbage application however included your shadow file in its debug logs which transmitted over http! Yay!
Fair. I made an over-reaching statement which is wrong, I should have properly clarified myself to prevent misinterpretation.
Read the pkgbuild
The pkgbuild is less than 1% of the applications threat surface. Validating the source is where you expect it to be is great and all but it doesnt cover the following bases:
Is the source, although valid and hopefully sourced securely, non-malicious?
Is the application delivered audited and security checked to the same standard packages in the official repos are?
God help you if its a binary package sourced over http for example.
Disagree with security concerns
You disagree because you misunderstand what i am saying.
Yes security is important. Anyone security conscious would not touch huge amounts of the AUR because it effectively is the equivalent of running a random package from the internet.
The best practice is to opt out. Youre reframing what i am saying to the concept of general linux desktop security. Please re-read the original post, nowhere do i say desktop linux security isnt a problem.
If youre confused for context, read the thread title, then Ops post, then read my first post.
What are the threats of caching dependancies in an offline build system? Another user tampers with them and compromises the system when a priviledged user executes them or the product they produce.
Is this a reasonable concern for a single user linux desktop? NO
Did you even realise this is an obvious threat? Going by your above post where you put "obvious" in brackets clearly not!!
Does the linux desktop have security concerns? Shit yes, people still use xorg lol.
Am i making the braindead claim it doesnt? NO
What claim AM i making?
The threat of caching dependancies for AUR packages is non-existent in the context of an Arch Desktop User as theur use of the AUR in the firstplace is more likely to compromise their system.
Backpedel
If you call clarification and admission of error backpedaling i will absolutely continue to do that, this isnt a hill worth dying on. I hope you actually read what ive said and process it.
The gist is that use if the AUR is unsupported as nothing there is audited ti a reliable standard, the best practice is to either opt out of the ecosystem or take a subjective "good enough" stance on what you pull in from it.
There is no "best practice" for that "good enough" short of totally understanding the entirety of what youre running. Anything short of that is unreliable guesswork.
In the context of the context of the AUR no best practice regarding removing dependancies exists because:
You have already executed it
There is no multi-user environment to abuse an insecure build server to elevate or further compromise a system
The code youre running from AUR in the first place is untrustworthy because it is not in a supported package.
So it is fair to say none of the "obvious" security concerns from a build environment affect the linux desktop or arch users who use the AUR because by process of using the AUR they agree to run and trust untrusted code, the only best practice for the AUR is to not use it. Once you start using it every "Best practice" for running untrusted code supplied via the AUR is subjective and argueably snake oil.
Disagree? Elaborate please.
Unless your best practice is something like (and exceeding)
Only use -git packages
Validate the pkgbuild
Read and understand the sourcecode
Skip AUR helpers and use makepkg
Properly Sandbox both the compiling code and the resulting code before execution
You have no objectively proveable "best practice", you merely have a subjective "good idea" regarding damage control and a better "good idea" is to avoid the risk.
Its the equivalent of saying wear protective clothing vs dont walk into the structurally unsound building and jump around.
Your stating "there can be enough protective clothing" im saying "there can be, but its a moving goal, simply dont do it"
There is no best practice for AUR regarding this explicit question
Removing dependancies It from the build system becomes a time vs security concern and the security concern of storing build dependancies locally really doesnt apply to Arch or a single user the Linux desktop.
Are those inexperienced help seeking users aware they will more than likely meet with hostility when asked to troubleshoot and they have no idea what anything is?
Do you plan to support them or do you expect the arch community to do that for you even though theyre obtaining the system in a unsupported manner?
In the case of high memory pressure there are actually a few interesting articles regarding the OOM Assassin failing to engage and leading to a hard lock even when swap is available.
IIRC steps to reproduce are:
Consume 85% of the systems resources
Slowly encroach on 100%
Ramp CPU to 100% and allocate the last RAM simultaneously
System dies
Only real solution if youre in a real life scenario where this is an actual risk is to not allow your system to overcommit memory
What did you learn!
Title of the video should be "Manjaro, the new Ubuntu"
Manjaro been old African for "Couldn't install arch, but I turned the system clock back"
The only negative that comes to mind is that a swap file can fragment which can impact performance whereas a swap partition should not experience this fault.
My comment is only really a concern if you use FDE as it simplifies some management nuisances with encrypted swap partitions.
I would be very interested to see that article, I may be uninformed!
I agree, they should however take it into consideration.
IE doing curl url | sudo bash
Will never be best practice even if it is the simplest solution.
I can see how it can be interpreted that way as i failed to provide adequate context. Apologies for that.
This is a great point and not a view I wish to express. I have ammended my original post to include context in bold.
It is 1% though. It only guarantees the source is where you expect it to be and yiy havent installed obvious malware. This is preliminary. The packagebuild been valid guarantees absolutely nothing regarding the hardiness and content of the target application.
Congratulations you validated your installation of garbage application completed! garbage application however included your shadow file in its debug logs which transmitted over http! Yay!
Fair. I made an over-reaching statement which is wrong, I should have properly clarified myself to prevent misinterpretation.
The pkgbuild is less than 1% of the applications threat surface. Validating the source is where you expect it to be is great and all but it doesnt cover the following bases:
Is the source, although valid and hopefully sourced securely, non-malicious?
Is the application delivered audited and security checked to the same standard packages in the official repos are?
God help you if its a binary package sourced over http for example.
You disagree because you misunderstand what i am saying.
Yes security is important. Anyone security conscious would not touch huge amounts of the AUR because it effectively is the equivalent of running a random package from the internet.
The best practice is to opt out. Youre reframing what i am saying to the concept of general linux desktop security. Please re-read the original post, nowhere do i say desktop linux security isnt a problem.
If youre confused for context, read the thread title, then Ops post, then read my first post.
What are the threats of caching dependancies in an offline build system? Another user tampers with them and compromises the system when a priviledged user executes them or the product they produce.
Is this a reasonable concern for a single user linux desktop? NO
Did you even realise this is an obvious threat? Going by your above post where you put "obvious" in brackets clearly not!!
Does the linux desktop have security concerns? Shit yes, people still use xorg lol.
Am i making the braindead claim it doesnt? NO
What claim AM i making?
The threat of caching dependancies for AUR packages is non-existent in the context of an Arch Desktop User as theur use of the AUR in the firstplace is more likely to compromise their system.
If you call clarification and admission of error backpedaling i will absolutely continue to do that, this isnt a hill worth dying on. I hope you actually read what ive said and process it.
The gist is that use if the AUR is unsupported as nothing there is audited ti a reliable standard, the best practice is to either opt out of the ecosystem or take a subjective "good enough" stance on what you pull in from it.
There is no "best practice" for that "good enough" short of totally understanding the entirety of what youre running. Anything short of that is unreliable guesswork.
Use of a swap file is recommended over a swap partition for flexibility and security reasons.
Do you really want to swap or hibernate your encrypted system into an unencrypted storage device?
It doesn't, you can install debdelta to get this functionality
I believe its unsupported now for the same reason pacman doesnt permit delta upgrades anymore.
Apt doesnt do delta upgrades by default.
What you're experiencing is simply a faster release cycle.
Very poor compatability with a FLOSS model.
Bad trust foundation with the community regarding promises kept, ie they canned the 3XX support a full year earliee than promised.
Are you illiterate or do you like strawmanning?
In the context of the context of the AUR no best practice regarding removing dependancies exists because:
You have already executed it
There is no multi-user environment to abuse an insecure build server to elevate or further compromise a system
The code youre running from AUR in the first place is untrustworthy because it is not in a supported package.
So it is fair to say none of the "obvious" security concerns from a build environment affect the linux desktop or arch users who use the AUR because by process of using the AUR they agree to run and trust untrusted code, the only best practice for the AUR is to not use it. Once you start using it every "Best practice" for running untrusted code supplied via the AUR is subjective and argueably snake oil.
Disagree? Elaborate please.
Unless your best practice is something like (and exceeding)
You have no objectively proveable "best practice", you merely have a subjective "good idea" regarding damage control and a better "good idea" is to avoid the risk.
Its the equivalent of saying wear protective clothing vs dont walk into the structurally unsound building and jump around.
Your stating "there can be enough protective clothing" im saying "there can be, but its a moving goal, simply dont do it"
glances is a good tool too :)
Midori is pretty light for a full browser
Dystopian privacy policy been reason 0 of course
https://discordapp.com/privacy
Retained forever, traded as required, everything submitted is collected and processed (Unsolicited Information), owned by the parent company.
Slack, IRC, Riot...
SharePoint and Teams please.
Yes but you can be 100% sure that all your content is been logged and monetized!
The parent company owns everything, discord also actively process scans your machine looking for applicationsnit recognises!
No you cant turn that off or opt out.
Imo discord is spyware.
Cant speak for arch netboot but..
I use a redhat netboot (based) deployment with a playbook in production.
Oh developer X broke his shit?
Heres a new one in 15minutes and your old HDD mounted.
Non-nvidia XPS are 100% worth it.
USBC laptops are amazing as the peripherals for them are largely plug and play.
XPS devices also recieve firmware updates via fwupd so you can actually patch them up without windows!
I would avoid Mac IF you want to go down the bsd/linux path as their HW is a bit of a walled garden for interoperability.
If you trust Apple and have the dollar dollar, yes get a Mac, yes get an iPhone 11.
Be advised that linux support for iphones is subpar and mac hardware support for anything other than MacOS is fought for by tooth and nail.
Edit: Specified the iphone11 unless you like bootrom exploits.
Never used dstat.
What can it to do that htop + nethogs can't?
Sell it as a tool id want to use as a system administrator and ill look into maintaining it.
Edit: NVM I am blind, this is in community not AUR.
I cant maintain this as im not trustworthy.
Lubuntu, similar sitch with an SO.
Lubuntu has a more windows-ish workflow out of the box than xubuntu in my opinion.
Be sure to turn on unattended updates, install the things she needs and dont idolify the terminal.
Basically, do the total opposite of the typical arch user.
There is no best practice for AUR regarding this explicit question
Removing dependancies
Itfrom the build system becomes a time vs security concern and the security concern of storing build dependancies locally really doesnt apply to Arch or a single usertheLinux desktop.Edits are in bold.
Debian testing.
Was more a comment for people who stumble accross your (correct) solution in the future who get confused when they dont have that tool.
Just putting all the info in the one place no harm or bad faith intended :)
Are those inexperienced help seeking users aware they will more than likely meet with hostility when asked to troubleshoot and they have no idea what anything is?
Do you plan to support them or do you expect the arch community to do that for you even though theyre obtaining the system in a unsupported manner?