-
2.2-ALPHA (i386)
built on Thu Apr 17 04:52:48 CDT 2014
FreeBSD 10.0-STABLE32-bit nanoBSD Alix 2D13
Sudo 0.2
Installs, but when I try to use sudo, I get:
[2.2-ALPHA][admin.phil@testoffice-rt-01.xyz.org]/home/admin.phil(3): sudo Illegal instruction [2.2-ALPHA][admin.phil@testoffice-rt-01.xyz.org]/home/admin.phil(4): sudo -s Illegal instruction
I guess the PBI needs to be built for FreeBSD 10 or something?
-
It is built for 10 and otherwise seems OK, but I get the same error.
: file /usr/pbi/sudo-i386/bin/sudo /usr/pbi/sudo-i386/bin/sudo: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 10.0 (1000510), not stripped : file /usr/pbi/sudo-i386/local/bin/sudo /usr/pbi/sudo-i386/local/bin/sudo: setuid ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 10.0 (1000510), stripped
-
This is what I get on an AMD64 system. Snapshot is a couple of days old. sudo package installed without errors.
Not sure if it is related.
2.2-ALPHA (amd64)
built on Thu Apr 17 10:54:20 CDT 2014[2.2-ALPHA][rx@pfsense.rx.nl]/home/rx(24): sudo fuse: failed to open fuse device: No such file or directory mount: /usr/pbi/.mounts/sudo-amd64/virtbase/dev: No such file or directory mount: /usr/pbi/.mounts/sudo-amd64/virtbase/proc: No such file or directory mount_nullfs: /usr/pbi/.mounts/sudo-amd64/virtbase/tmp: No such file or directory mount_nullfs: /usr/pbi/.mounts/sudo-amd64/virtbase/usr: No such file or directory .pbime: Could not chroot to: /usr/pbi/.mounts/sudo-amd64/virtbase: Operation not permitted .pbime: [2.2-ALPHA][rx@pfsense.rx.nl]/home/rx(25): setgroups: Operation not permitted
Richard
-
Actually the PBI system was undergoing some work, I'm told. A new set of PBIs for 2.2 is up now but you need the latest code for them to work properly (gitsync or wait for a new snap)
-
Wow, that was quick….
I'll do that. Will report back here.
Richard
-
2.2-ALPHA (amd64)
built on Mon Apr 28 16:52:25 CDT 2014sudo seems to work now, although the system log complained about:
php-fpm[14929]: /rc.start_packages: Sudoers file invalid:
So I went to 'System' > 'sudo', left the settings at default and clicked 'save'. This was the result.
Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of sudo_validate_commands(). in /usr/local/www/pkg_edit.php(143) : eval()'d code on line 1
-
Fix is pending for that one, we updated PHP to 5.5 so lots of packages will need slight tweaks.
-
Well, a fix for the call-time pass-by-reference is in, but other errors prevent the sudo package from working. It's part of the PBI system in general that we're working on.
-
Oops,
I thought the sudo command itself was working… but when having a couple of putty sessions open, it helps to check the command on the box where you intent to... :-[
You're right, the sudo command doesn't seem to work on 2.2.
Richard
-
Yes, it still gives:
Illegal instruction
on:
2.2-ALPHA (i386)
built on Thu May 01 02:23:21 CDT 2014
sudo Security 0.2.1As JimP says, a bunch of 2.2 package stuff needs looking at.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.