You are not logged in.
Well, the simple test is to just move /etc/tmpfiles.d to /etc/foo which I did. Following a reboot, nothing changed.
Not sure what you expected to accomplish with this given that you had already hand reviewed the contents of the directory.
Good, so it's not your tmpfiles that causes the problem.
Uhh, what? What about /run/tmpfiles.d? What about /usr/lib/tmpfiles.d? He removed /etc from the equation, but that doesn't stop $process or $administrator from putting things elsewhere. Had he masked the tmpfiles setup service I think only then would it be fair to draw this conclusion.
Try rebooting (add systemd.unit=rescue.target to your bootloader) into rescue.target and see if the /proc/sys/vm/* settings are correct...
Right.... bisect the bootup, as I mentioned before.
Offline
Try rebooting (add systemd.unit=rescue.target to your bootloader) into rescue.target and see if the /proc/sys/vm/* settings are correct...
When I boot to the rescue.target sysctl.conf this problem is not present.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
So I think the idea is to go on to the next step, and the next step, and so on. Once the problem pops up, you will at least have an idea of what target this is being set at. So then you can use that info to further dissect that target.
Offline
Seems to be something in xfce4... If I disable lxdm, reboot, login into the console and check my settings, they are as defined in /etc/sysctl.conf. If I `start x` they are overwritten. This is true for any user even one I just created as a test.
What is _really_ odd is that, I can manually run `sudo sysctl -p` and logout, log back in and the settings are NOT overwritten. I would think that whatever it is that's changing these settings upon either logging in via lxdm or via the console then via an `xinit`would be consistently doing this, no?
The only things I have run via "autostart" are:
PolicyKit Authentication Agent
Power Manager
PulseAudio Sound System
Screensaver
Xfsettingsd
EDIT: After spinning up a fresh Arch VM, and installing xfce4 on it, the very same behavior is exhibited. Anyone else reading this thread using xfce4 out there? Can you reproduce?
1) Add this line for example to /etc/sysctl.conf
vm.dirty_ratio = 3
2) Reboot
3) Start an X session (either by your graphical greeter or `xinit`).
4) Check that the setting has not been overwritten `cat /proc/sys/vm/dirty_ratio` should return 3 not 10.
Last edited by graysky (2013-08-10 09:03:32)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Did you see my earlier message about pm-utils? Please check the file /usr/lib/pm-utils/power.d/laptop-mode. This script is probably executed when a xfce session is started.
Last edited by chp (2013-08-10 09:31:32)
Offline
Did you see my earlier message about pm-utils? Check the file /usr/lib/pm-utils/power.d/laptop-mode. This script is probably executed when a xfce session is started.
Dunno how I missed that. You are right: this is the culprit... and thank you for the suggestion
% sudo chmod -x /usr/lib/pm-utils/power.d/laptop-mode
Now upon rebooting, everything is as it should be.
Do you have pm-utils installed? It has a laptop-mode script that sets vm.dirty_ratio. You can disable it by adding an empty file laptop-mode in /etc/pm/power.d/
I don't think users should have to do this empty file solution... since pm-utils is a dep of upower>xfce4-session that means both laptop and non-laptop users alike will be using it. Bug against pm-utils? Enabled by default seems to be wrong.
EDIT: https://bugs.archlinux.org/task/28115
This behavior really needs to be changed in our package IMO.
EDIT2: Ahhhhhhhhh.... Looks like we did finally shed this PoS: https://projects.archlinux.org/svntogit … dbea9e5856
Related for reference: https://bugs.archlinux.org/task/31349
Last edited by graysky (2013-08-10 10:21:57)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Yeah, I installed xfce4-power-manager recently and was very pleasantly surprised to see that the dependency of pm-utils is now gone from upower! Really that was one of the primary reasons I refused to use xfce4-power-manager...
Offline
graysky, thanx that helped me too
Offline
Just to note that the update to upower is not yet in the stable repo.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
chp wrote:Did you see my earlier message about pm-utils? Check the file /usr/lib/pm-utils/power.d/laptop-mode. This script is probably executed when a xfce session is started.
Dunno how I missed that. You are right: this is the culprit... and thank you for the suggestion
% sudo chmod -x /usr/lib/pm-utils/power.d/laptop-mode
Now upon rebooting, everything is as it should be.
chp wrote:Do you have pm-utils installed? It has a laptop-mode script that sets vm.dirty_ratio. You can disable it by adding an empty file laptop-mode in /etc/pm/power.d/
I don't think users should have to do this empty file solution... since pm-utils is a dep of upower>xfce4-session that means both laptop and non-laptop users alike will be using it. Bug against pm-utils? Enabled by default seems to be wrong.
EDIT: https://bugs.archlinux.org/task/28115
This behavior really needs to be changed in our package IMO.
EDIT2: Ahhhhhhhhh.... Looks like we did finally shed this PoS: https://projects.archlinux.org/svntogit … dbea9e5856
Related for reference: https://bugs.archlinux.org/task/31349
Nice, I look forward to finally being able to un-install pm-utils. It amazes me how that totally unmaintained POS is still in every distro
Offline