Search found 557 matches
- Sat Mar 29, 2025 8:42 am
- Forum: EasyOS
- Topic: Experiment with JuNest
- Replies: 10
- Views: 2160
Quick test of Homebrew on Linux
We download the installation script (install.sh) page https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh and make it executable.
As the script refuses to be runned as root, we use run-as-spot
run-as-spot ./install.sh ...
- Fri Mar 28, 2025 4:52 pm
- Forum: EasyOS
- Topic: Problems with sudo
- Replies: 15
- Views: 430
Re: Problems with sudo
BarryK wrote: Fri Mar 28, 2025 2:24 pm...
There is a bug, /usr/bin/sudo-sh does not have suid bit set. Do this:Code: Select all
# chmod 4711 /usr/bin/sudo-sh
...
It was no more necessary after the modifications you did :https://www.bkhome.org/news/202306/work ... nored.html
- Fri Mar 28, 2025 4:47 pm
- Forum: EasyOS
- Topic: Problems with sudo
- Replies: 15
- Views: 430
Problems with sudo (summary)
In a script, when a command starts with sudo , the next command starts almost immediately
Proposed solution: use another script to launch sudo (see https://forum.puppylinux.com/viewtopic.php?p=145565#p145565)
-Second problem
Errors with
sudo /bin/mkdir /test
and
sudo echo text ...
- Fri Mar 28, 2025 4:13 pm
- Forum: EasyOS
- Topic: Problems with sudo
- Replies: 15
- Views: 430
Re: Problems with sudo
BarryK wrote: Fri Mar 28, 2025 2:24 pm...
I am confused by your first post. Anyway, it looks like you are calling sudo twice, when launch the script, then inside the script.
...
The test is
Code: Select all
run-as-spot script
where script is
Code: Select all
#!/bin/bash
sudo mkdir /testsudo
touch /testsudo/test
- Fri Mar 28, 2025 10:59 am
- Forum: EasyOS
- Topic: Problems with sudo
- Replies: 15
- Views: 430
Modified version of sudo
This pet contains 3 scripts and a binary executable
- the script sudo as described above (https://forum.puppylinux.com/viewtopic.php?p=145565#p145565)
- the script sudo-real that is the file sudo from EasyOS Scarthgap 6.6.3
- the script sudo.sh with the commands realpath and ...
- Fri Mar 28, 2025 6:58 am
- Forum: EasyOS
- Topic: Problems with sudo
- Replies: 15
- Views: 430
improvement proposal for sudo
capture8717.png
In /usr/bin/sudo.sh, addition of these 3 pieces of code
if [ -f /root/.sudo-date ]; then
DATESUDO="$(cat /root/.sudo-date ...
- Fri Mar 28, 2025 6:41 am
- Forum: EasyOS
- Topic: Problems with sudo
- Replies: 15
- Views: 430
Re: Problems with sudo(new method for the first bug)
In a script, when a command starts with sudo , the next command starts almost immediately
...
For the first bug , I tested
in /usr/bin/sudo
line 23
exec sudo-sh ${PPID} ${C}
replaced by
sudo-sh ${PPID} ${C}
TESTGTKDIALOG=0
while [[ $TESTGTKDIALOG -eq 0 ]]
do
sleep 1
ps | grep ...
- Thu Mar 27, 2025 3:08 pm
- Forum: EasyOS
- Topic: Problems with sudo
- Replies: 15
- Views: 430
Re: Problems with sudo
...
EDIT: possible cause of the problem:
sudo-sh code in C : https://bkhome.org/news/202306/light-weight-replacement-for-sudo.html
The code was written for at most 7 parameters
...
The code has changed since this article
https://bkhome.org/news/202306/workaround-when-setuid-is-ignored.html ...
- Thu Mar 27, 2025 6:11 am
- Forum: EasyOS
- Topic: Problems with sudo
- Replies: 15
- Views: 430
Bug of the which comand ?
# which mkdir
/usr/bin/mkdir
# which echo
Edit: It's a feature of which as echo is a buit-in command of the shell
EDIT:
New try with (in /usr/bin/sudo.sh)
#RP="$(realpath -e "$2" 2>/dev/null)"
#if [ ! -x "${RP ...
- Tue Mar 25, 2025 2:21 pm
- Forum: EasyOS
- Topic: Problems with sudo
- Replies: 15
- Views: 430
Re: Problems with sudo
.
The commands
run-as-spot sudo /usr/bin/install -d /testdir1
run-as-spot sudo /usr/bin/install -d -o spot /testdir2
run-as-spot sudo /usr/bin/install -d -g spot /testdir3
succeed
but not the command
run-as-spot sudo /usr/bin/install -d -o spot -g spot /testdir4
It seems ...
- Tue Mar 25, 2025 12:28 pm
- Forum: EasyOS
- Topic: Problems with sudo
- Replies: 15
- Views: 430
Re: Problems with sudo
Back to the test
run-as-spot sudo /bin/mkdir /test
Actually it doesn't work as the executed command is in reality /usr/bin/busybox /test
The problem comes from the lines 19 to 25 in /usr/bin/sudo.sh
RP="$(realpath -e "$2" 2>/dev/null)"
if [ ! -x "${RP}" ];then
RP="$(which "$2")"
if ...
- Mon Mar 24, 2025 6:08 pm
- Forum: EasyOS
- Topic: Problems with sudo
- Replies: 15
- Views: 430
Re: Problems with sudo
run-as-spot sudo /bin/mkdir /test
Actually it doesn't work as the executed command is in reality /usr/bin/busybox /test
The problem comes from the lines 19 to 25 in /usr/bin/sudo.sh
RP="$(realpath -e "$2" 2>/dev/null)"
if [ ! -x "${RP}" ];then
RP="$(which "$2")"
if ...
- Mon Mar 24, 2025 4:04 pm
- Forum: EasyOS
- Topic: Problems with sudo
- Replies: 15
- Views: 430
Re: Problems with sudo
in /usr/bin/sudo
line 23
exec sudo-sh ${PPID} ${C}
replaced by
sudo-sh ${PPID} ${C}
TESTGTKDIALOG=0
while [[ $TESTGTKDIALOG -eq 0 ]]
do
sleep 1
ps | grep "gtkdialog --program=SUDOSH_DLG" | grep -v grep 2>&1 /dev/null
TESTGTKDIALOG=$?
done
The variable ...
- Mon Mar 24, 2025 8:09 am
- Forum: EasyOS
- Topic: Problems with sudo
- Replies: 15
- Views: 430
Problems with sudo
To visualize the problem, run-as-spot this script
#!/bin/bash
sudo mkdir /testsudo
touch /testsudo/test
The command touch fails (unless you enter the password very quickly)
Another bug, less important, is ...
- Sun Mar 23, 2025 6:48 am
- Forum: EasyOS
- Topic: Experiment with JuNest
- Replies: 10
- Views: 2160
New tests (Oinstall and pkgsrc)
https://0install.net/
https://github.com/0install
Only the Windows version is updated and the linux version seems broken (mix of python2 and python3)
- Pkgsrc (A portable packaging system coming from NetBSD)
https://www.pkgsrc.org/
https://www.netbsd.org/docs/pkgsrc/ (The ...
- Mon Mar 17, 2025 10:57 am
- Forum: EasyOS
- Topic: Bug in limine installer (UEFI mode)
- Replies: 5
- Views: 553
Re: Bug in limine installer (UEFI mode)
In limine.cfg the lines
PROTOCOL=chainload
must be replaced by
PROTOCOL=efi_chainload
or
PROTOCOL=bios_chainload
(The protocol chainload is "unsupported" by this version of limine)
So in /usr/local/limine-installer/generate-menu-entry ...
- Sun Mar 09, 2025 5:24 am
- Forum: EasyOS
- Topic: EasyOS Daedalus-series version 6.6.5
- Replies: 41
- Views: 4589
Re: EasyOS Daedalus-series version 6.6.3
After upgrading to 6.6.3, cannot boot.
The boot processo stops até the
Waitng for kernel video drivers to load:
This is in a Dell laptop Latitude 5430.
What version was used before the upgrade?
If it was 6.5.5 or older, the problem could come from the modifications of /usr/bin/xwin between ...
- Sat Mar 08, 2025 9:01 am
- Forum: EasyOS
- Topic: Bug in limine installer (UEFI mode)
- Replies: 5
- Views: 553
Bug in limine installer (UEFI mode)
In /usr/local/limine-installer/limine-installer, there is a problem with the line 520
efibootmgr -c -d /dev/${DRVdest} -p ${ESPdest/*[a-z]/} -L limine -l "\EFI\limine\${EFIname}.EFI" 2>/tmp/limine-installer/efibootmgr-install-error.log
It creates an boot entry with the ...
- Fri Feb 07, 2025 3:01 pm
- Forum: EasyOS
- Topic: Audio suddenly stops working on EasyOS 6.6.1
- Replies: 7
- Views: 646
Re: Audio suddenly stops working on EasyOS 6.6.1
If pulseaudio stopped, check if the following command relaunchs it (by trying the Pulseaudio volume control)
Code: Select all
/bin/ash /etc/rc.d/rc.services_ipc x pulseaudio:pupnetworkONESHOT
- Thu Feb 06, 2025 6:51 pm
- Forum: EasyOS
- Topic: EasyOS Scarthgap-series version 6.6.3
- Replies: 97
- Views: 26161
Re: System not booting after update
Is it really possible to roll back from command line without loosing data? I have so many settings that, if I have to redo everything from scratch I prefer to switch to Daedalus . But, if this is the situation I honestly can't believe it. I'm going to try the stick on other hardware first, in ...
- Thu Feb 06, 2025 3:18 pm
- Forum: EasyOS
- Topic: EasyOS Scarthgap-series version 6.6.3
- Replies: 97
- Views: 26161
Re: System not booting any more after update
Hello Barry!
I just updated from v 6.5.4 to v 6.6.1 on my private laptop (it's also an Asus Zenbook , but older, based on the Intel Tiger Lake architecture), using the update icon on the desktop as usual.
After the update the X -Server does not start any more. It looks like the Intel video driver ...
- Tue Feb 04, 2025 9:37 am
- Forum: EasyOS
- Topic: EasyOS Scarthgap-series version 6.6.3
- Replies: 97
- Views: 26161
Re: EasyOS Scarthgap-series version 6.6.1
The hdparm used at this time is the version in initrd (in /bin) (version v9.58)
Note to ...
- Sun Feb 02, 2025 2:44 pm
- Forum: EasyOS
- Topic: wine-easy-5.11c_amd64.pet
- Replies: 10
- Views: 1838
Re: wine-easy-5.11c_amd64.pet
Could you please provide an alternative download link? I am unable to access Google Drive from my location.
Can you access to swisstransfer.com ?
Test : https://www.swisstransfer.com/d/1f5d753c-e267-4456-bed9-fa4b0084c63e
EDIT:
wine-easy-5.11c_amd64.pet
https://www.swisstransfer.com/d ...
- Sun Feb 02, 2025 10:14 am
- Forum: EasyOS
- Topic: EasyOS Scarthgap-series version 6.6.3
- Replies: 97
- Views: 26161
Re: EasyOS Scarthgap-series version 6.6
...
I need help to resolve sound problem as well. I tried blacklisting snd_avs_soc module, but that does not work
Yet it seems that this is the solution
https://bbs.archlinux.org/viewtopic.php?pid=2164192#p2164192
Are you sure that it is blacklisted?
What are the error messages? Maybe while ...
- Fri Jan 31, 2025 6:34 am
- Forum: EasyOS
- Topic: [Solved] Chromium in container can not connect to the internet
- Replies: 3
- Views: 406
Re: Chromium in container can not connect to the internet
I screw it up. I am sorry...
While trying to solve the problem, I deleted the www container with Chromium... :(
Now the question is: Is it possible to create a new container with Chromium using Easy Container Management application?
No
Method i have tested:
in /mnt/wkg/containers copy the ...
- Thu Jan 30, 2025 8:08 am
- Forum: EasyOS
- Topic: Difficult procedure to uninstall packages
- Replies: 3
- Views: 327
Re: Difficult procedure to uninstall packages
In PKGget open the configuration window (with the configuration button). In this windows change the user interface to Ziggy . Validate.
PKGget closes and reopens with the Ziggy Interface.
There is a button to display the installed packages and eventually uninstall. The windows are resizeable.
- Tue Jan 28, 2025 3:56 pm
- Forum: EasyOS
- Topic: /var not in the snapshots
- Replies: 3
- Views: 343
Re: /var not in the snapshots
I have implemented a fix:
https://bkhome.org/news/202501/fix-snapshots-not-saving-var.html
I'm sorry
In /usr/local/easy_version/easy-version-control I had missed the line 404
echo -e 'dev\nmnt\nproc\nrun\nsys\ntmp\nvar\n.fsckme.flg\nlost+found\nroot/.XLOADED\n.control' > /tmp/easy_version ...
- Tue Jan 28, 2025 6:59 am
- Forum: EasyOS
- Topic: EasyOS 6.5.6 - Internal HDD seen as a SSD in init
- Replies: 5
- Views: 338
Re: EasyOS 6.5.6 - Internal HDD seen as a SSD in init
https://wiki.gentoo.org/wiki/SSD#Discard_.28trim.29_support
https://wiki.gentoo.org/wiki/Discard_over_USB
On the last page :
Prerequsites
A USB3 link to the FLASH device. USB2 cannot support trim.
A USB3 to FLASH bridge that actually supports trim
Edit : the change in the ...
- Mon Jan 27, 2025 8:06 am
- Forum: EasyOS
- Topic: EasyOS 6.5.6 - Internal HDD seen as a SSD in init
- Replies: 5
- Views: 338
EasyOS 6.5.6 - Internal HDD seen as a SSD in init
This file is created or modified by init at boot when the variable TRIMflg is defined (lines 1547 to 1555)
The initialization or not depends of a test on the result of cat /sys/block/${WKG ...
- Sun Jan 26, 2025 8:15 am
- Forum: EasyOS
- Topic: Freshly installed Easy not starting from live-usb
- Replies: 37
- Views: 1993
Re: Freshly installed Easy not starting from live-usb
You could test with the version 7.13.3 (the last in series 7) but given the changelog ...