Hey Richard.

I still can't confirm that "bug" using portupgrade.
My configfiles stay were they are and aren't touched.

make uninstall isn't executed too, as you might know the portdb keeps
a file-list for every package and uses that during uninstall.

HINT:
--->  Backing up the old version <---
--->  Uninstalling the old version
--->  Deinstalling 'bacula-server-1.36.2'

Greetings,
 Michael

Richard Caley wrote:
Bacula names all config-files foo.conf.sample, as every other port.
So what gets deleted is the ,sample-file, not the .conf-file you created afterwards.

No, the bacula-dir.conf has definitely dissapeared, and it was
definitely there this morning when I got the error which prompted me
to upgrade (new machine running new fd not happy talking to old
director).


I was using portupgrade, not pkg_delete, and am guessing it, directly
or indirectly, ran the uninstall target in the bacula Makefiles.

From src/dird/Makefile:

uninstall:
        (cd $(DESTDIR)$(sbindir); $(RMF) bacula-dir)
        (cd $(DESTDIR)$(sysconfdir); $(RMF) bacula-dir.conf bacula-dir.conf.new)
        (cd $(DESTDIR)$(scriptdir); $(RMF) query.sql)

And similarly in other subdirectories for the other config files.

Fortunatly, I'm old and paranoid and have something which tars up all
system config files every Sunday on all machines, so I didn't have to
configure it all by hand again after all.

^_^
(O O) \_/@@\
\\~~/ ~~
- RJC



------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users



--
       GiS - Gesellschaft fuer integrierte Systemplanung mbH
+==================================================================+
  Michael Scherer   [EMAIL PROTECTED]  Tel: 06201-503-74
  Junkersstr.2      69469 Weinheim              Fax: 06201-503-66
+==================================================================+
    I am root. If you see me laughing, you better have a backup.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to