Shall sockets are owned by rpm or created/removed by post/preun scriptlet?

2013-05-21 Thread Björn Esser
Hello! I'm currently work on packaging `courier-authlib` (needed for pkg'ing and running courier MTA). In maintainer's `generic-all-purpose-and-all-rpm-dists` spec-file there is this scriptlet inside %install for creating/providing the needed socket: /scriptlet/ mkdir -p

Re: Shall sockets are owned by rpm or created/removed by post/preun scriptlet?

2013-05-21 Thread Nicolas Mailhot
Le Mar 21 mai 2013 09:51, Björn Esser a écrit : My question about this is: Can I take this one-by-one in my fedora-rpm or is it better to provide the same functionality during %post and %preun? IMHO, you'll need to take a hard look at systedifying all this first Regards, -- Nicolas

Re: Shall sockets are owned by rpm or created/removed by post/preun scriptlet?

2013-05-21 Thread Tom Hughes
On 21/05/13 08:51, Björn Esser wrote: In maintainer's `generic-all-purpose-and-all-rpm-dists` spec-file there is this scriptlet inside %install for creating/providing the needed socket: /scriptlet/ mkdir -p %{buildroot}%{_localstatedir}/spool/authdaemon/ ./authmksock

Re: Shall sockets are owned by rpm or created/removed by post/preun scriptlet?

2013-05-21 Thread Björn Esser
Allright, then! Thanks for your answers! I'll have a _strong_ look in * https://fedoraproject.org/wiki/Packaging:SysVInitScript * https://fedoraproject.org/wiki/Packaging:Systemd for improving my mind/knowlegde... Any other places I should have look in, too? Cheers, Björn -- devel mailing

Re: Shall sockets are owned by rpm or created/removed by post/preun scriptlet?

2013-05-21 Thread Tom Hughes
On 21/05/13 09:29, Björn Esser wrote: Allright, then! Thanks for your answers! I'll have a _strong_ look in * https://fedoraproject.org/wiki/Packaging:SysVInitScript Well you shouldn't need to worry about that one for a new package, unless you're wanting to support EPEL. *