maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Request] fuser for Maemo 5 / N900 (https://talk.maemo.org/showthread.php?t=43912)

qole 2010-02-09 18:23

[Request] fuser for Maemo 5 / N900
 
Hi all,

The fuser app that comes built-in to the Busybox shipped with the N900 is broken. It just doesn't work. At all.

The psmisc package found in Extras-devel has a working fuser binary, but it does bad things to your Maemo install, removing the busybox-symlinks-psmisc package, which then removes the very important mp-fremantle-generic-pr package, making it impossible to do over-the-air firmware updates! :eek:

So I would like someone to make a package that contains a "safe" version of fuser. This will probably mean that you have to call it a different name ("gnufuser" or "gfuser" or something), and maybe, if you're feeling a bit naughty, you could move the symlink for "fuser" from busybox to the new "gnufuser" in your postinst, but without removing the "busybox-symlinks-psmisc" package.

Without a working fuser, I can't kill chroot apps, a very important part of my Easy Debian system.

fhofer 2010-02-22 13:46

Re: [Request] fuser for Maemo 5 / N900
 
I agree something should be done about fuser, it does not work for me either. There seems to be no way to tell which process listens at a port!

lma 2010-02-22 20:53

Re: [Request] fuser for Maemo 5 / N900
 
Quote:

Originally Posted by qole (Post 518064)
The fuser app that comes built-in to the Busybox shipped with the N900 is broken. It just doesn't work. At all.

Do file a bug!

fatalsaint 2010-02-23 03:35

Re: [Request] fuser for Maemo 5 / N900
 
Check PM's

fhofer 2010-02-23 10:08

Re: [Request] fuser for Maemo 5 / N900
 
Quote:

Originally Posted by fatalsaint (Post 542063)
Check PM's

Sorry, what is PM's? :o

fatalsaint 2010-02-23 14:49

Re: [Request] fuser for Maemo 5 / N900
 
Quote:

Originally Posted by fhofer (Post 542371)
Sorry, what is PM's? :o

Private Message.. I sent the op a link to a deb I built to test.

If it works for him I'll see about getting it out there.

Some people can get a lot of PM's and tend to filter.. so I was leaving a note in the thread it was related to so the OP could determine importance.

liedekef 2010-02-23 14:55

Re: [Request] fuser for Maemo 5 / N900
 
Quote:

Originally Posted by fhofer (Post 541062)
I agree something should be done about fuser, it does not work for me either. There seems to be no way to tell which process listens at a port!

Hmm .. I thought "netstat -anp" or "lsof -i tcp:<PORT>" could be of help, but both of these don't work either ...

fhofer 2010-02-23 16:22

Re: [Request] fuser for Maemo 5 / N900
 
Yeah, I am trying to utlize netstat and lsof, but I am a little bit confused with the results I get, cf. http://talk.maemo.org/showthread.php?t=31373&page=3

qole 2010-02-23 22:23

Re: [Request] fuser for Maemo 5 / N900
 
I've posted bug 9247. Please vote if this affects you.

fatalsaint 2010-02-24 04:50

Re: [Request] fuser for Maemo 5 / N900
 
Quote:

Originally Posted by qole (Post 543390)
I've posted bug 9247. Please vote if this affects you.

Just curious.. did mine not work?

qole 2010-02-24 04:56

Re: [Request] fuser for Maemo 5 / N900
 
fatalsaint, I confess that I haven't tried yours (I will, soon). Even if it does work, it doesn't fix the bug, which is in Busybox, the all-in-one, do-everything, coreutils-replacement that ships with the device. It worked in Chinook, it worked in Diablo, but it is broken in Fremantle.

fatalsaint 2010-02-24 06:16

Re: [Request] fuser for Maemo 5 / N900
 
Quote:

Originally Posted by qole (Post 543744)
fatalsaint, I confess that I haven't tried yours (I will, soon). Even if it does work, it doesn't fix the bug, which is in Busybox, the all-in-one, do-everything, coreutils-replacement that ships with the device. It worked in Chinook, it worked in Diablo, but it is broken in Fremantle.

Fair enough. Then I guess you don't need to worry about it.. since there wouldn't be a point in pushing it any further even if it does work and just wait for the BUG to get addressed.

qole 2010-02-24 23:05

Re: [Request] fuser for Maemo 5 / N900
 
Well a safe fuser package in extras would be a welcome workaround until Nokia pushes a fixed busybox... Which may never actually happen...

yoush 2010-02-25 08:04

Re: [Request] fuser for Maemo 5 / N900
 
Just filed related bug 9266, to allow installation of psmisc without breaking system. Please vote.

fatalsaint 2010-02-25 15:22

Re: [Request] fuser for Maemo 5 / N900
 
Quote:

Originally Posted by yoush (Post 545452)
Just filed related bug 9266, to allow installation of psmisc without breaking system. Please vote.

That was the intent of the deb I sent qole.. it was psmisc in a deb that used a trick I was hoping would allow for clean replacement of the busybox-symlinks.

qole 2010-02-27 23:41

Re: [Request] fuser for Maemo 5 / N900
 
fatalsaint, output from your package:

Code:

~/MyDocs $ sudo dpkg -i psmisc_22.10-1_armel.deb
Selecting previously deselected package psmisc.
dpkg: considering removing busybox-symlinks-psmisc in favour of psmisc ...
dpkg: no, cannot proceed with removal of busybox-symlinks-psmisc (--auto-deconfigure will help):
 mp-fremantle-generic-pr depends on busybox-symlinks-psmisc (= 3:1.10.2.legal-1osso26+0m5)
  busybox-symlinks-psmisc is to be removed.
dpkg: regarding psmisc_22.10-1_armel.deb containing psmisc:
 busybox-symlinks-psmisc conflicts with psmisc
  psmisc (version 22.10-1) is to be installed.
dpkg: error processing psmisc_22.10-1_armel.deb (--install):
 conflicting packages - not installing psmisc
Errors were encountered while processing:
 psmisc_22.10-1_armel.deb


fatalsaint 2010-03-01 07:04

Re: [Request] fuser for Maemo 5 / N900
 
Quote:

Originally Posted by qole (Post 549382)
fatalsaint, output from your package:

Ok, I wasn't entirely sure how well the dependencies would be handled.

Thanks.


All times are GMT. The time now is 08:53.

vBulletin® Version 3.8.8