Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 212836 - Review Request: fwfstab - a graphical file system table (fstab) editor
Summary: Review Request: fwfstab - a graphical file system table (fstab) editor
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Parag AN(पराग)
QA Contact: Fedora Package Reviews List
URL:
Whiteboard:
Depends On:
Blocks: FE-ACCEPT
TreeView+ depends on / blocked
 
Reported: 2006-10-29 15:26 UTC by Stewart Adam
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-03 13:33:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stewart Adam 2006-10-29 15:26:32 UTC
Spec URL: http://www.diffingo.com/downloads/fwfstab/fwfstab.spec
SRPM URL: http://www.diffingo.com/downloads/fwfstab/fwfstab-0.01-1.src.rpm
RPM: http://www.diffingo.com/downloads/fwfstab/fwfstab-0.01-1.noarch.rpm
Description:
fwfstab is a graphical file system table (fstab) editor, used to edit the /etc/fstab file. It lets users add, edit or remove new entries in a simple, straight-forward way. It is meant to make the task of editing the file system table easier without sacrificing flexibility.

rpmlint's silent on the binary and SRPM.

Comment 1 Paul F. Johnson 2006-10-29 15:38:44 UTC
	--add-category X-Fedora\

needs to be dropped for rawhide - I'd just have

if ?{%fedora} < "7"
        --add-category X-Fedora \
endif

(or something akin to that) around it.

As this application is changing /etc/fstab, can I take it there is something in
the code which checks the UID and then requests the user to log in as root?

Comment 2 Stewart Adam 2006-10-29 18:16:58 UTC
Hmmm... The "if" doesn't work, I tried googling but it seems rpm has ifarch,
ifos, etc but not plain ifs. Either way, though, according to here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=212350
desktop-file-utils accepts X-Fedora again now.

As for the permissions - I use PAM to ask for the root password and from there
it's all good.

Comment 4 Parag AN(पराग) 2006-10-31 07:09:06 UTC
will review this package
but i got some problems while using this.
I opened my fstab and tried to add cdrom mouting entry there. It did actually
but after applying changes it failed to show that entry why?

Comment 5 Stewart Adam 2006-10-31 13:15:42 UTC
Can you post the /etc/fstab and the line you tried to add? I didn't try a cdrom,
but on my computer it successfully wrote new entries to the fstab...

Comment 6 Parag Nemade 2006-11-01 05:19:49 UTC
my /etc/fstab
/dev/VolGroup00/LogVol00        /       ext3    defaults        1 1
devpts  /dev/pts        devpts  gid=5,mode=620  0 0
tmpfs   /dev/shm        tmpfs   defaults        0 0
/dev/VolGroup00/LogVol01        /home   ext3    defaults        1 2
/dev/VolGroup00/LogVol02        /usr   ext3    defaults        1 2
proc    /proc   proc    defaults        0 0
sysfs   /sys    sysfs   defaults        0 0
/dev/VolGroup00/LogVol03        swap    swap    defaults        0 0

and i tried to add 
/dev/cdrom
/mnt/cdrom
ext3 

i mean i filled 3 input boxes in Add entry box and then i save but i could not
able to see any new added entry.


will try on other machine also

Comment 7 Stewart Adam 2006-11-01 13:17:19 UTC
Worked for me:
$ cat /etc/fstab
...
/dev/cdrom      auto    /mnt/cdrom      defaults        0 0

What where all the fields that you put in? The program will refuse to add a
entry with a black 'filesystem' or 'options' for example, because then it would
cause errors in the fstab.

Comment 8 Parag AN(पराग) 2006-11-01 15:35:16 UTC
hi,
 Are you sure above is correct?
I also got it working and got following line
/dev/cdrom      auto    /mnt/cdrom      defaults        1 0

then i immediately gave following command and it failed
[root@localhost ~]# mount /dev/cdrom
mount: mount point auto does not exist

so its wrong. it must be 
/dev/cdrom      /mnt/cdrom      auto  defaults        1 0

and it worked.
check its entering wrong line in /etc/fstab



Comment 10 Parag AN(पराग) 2006-11-02 05:14:01 UTC
Are you sure you really fixed bug? i think i am still getting same results as
with old package.

Comment 11 Parag AN(पराग) 2006-11-02 05:16:14 UTC
one more thing you increased rpm package release number. AFAIK this bug is
releated with source tarball and if you have modified source tarball then you
must increase tarball version also.

Fix all then will do official review.

Comment 12 Stewart Adam 2006-11-02 22:12:39 UTC
Sorry for the troubles - I edited the 'add' function but not the 'edit' one... I
tested both on my machine, it should work as it should now.

Your right it is, but considering I have 0 downloads (apart from here) I just
re-created the tarball... Anyways, I made a new release:
SPEC: http://www.diffingo.com/downloads/fwfstab/fwfstab.spec
SRPM: http://www.diffingo.com/downloads/fwfstab/fwfstab-0.01.1-1.src.rpm
RPM: http://www.diffingo.com/downloads/fwfstab/fwfstab-0.01.1-1.noarch.rpm

Comment 13 Parag AN(पराग) 2006-11-03 04:46:18 UTC
Now this package looks ok in its packaging and its functioning.

Comment 14 Parag AN(पराग) 2006-11-03 04:54:16 UTC
Review:
+ package builds in mock (development i386) for FC6.
+ rpmlint is silent for RPM and SRPM.
+ source files match upstream.
fb87e760037a9497b1e8f47c8715e65d  fwfstab-0.01.1.tar.gz
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written but NOT properly indented.
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ build root is correct.
+ license is open source-compatible.  License text included in package.
+ %doc is small; no -doc subpackage required.
+ %doc does not affect runtime.
+ COPYING included in %doc.
+ BuildRequires are proper.
+ %clean is present.
+ package installed properly.
+ Macro use appears rather consistent.
+ Package contains code, not content.
+ no headers or static libraries.
+ no .pc files.
+ no -devel subpackage exists
+ no .la files.
+ no translations available
+ Provides: config(fwfstab) = 0.01.1-1.fc6
+ Requires: /bin/bash
            /usr/bin/python
            config(fwfstab) = 0.01.1-1.fc6
            pygtk2
            pygtk2-libglade
            python(abi) = 2.4
            redhat-artwork
            usermode


+ owns the directories it creates.
+ doesn't own any directories it shouldn't.
+ no duplicates in %files.
+ file permissions are appropriate.
+ Desktop file installed succesfully
+ Desktop file is handled correclty in SPEC file.
+ GUI app
+ Followed python packaging guidelines.
APPROVED.


Comment 15 Parag AN(पराग) 2006-11-03 04:59:38 UTC
Don't Forget to CLOSE this bug once you import this package in CVS.

Comment 16 Stewart Adam 2006-11-03 13:34:06 UTC
Done. Thanks!


Note You need to log in before you can comment on or make changes to this bug.