![]() |
Re: [Announce] busybox-power for Harmattan
Quote:
I'm suspecting that aegis somehow got confused and temporarily disallowed running /opt/busybox-power/busybox.power, thus causing (un)install to fail. At least, the dpkg output hints that the busybox.power command didn't execute properly (resulting in a parse error, which made our prerm script back out from continuing uninstallation). Are you able to reproduce the error? I would love to figure out what exactly happened :) |
Re: [Announce] busybox-power for Harmattan
hey guys,
is it save to remove busybox-power with apt-get remove? i'm having problem with chmod (operation not permitted although i'm root) ... this has probably nothing to do busybox but i thought i give it a shot... |
Re: [Announce] busybox-power for Harmattan
Quote:
|
Re: [Announce] busybox-power for Harmattan
awesome thank you
|
Re: [Announce] busybox-power for Harmattan
Quote:
|
Re: [Announce] busybox-power for Harmattan
i hope you not trying to chmod file inside MyDocs?
|
Re: [Announce] busybox-power for Harmattan
Major update ahead!
BusyBox 1.21.0 was released last Monday. It incorporates almost a year's worth of upstream development by various developers (see the release announcement at http://busybox.net/). Furthermore, a new applet has been included: sha3sum. Binary Debian archives are available from busybox-power's garage page. These have also been sent to MohammadAG just minute ago for inclusion in the incepted repository. Direct download links for busybox-power1.21.0power1: Please note that the installation directory of several (mostly obscure) applets has been changed. If you call any of these by their FQN, you should probably update your script. See this commit for a list of moved applets. Also, do note that major releases have a bigger chance to break stuff. However, no hotfixes have been released yet (i.e. no regressions are known at this moment) and I personally haven't experienced any trouble running this latest release on my device. Do let me know whenever you find a bug though :). Enjoy! (it feels wrong to post an almost duplicate post in two different topics. Oh well.) |
Re: [Announce] busybox-power for Harmattan
Quote:
Have tried to install both above mentioned (have both inception and open mode) but cancelled! Then tried apt-get install busybox-power That was a mistake so now I'm back to v 1.20.0 What to do:confused: |
Re: [Announce] busybox-power for Harmattan
BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)
Enter 'help' for a list of built-in commands. ~ $ devel-su Password: BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ # apt-get install busybox-power Indlæser pakkelisterne... Færdig Opbygger afhængighedstræ Læser tilstandsoplysninger... Færdig Følgende NYE pakker vil blive installeret: busybox-power 0 opgraderes, 1 nyinstalleres, 0 afinstalleresog 10 opgraderes ikke. 0B/534kB skal hentes fra arkiverne. After this operation, 934kB of additional diskspace will be used. (Læser database ... 134422 filer og kataloger installeret i øjeblikket.) Udpakker busybox-power (fra .../busybox-power_1.20.2power5+harmattan0_armel.deb)... busybox-power: MeeGo/Harmattan (N9/50) environment detected Please confirm the text on the screen of your device dpkg: fejl under behandling af (error handling) /var/cache/apt/archives/busybox-power_1.20.2power5+harmattan0_armel.deb (--unpack): underproces nyt pre-installation-script returnerede afslutningsstatus 1 (finalstatus 1) Der opstod fejl under behandlingen (Error through treatment): /var/cache/apt/archives/busybox-power_1.20.2power5+harmattan0_armel.deb aegis-NOT-installing busybox-power (from 'com.nokia.maemo/local/MohammadAG') Updating desktop entries... Done E: Sub-process /usr/bin/dpkg returned an errorcode (1) ~ # meego-confirm-text is installed at first without problems |
Re: [Announce] busybox-power for Harmattan
Quote:
Quote:
Code:
touch /tmp/.bbp-unattended Use the regular busybox-power package, just to be sure. I don't know whether you're running "plain" Open mode or Patched Open mode; -noaegis is only for the latter. |
Re: [Announce] busybox-power for Harmattan
Succeeded:D
Thank you for your help iDont!:) |
Re: [Announce] busybox-power for Harmattan
What is the correct way to install busybox-power with standard open mode?
Is AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i busybox-power_1.21.0power1-harmattan0_armel.deb correct? Does this mean i need aegisctl first? Or can standard open mode install the -noaegis version? |
Re: [Announce] busybox-power for Harmattan
Standard open mode users (i.e. the kernel is not patched to neuter aegis) will need to install aegisctl, since aegis will still protect entries in /sys/kernel/security/validator/.
So the correct procedure for standard open mode users would be: 1. Install aegisctl 2. AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i busybox-power_1.21.0power1-harmattan0_armel.deb Only if you're running a kernel that does neuter aegis (i.e. Patched open mode), you can leave out step 1 and use the -noaegis version. By the way, if you were to install the -noaegis version on a non-neutered system, the postinst script would simply error out (busybox-power will then be left unconfigured for the moment) so your system won't be broken. All (invalid) scenario's are handled correctly by the packaging :). Edit: Quote:
|
Re: [Announce] busybox-power for Harmattan
Well I've read and re-read the thread, but it didn't work for me :(
Code:
/home/user # AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i busybox-power_1.21.0power1-harmattan0_armel. |
Re: [Announce] busybox-power for Harmattan
nbedford,
"cp: write error: No space left on device" Have you checked about the above? |
Re: [Announce] busybox-power for Harmattan
I have busybox-power all setup and working, but I have a question, which is possibly a little off topic, but I would like to better understand for myself.
I installed the openmode kernel available from http://maemo.cloud-7.de/HARM/N9/1.3/openmode-kernel I assumed (maybe mistakenly) that this was what people refered to as standard openmode? However, I have opensh installed correctly with AEGIS_FIXED_ORIGIN and this shell provides all capabilities, including tcb-sign so can resign refhashlist. So basically my question, is my kernel normal openmode or aegis neutered ? |
Re: [Announce] busybox-power for Harmattan
Quote:
1. A vanilla device is in Normal Mode. 2. Flashing any custom kernel (i.e. one not signed by Nokia) will put your device in Open Mode. You'll need to reflash the whole rootfs if you want your device to go back in Normal mode; just flashing Nokia's kernel won't do IIRC. Open Mode allows you to install packages with all capabilities via the AEGIS_FIXED_ORIGIN trick. 3. If your custom kernel contains this patch: http://maemo.cloud-7.de/HARM/N9/1.2/...openmode.patch, aegis is neutered (the patch should be pretty self-explanatory). Hence, a device in "Open Mode", does not necessarily run an aegis-neutered kernel. In Open Mode, aegis still enforces the origin check on protected files in your filesystem. That's why we differentiate between Open Mode and Patched Open Mode: we still need to "crack" (or a better term: "unseal") aegis and disable the origin check (this is aegisctl's job) in non-patched Open Mode & Normal Mode. Otherwise aegis would deny access to /bin/busybox as soon as our version gets installed, something you don't want to experience ;). When aegis is neutered, we can freely configure aegis as we like, so we don't need aegisctl to unseal aegis. That's why busybox-power-noaegis is able to drop this dependency. Having all capabilities in non-patched Open Mode does not drop the dependency on aegisctl, as there will always be a brief period in which the hash of /bin/busybox won't match the one in the refhashlist. See the current installation workflow as to why this is true: disable the origin check, install new /bin/busybox (hashes mismatch at this point -> without disabled origin check, the system would now be "broken"), update the refhashlist, resign the refhashlist, reload the refhashlist, enable the origin check. -- The kernel image you linked contains the neutering patch, although that isn't documented anywhere AFAICS. I guess most people run an aegis-neutered kernel (why still have aegis enforcing stuff when you can install packages with all capabilities?), though I'm not aware of any statistics regarding this subject. So yes, you are running an aegis-neutered (patched) Open Mode kernel. You can install busybox-power-noaegis, which will replace busybox-power automagically, and uninstall aegisctl if you wish. If you have any more questions regarding this subject, please don't hesitate to ask them :). |
Re: [Announce] busybox-power for Harmattan
This might be an epic nooby question :p
I installed busybox power fine, now how do I use the extra supported commands? Like I need to use 'arp' for some network related troubleshooting. Earlier terminal dint support the command. But now I get the same error with busybox power installed. Regards |
Re: [Announce] busybox-power for Harmattan
you should export extra PATH items to your .profile script:
Code:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 |
Re: [Announce] busybox-power for Harmattan
hey guys,
so i can't install busybox-power because it depends on meego-confirm-text which is either broken or offline or whatever... any suggestions? |
Re: [Announce] busybox-power for Harmattan
Quote:
Code:
Dependencies |
Re: [Announce] busybox-power for Harmattan
|
Re: [Announce] busybox-power for Harmattan
Quote:
http://talk.maemo.org/showpost.php?p...7&postcount=32 or editing your sources.d, adding/updating RzR's repo with this: Code:
deb http://rzr.online.fr/r/http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/ ./ Code:
deb http://mirror.lxer.com/harmattan/home/rzr/var/cache/url/http/repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/ ./ |
Re: [Announce] busybox-power for Harmattan
Hi, I'm having a problem installing busybox-power again after flashing:
BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash) Enter 'help' for a list of built-in commands. Code:
/home/user/MyDocs/Packages # apt-get install busybox-power |
are you running in open mode?
did you execute as root? |
Re: [Announce] busybox-power for Harmattan
Quote:
Maybe theres a problem with the repo? It's the first time I tried installing through apt-get, before flashing I also incepted the downloaded package. |
Re: [Announce] busybox-power for Harmattan
i do recall that there was an issue ...
thing is that you also need to incept the repo installer package... however, i prefer open mode anyway.... |
Re: [Announce] busybox-power for Harmattan
Quote:
I'm using code Rus trusted repository, every time I try installing with apt, it automatically changes to "noaegis" which is causing me grief :/ |
Re: [Announce] busybox-power for Harmattan
Quote:
|
Re: [Announce] busybox-power for Harmattan
Couldn't run, nor install, "aegis-apt-get"
As far as I'm aware, I'm running open mode but with aegis still functional. |
All times are GMT. The time now is 04:31. |
vBulletin® Version 3.8.8