Package Details: webmin 2.105-2

Git Clone URL: https://aur.archlinux.org/webmin.git (read-only, click to copy)
Package Base: webmin
Description: A web-based administration interface for Unix systems
Upstream URL: http://www.webmin.com/
Keywords: administration control cpanel panel
Licenses: custom:webmin
Submitter: ftschindler
Maintainer: amish
Last Packager: amish
Votes: 50
Popularity: 0.28
First Submitted: 2015-09-13 12:47 (UTC)
Last Updated: 2024-01-17 06:01 (UTC)

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

shamrock commented on 2024-02-22 18:52 (UTC)

I'm trying to update from 2.102 to 2.105-2 but I keep getting this:


[22/Feb/2024:19:41:13 +0100] Failed to open /tmp/.webmin/175444_11389_1_updateboot.pl for writing : Permission denied ../web-lib-funcs.pl (line 10440)
Error
-----
Failed to open /tmp/.webmin/175444_11389_1_updateboot.pl for writing : Permission denied ../web-lib-funcs.pl (line 10440)
-----
Copying config files ..
.. done

Changing ownership and permissions ..
.. done

Running postinstall scripts ..
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
.. done

install: omitting directory '/home/[username]/.cache/yay/webmin/pkg/webmin/opt/webmin/webmin-systemd'
==> ERROR: A failure occurred in package().
    Aborting...

amish commented on 2024-01-20 02:26 (UTC) (edited on 2024-01-20 02:34 (UTC) by amish)

@jrdn - No its not bad path or special character

See PKGBUILD (of current release 2.105-2) for my comments on where the starting point can be to fix this bug.

Something changed in webmin 2.104 where enable-collection.pl runs in background, creates config file as directory and there is some race condition.

Race is between find and sed. Find sees the file as normal regular file and passes it to sed. In the meantime, enable-collection.pl changes config file to a directory, so when sed runs, it sees that this is not a regular file but a directory so sed throws error.

So I disabled enable-collection.pl and issue is resolved. This however is just a workaround and not a fix. Fix needs to be done by webmin by detecting why config file becomes a directory when enable-collection.pl is run.

jrdn commented on 2024-01-20 01:03 (UTC)

@wwenigma No problem.

This issue may have to do with bad path or folder naming with whatever is listed before the .../system-status/config file, causing sed to be provided a path with an unintelligible character. I could do some more digging but want to see what @amish wants to do as he's the pkg owner. The current provided fix can be sufficient to prevent issues in the future, but may need additional error checking in the case of a bad or unusable file (if such a case were to arise in reality).

wwenigma commented on 2024-01-18 16:19 (UTC) (edited on 2024-01-18 19:29 (UTC) by wwenigma)

@johnbao

After cloning webmin, in webmin directory modify PKGBUILD file line 181 from

find "$pkgdir"/etc/webmin -type f -exec sed -i -e "s:$pkgdir::g" {} \+

to

find "$pkgdir"/etc/webmin -type f -exec sed -i -e "s:$pkgdir::g" {} \;

Then makepkg will run properly for me, under Arch linux.

@jrdn: thanks.

johnbao commented on 2024-01-16 16:18 (UTC)

Under Manjaro try to install Webmin, I have following error:

/var/tmp/pamac-build-bao/perl-authen-pam/PKGBUILD: line 30: make: command not found ==> ERROR: A failure occurred in build(). Aborting...

I need your help.

johnbao commented on 2024-01-16 05:37 (UTC)

@jrdn

I cannot understand your comment:

This isn't exactly the best fix, but it will allow makepkg to continue on. Just tested this. Change the find -exec sed line to execute sed in separate lines.

-- find "$pkgdir"/etc/webmin -type f -exec sed -i -e "s:$pkgdir::g" {} +

++ find "$pkgdir"/etc/webmin -type f -exec sed -i -e "s:$pkgdir::g" {} \;

which file should I change?

Armag67 commented on 2024-01-15 15:59 (UTC)

@jrdn

It works!

Thanks

jrdn commented on 2024-01-15 15:44 (UTC) (edited on 2024-01-15 15:46 (UTC) by jrdn)

@Armag67

This isn't exactly the best fix, but it will allow makepkg to continue on. Just tested this. Change the find -exec sed line to execute sed in separate lines.

-- find "$pkgdir"/etc/webmin -type f -exec sed -i -e "s:$pkgdir::g" {} +

++ find "$pkgdir"/etc/webmin -type f -exec sed -i -e "s:$pkgdir::g" {} \;

@amish Thanks for the information, did not know it was discussed. I do see your comment on github (https://github.com/webmin/webmin/discussions/2076). So I guess it is your prerogative on which to choose. Meh? shrug

Armag67 commented on 2024-01-15 14:26 (UTC) (edited on 2024-01-15 14:27 (UTC) by Armag67)

Hello,

Today's update on Manjaro Xfce with:

git clone https://aur.archlinux.org/webmin.git
cd webmin
env LC_ALL=C makepkg -si

(or with yay, or pamac-manager)

fails with:

...
sed: couldn't edit /home/h2/Installs/git/webmin/pkg/webmin/etc/webmin/system-status/config: not a regular file
==> ERROR: A failure occurred in package().
    Aborting...

amish commented on 2024-01-15 09:09 (UTC)

@jrdn - I was waiting for next release because webmin was releasing minor fixes rapidly and I was waiting for it to be stable.

Also I am not using github because sourceforge and github sources differ and webmin author recommended to use sourceforge one as official one.

https://sourceforge.net/p/webadmin/mailman/webadmin-list/thread/94f498c3-e79e-1347-aae1-923f6bcb1d85%40gmail.com/#msg36663808