[Pkg-freevo-maint] Bug#607921: Bug#607921: freevo: (unowned) files in /home (after purge (policy 6.8))

A Mennucc mennucc1 at debian.org
Fri Dec 24 20:14:32 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tag 607921 +wontfix
thanks

Dear Holger,

here is the situation. When you install the package 'freevo' it sets up
your PC to be a PVR. It sets some services to be automatically started
at boot, such as the TV recorder and the main GUI. All services are ran
as user 'freevo'. It sets up a space where video and music can be
stored, and TV programs recorded, as user 'freevo'. Then users (*)  can
indeed record TV shows in the directory /home/freevo/recordings . So I
do not find it reasonable to delete these directories when the 'freevo'
package is purged.

Now, I have one PC that is dedicated to be freevo PVR. The directories
you list below contain ~470GB of audio/video I have patiently recorded
in over 5 years from TV and my camera/videocamera and other sources.
- From time to time, I do prepare  new 'freevo' packages, and then I
either try to upgrade my freevo box from old version, or purge the old
version and then install the new. If 'freevo' would delete these
directories when I purge it, then I would be very unhappy by now.

If another user is using freevo as I do, and he would for any reason
decide to purge 'freevo' and it would delete these directories then the
user would come to my place with a very large and spiky clue-bat.

Do you agree with the above?

As per the choice of directories... does it make any major difference
whether they are under /home or under /var or anywhere alse ? Also do
not forget that these can be changed by the debconf interface . Anyway
if you really do not like /home and have very good reasons to think they
should by default stay elsewhere I can change the default.

BTW, what 'freevo' is doing is similar to what mysql does: by default,
mysql-server-5.0 will not delete the databases on package purge (unless
the user uses debconf to set the key postrm_remove_databases to true)

a.

ps (*) currently TV recording need some manual config tweaking; but as
TV are going digital, I hope we will make freevo autodetect the needed
configurations, so that users will be able to record TV as soon as they
install 'freevo' and plug in a TV digital receiver (there is already a
lot of progress in this respect)

Il 24/12/2010 12:46, Holger Levsen ha scritto:
> Package: freevo
> Version: 1.9.0-7
> Severity: serious
> User: debian-qa at lists.debian.org
> Usertags: piuparts piuparts.d.o
> 
> Hi, 
> 
> during a test with piuparts I noticed your package left unowned files on the 
> system after purge, which is a violation of policy 6.8:
> 
> http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails
> 
> From the attached log (scroll to the bottom...):
> 
> 1m15.3s ERROR: FAIL: Package purging left files on system:
>   /home/freevo	 not owned
>   /home/freevo/audio	 not owned
>   /home/freevo/audio/.placeholder	 not owned
>   /home/freevo/cache	 not owned
>   /home/freevo/cache/.placeholder	 not owned
>   /home/freevo/image	 not owned
>   /home/freevo/image/.placeholder	 not owned
>   /home/freevo/log	 not owned
>   /home/freevo/log/.placeholder	 not owned
>   /home/freevo/recordings	 not owned
>   /home/freevo/recordings/.placeholder	 not owned
>   /home/freevo/static	 not owned
>   /home/freevo/static/.placeholder	 not owned
>   /home/freevo/video	 not owned
>   /home/freevo/video/.placeholder	 not owned
> 
> If your package had only left files in /var/log after purge, I would have 
> filed this as important. But as your package creates /home/freevo (WTF?!), 
> I'm filing this as it is.
> 
> See http://www.pathname.com/fhs/pub/fhs-2.3.html#HOMEUSERHOMEDIRECTORIES 
> "/home is a fairly standard concept, but it is clearly a site-specific 
> filesystem. The setup will differ from host to host. Therefore, no program 
> should rely on this location."
> 
> 
> cheers,
> 	Holger
> 
> 
> 
> _______________________________________________
> Pkg-freevo-maint mailing list
> Pkg-freevo-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-freevo-maint

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0U/ygACgkQ9B/tjjP8QKRC6wCcCFu8ueZ0uqb1AbH6Ca+yStAy
c28An0662w7BsGd26nQXy55Jyb+GpcAJ
=Qjex
-----END PGP SIGNATURE-----





More information about the Pkg-freevo-maint mailing list