Re: Files packaged in /var won't be affected by rpm -U?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message ----

> From: "Greg_Swift@xxxxxxxxxxxxxxxxx" <Greg_Swift@xxxxxxxxxxxxxxxxx>
> To: General discussion about the RPM package manager <rpm-list@xxxxxxxxxxxxx>
> Cc: rpm-list@xxxxxxxxxxxxx; rpm-list-bounces@xxxxxxxxxxxxx
> Sent: Thursday, September 24, 2009 2:05:13 PM
> Subject: Re: Files packaged in /var won't be affected by rpm -U?
> 
> > What happen to say db files you put in /var/lib/mydb for example,
> > when I perform an upgrade? They won't be touched at all if I upgrade
> > said package using rpm -U correct?
> 
> Without a more detailed view of the rpm and the file I would say that if
> your package owns them then the likely answer is yes.
> 
> mysql's package doesn't down the files it creates in /var/lib/mysql, which
> are only created post-install, but it does on the directory.  So the mysql
> spec might be a good place to go look for an example.

Thanks for the pointer to the mysql spec.

Question on that rpm then, if the user performs an rpm -U to the next version of mysql I imagine rpm won't touch the data inside /var/lib/mysql because since they were created after installation, it doesn't own those files, even though it does own the directory correct?

Thanks for your assistance,

--vs


 
> -greg
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxxxxx
> http://lists.rpm.org/mailman/listinfo/rpm-list



      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux