|
2013-03-24
, 18:26
|
Posts: 268 |
Thanked: 1,053 times |
Joined on May 2010
@ The Netherlands
|
#372
|
Perhaps the best would be to keep busybox as-is but, to avoid any confusion, without including *any* applets which require being setuid. Then the user will be free to install su and/or ping.
For ping we already have a package (ping and iputils-ping, I think) -- I just installed "ping" which installs /usr/bin/ping. Busybox's /bin/ping still there. Just need to chmod +s and it works fine).
For su we are missing a package (or I can't find it). Since most people probably don't need su (I don't *need* it, I just *want* it I guess you don't have to include it in busybox-power. But it would be nice if you could compile and package it and put it in extras-devel (otherwise I'll add it to my to-do list so that when I retire in about 30 years I will do it myself .
Let me know what you think. And thanks a lot for your support!
Does anyone know if BusyBox Power's (limited) version of man attempts to read from a config file by default since you can't specify it?
The Following 3 Users Say Thank You to iDont For This Useful Post: | ||
|
2013-03-25
, 08:26
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#373
|
I don't think it's wise though to leave out the setuid applets from busybox, as leaving out applets vs. Maemo's stock busybox (such as su) might break some (3rd party) applications.
find /usr/bin -perm +6000 -type f -exec dpkg -S {} \;
The Following 4 Users Say Thank You to reinob For This Useful Post: | ||
|
2013-04-15
, 19:53
|
Posts: 268 |
Thanked: 1,053 times |
Joined on May 2010
@ The Netherlands
|
#374
|
I prefer to package up su separately as well; will look into that next week. I don't think it's wise though to leave out the setuid applets from busybox, as leaving out applets vs. Maemo's stock busybox (such as su) might break some (3rd party) applications.
The proper solution would be to make the new su package divert /bin/su.
I'm surprised su hasn't been packaged up before though, I hope I won't be in for some unpleasant surprise.
|
2013-07-19
, 08:25
|
Posts: 45 |
Thanked: 36 times |
Joined on Feb 2013
@ Krasnodar, Russia
|
#375
|
|
2013-07-20
, 13:59
|
Posts: 268 |
Thanked: 1,053 times |
Joined on May 2010
@ The Netherlands
|
#376
|
Greetings!
Busybox-power has support for swapon priority by specifying -p switch, but it doesn't respect fstab "pri=n" option. On the contrary, Debian swapon utility behaves as it should, setting the specified priority...
Should I file that in on bugs.busybox.net as a suggestion or it's a bug of our package? I didn't find any occurence of reading of that option from fstab in official sources of busybox v1.21, but I could just miss that.
Nokia-N900:~# cat /etc/fstab | grep sw /dev/mmcblk1p3 none swap sw,pri=50 0 0 /dev/mmcblk1p4 none swap sw,pri=40 0 0 Nokia-N900:~# cat /proc/swaps Filename Type Size Used Priority /dev/mmcblk1p3 partition 786424 0 50 /dev/mmcblk1p4 partition 785400 0 40
The Following 5 Users Say Thank You to iDont For This Useful Post: | ||
|
2013-07-20
, 18:14
|
Posts: 45 |
Thanked: 36 times |
Joined on Feb 2013
@ Krasnodar, Russia
|
#377
|
|
2013-07-20
, 18:48
|
Posts: 268 |
Thanked: 1,053 times |
Joined on May 2010
@ The Netherlands
|
#378
|
Thanks for your quick reply...
Actually, I have busybox-power-althist installed. If using dpkg, it says about the conflict with busybox-power, if using apt-get it tries to install busybox-power-althist instead of busybox-power. I'd test it, if you assist me in changing packages or compile althist variant.
The Following 5 Users Say Thank You to iDont For This Useful Post: | ||
|
2013-07-22
, 05:02
|
Posts: 45 |
Thanked: 36 times |
Joined on Feb 2013
@ Krasnodar, Russia
|
#379
|
The Following 3 Users Say Thank You to dvb For This Useful Post: | ||
|
2013-07-22
, 17:40
|
Posts: 45 |
Thanked: 36 times |
Joined on Feb 2013
@ Krasnodar, Russia
|
#380
|
For me the page width is too wide (by approx. 5 characters) for the current font size, and have to disable wordwrap to not get just a couple of characters on a single line. Optimally man should format the pages according to terminal width, but haven't mananged to do this for this version of man. I've looked into this a bit and I assume you could "fix" it if you could get man to read a custom config file. For the regular man (for instance the one in Easy Debian), you can pass along a config file using "man -C <config file>" or put a config file "man.conf" in the default location /etc/.
Does anyone know if BusyBox Power's (limited) version of man attempts to read from a config file by default since you can't specify it?