raimue
raimue on Hacker News
A temporary failure means that the job failed only once and then starts running again. If you want to investigate why it failed, you will need the output of that particular failed run.
You could just wrap cronic around the command and immediately receive the full output per mail when it fails. I don't see how a heartbeat alone without logs would help to identify temporary failures.
https://habilis.net/cronic/
Your service could accomplish something similar if it had such a wrapper to report both success and failures with logs to a remote server. That would take away the need to run a local MTA, while also detecting with the heartbeat whether the job ran at all.
Posted by
raimue on Monday July 20, 2026 @02:09PM
from the seclists.org dept.
I already explained above why the existence of linux/landlock.h is not sufficient. Why do you still question it? If you know a bit about system programming and how configure checks work, the change in itself is totally reasonable.
Now we are running in circles. As you see in the git commit, the compile check was added because the existance of linux/landlock.h alone was not enough to check that the feature can be used.
This header defines the data types for the Linux kernel interface, but not how the syscall landlock_create_ruleset(2) will be issued. That is provided by libc either as a separate wrapper function (does not exist in glibc) or the implementation needs to use syscall(SYS_landlock_create_ruleset, ...), with the constant also being provided by libc. That is how it works for all syscalls and you won't be able to change this.
Read the code of the check again. It mostly checks that the required SYS_* constants are defined to be able to use the syscalls. You can compile this on a system that does not have landlock enabled in the running kernel, but the libc (which imports the kernel system call interface) has to provide the syscall numbers.
Posted by
raimue on Thursday March 28, 2024 @03:57PM
from the show-hn dept.
Posted by
raimue on Thursday January 04, 2024 @04:26AM
from the blogs.windows.com dept.
Posted by
raimue on Tuesday December 26, 2023 @09:21PM
from the forrestheller.com dept.
The question is whether you can expect this format to stay stable and reproducible across git versions. Remember the fallout from git 2.38 when the output of 'git archive' changed. Although for this backup use case it would just mean the next backup with a new format would make a full copy once.
Posted by
raimue on Tuesday December 19, 2023 @08:31PM
from the mm.icann.org dept.
Posted by
raimue on Thursday November 23, 2023 @06:32PM
from the raimue.blog dept.
In the 2000s, Apple ran a big campaign with the phrase "I'm a Mac - I'm a PC" to highlight the difference.
Posted by
raimue on Wednesday October 11, 2023 @04:52PM
from the microsoft.gcs-web.com dept.
Back then, your suggestions were niche languages (and some still are) and are still not popular for embedded systems or network equipment. Large runtimes or huge static binaries are not suitable due to the memory and storage constraints.
You have to consider the surrounding ecosystem. Those interested in such languages are not necessarily those interested in contributing solutions to the problem space. Any project attempting to use such a language in OpenWrt would very likely not have survived until today.
I think the confusion comes from the documentation where ssh(1) says that the command "is executed on the remote host instead of a login shell.". Which is true from the perspective of ssh(1) in the sense of the protocol. The client has no control over what the server does with that string.
However, sshd(8) clearly documents that it will always execute the login shell, even when a command has been passed. ("All commands are run under the user's login shell as specified in the system password database.")
Subsystems open secondary channels to communicate separately from stdin/stdout of the remote command. I used the X11 forwarding before to run a remote command with sudo without getting the password prompt interfering with the protocol: https://raimue.blog/2016/09/25/how-to-run-rsync-on-remote-ho...
The author missed that sshd will always execute the user's shell and pass it the command with arguments as a `-c` argument. This means that the given command string will always be parsed by the remote shell. This is required to restrict users to certain commands with special shells like scponly or rbash.
When you keep in mind that the given command string will be parsed twice, first by your local shell and then again by the remote shell, it becomes clear why a running a remote ssh command behaves like this.
This is most probably because they are actually TIFF, but with the .png file extension they are served as image/png.
Posted by
raimue on Thursday March 16, 2023 @01:45PM
from the neverpanic.de dept.
There is git-fixup, which provides the 'git fixup' command that makes suggestions to which commit the currently staged changes should be added.
https://github.com/keis/git-fixup
git-fixup will add fixup! commits, so it still needs the mentioned 'git rebase -i --autosquash' afterwards. Usually you do not even need to give it a specific commit if your branch is set to track an upstream branch.
Posted by
raimue on Thursday November 03, 2022 @10:23AM
from the wired.com dept.
It would be easier to intercept the open() for the /proc/cpuinfo file with a LD_PRELOAD library. Of course that would still be detectable by the benchmark. You could also use a modified libc to spoof it. Then their only way out would be static linking.
You could even just modify the kernel to report arbitrary strings in /proc/cpuinfo.
So they use the CPUID instruction instead. The CPUID instruction can be trapped to throw a SIGSEGV instead of returning real values on x86 with arch_prctl(ARCH_SET_CPUID, 0). So an injected SIGSEGV handler could then spoof it.
But even then, you could also trap the CPUID instruction in the kernel, and spoof it from there, which would be even harder to detect from user space.
In the end, the benchmark program always needs to trust the kernel. Is it really worth trying to detect spoofing?
Posted by
raimue on Friday April 08, 2022 @04:53AM
from the openssh.com dept.
Posted by
raimue on Friday March 25, 2022 @03:39AM
from the politico.eu dept.
Posted by
raimue on Monday August 30, 2021 @02:54AM
from the github.com dept.
Posted by
raimue on Friday July 09, 2021 @05:29PM
from the aerofoils.de dept.
Posted by
raimue on Wednesday June 09, 2021 @05:46AM
from the bugzilla.mozilla.org dept.
Posted by
raimue on Tuesday June 08, 2021 @04:36AM
from the internetsociety.org dept.