Re: Reconstructing /var/spool directory

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

 



Przemyslaw Gawronski wrote:
> Actually I was hoping that for example
> postfix has an option to run with that would reconstruct the needed
> directories or something like that. How naive of me :-)

Postfix doesn't, but you should always be able to uninstall and
reinstall the RPM. Make sure that you keep a copy of the /etc/postfix
directory, so you've got all your configuration.

In *this* case, I'd even recommend using the --no-deps flag (to ignore
dependencies), since you'll be restoring the same RPM immediately
afterwards.

Alternatively, you could use rpm2cpio to turn the Postfix RPM into a
CPIO archive and extract the /var/spool/postfix stuff from that. I
wouldn't recommend using rpm -ql, because although you'll get the names,
you won't get whether they're files or directories, and you won't get
permissions (which is important with something like Postfix).

I'd disconnect from the network until you're sure everything's happy.

Hope this helps,

James.

-- 
E-mail:     james@ | "Land Rover say it is permanent, I say I have a large
aprilcottage.co.uk | selection of spanners and a big hammer..."
                   |     -- Derry Hamilton

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux