X-Git-Url: http://git.onelab.eu/?p=pf2slice.git;a=blobdiff_plain;f=pf2slice.spec;h=6804cbf55c36ee0386fbfffc0d240ca63062ca68;hp=be209483dd69b16c45b9ffe17661dfd23cd3e736;hb=HEAD;hpb=f26b7c7dcf0d47713ba61c9710c0e7d9d65a8a05 diff --git a/pf2slice.spec b/pf2slice.spec index be20948..6804cbf 100644 --- a/pf2slice.spec +++ b/pf2slice.spec @@ -1,8 +1,8 @@ # please keep these three lines as they are used by the tagging script # see build/module-tag.py for details %define name pf2slice -%define version 1 -%define taglevel 1 +%define version 1.0 +%define taglevel 2 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -26,8 +26,11 @@ pf2slice - Populates the planetflow slice with the right initscript, keychains a rm -rf %{buildroot} install -d -v %{buildroot}/etc/init.d install -m 755 -v pf2slice-initscript %{buildroot}/etc/init.d/pf2slice -mkdir -p /root/.ssh -cp authorized_keys /root/.ssh +install -d -m 700 %{buildroot}/home/pl_netflow/.ssh +install -m 600 authorized_keys %{buildroot}/home/pl_netflow/.ssh/authorized_keys +mkdir -p %{buildroot}/home/pl_netflow/.ssh +mkdir -p %{buildroot}/pf + %clean rm -rf %{buildroot} @@ -35,10 +38,17 @@ rm -rf %{buildroot} %files %defattr(-,root,root) /etc/init.d/pf2slice -/root/.ssh/authorized_keys +/home/pl_netflow/.ssh/authorized_keys +/home/* +/pf %post chkconfig --add pf2slice chkconfig pf2slice on %changelog +* Tue May 20 2008 Faiyaz Ahmed - pf2slice-1.0-2 +- +- The PlanetFlow slice needs to mount the netflow logs from the root context. The initscript will now attempt to trigger vsys to mount the logs repeatedly until vsys responds. +- +