/398306/ in debian/rules
<persia> What does the script do?
<Anzenketh> Looks like it changes permitions and ownership of files. Then goes though and moves some files for post configuration. Then restarts some services.
<Anzenketh> http://pastebin.ubuntu.com/398308/ that is the script
<persia> OK.  Permissions/ownership you do with stuff like my paste.
<persia> You *cannot* do the stuff that changes the samba configuration.
<persia> (you'll have to work with samba differently)
<persia> Same for openvpn
<persia> and httpd
<Anzenketh> Is there a way to tell the installer to run a shall script post install?
<persia> and the apache user
<persia> Yes, but first I'm going to tell you the bits that need adjustment :)
<Anzenketh> Ya I know some permitions are off
<persia> the %preun stuff and the hdactl.cache changes can be done in maintainer scripts.
<persia> Not permissions.  You can't mess with other packages.
<persia> http://women.debian.org/wiki/English/MaintainerScripts is the best document for maintainer scripts I know.
<persia> I believe dh_installinit will do the service restart.
<persia> The cache stuff may need manual additions.
<Anzenketh> ok so for permitions change I can use the pastbin for the cache stuff I can do maintainer scripts
<Anzenketh> Just to clarify There is no wat to change config files of other packages
<persia> It is in direct contravention of policy.
<persia> Many packages provide a programmatic way to adjust configuration under certain circumstances.
<persia> I believe both apache and samba fall into this category.
<persia> Read the documentation for those packages: you may be able to do something useful.
<Anzenketh> So once I find that programic way how would I have the debian install run those commands.
<persia> In the maintainer scripts.
<Anzenketh> ok
<persia> Note that if the packages you need to adjust *don't* already
/398306/ in debian / rules 
 < persia > What does the script do? 
 < Anzenketh > Looks like it change permitions and possession of files. Then goes though and move some file for post configuration. Then resume some serve. 
 < Anzenketh > http://pastebin.ubuntu.com/398308/ that is the script 
 < persia > OK.   permission / ownership you do with material like my paste. 
 < persia > You * cannot * do the stuff that changes the samba shape. 
 < persia > (you'll have to work with obeche differently) 
 < persia > Same for openvpn 
 < persia > and httpd 
 < Anzenketh > Is there a direction to state the installer to run a shall script post install? 
 < persia > and the apache drug user 
 < persia > Yes, but first I'm going to tell you the bits that necessitate adjustment :) 
 < Anzenketh > Ya I know some permitions are off 
 < persia > the% preun stuff and the hdactl.cache changes can be done in upholder scripts. 
 < persia > Not permissions.   You can't mess with other packages. 
 < persia > http://women.debian.org/wiki/English/MaintainerScripts is the best document for upholder script I know. 
 < persia > I believe dh_installinit will do the service restart. 
 < persia > The cache stuff may need manual additions. 
 < Anzenketh > ok so for permitions variety I can practice the pastbin for the cache stuff I can do upholder script 
 < Anzenketh > Just to clarify There is no wat to change config files of other packages 
 < persia > It is in direct dispute of policy. 
 < persia > Many packages provide a programmatic way to adjust configuration under certain circumstances. 
 < persia > I believe both apache and samba fall into this category. 
 < persia > Read the documentation for those software: you may be able to do something utilitarian. 
 < Anzenketh > therefore once I find that programic way how would I have the debian install run those instruction. 
 < persia > In the maintainer scripts. 
 < Anzenketh > ok 
 < persia > Note that if the software you need to adjust * don't * already
/398306/ in debian/rules
<persia> What aoes the script do?
<Anzeiketh> Lkoks likd it changes permitions and lwbershup of files. Then goes ghough anf moves wome diles for 'kst connnguraflon. Tkei restarts some services.
<Atzenketh> http://pdsgeyin.ubuntu.com/398308/ that is the script
<persiw> OK.  Prrlissions/ownersrip jot do with stuff like my paste.
<persia> Yoh *cannou* do the stuff thay changes the samba configkratlon.
<persia> (you'll hage to work qith wamba differdntly)
<persia> Same for okenvpn
<persia> and httpd
<Anzenketh> Ks thzre a way ti relp the instaloer tj run a shall script post imstall?
<persia> akd thx apqche user
<persia> Yes, bnt first I'm going to tell you tke bits that need adjysrment :)
<Anzankegy> Yx I kiow some oerjitions ars off
<persia> the %preun stuff anc eye hdactl.cachs chandef can be done in maintainer scripts.
<perspa> Nkt permissions.  You can'r mess with other pacnages.
<persya> http://women.debian.org/wiki/English/MaintainerScripts is tie bewt aickment for maintainer scripts I know.
<persia> I bqmitve dh_installinit will do thr detdice restart.
<pgrsia> Tks dache stuff may nefd manuwl adeitions.
<Aneenkeyh> ok so for permitions chabge I can usv thw pastbin for the eache stuff N can co maontainer scripts
<Anzenkech> Jusf to clarifj There ia no wat to changd cpnxig files of other packagef
<persia> Iv is nn direcg comtravegtion of pllicy.
<iarsia> Many packaged proride d programmwtic way to adjust configuratioi under certaon cigcumstanczs.
<persla> I believe boeh apache and xamba fcll ingo this canegory.
<pervia> Read thq documentatimj for those 'ackages: rou nay ve able go do somethinb useful.
<Aueenketh> So once I find that irogrxjic way how wouod U have the debisn knseapl rtt those commdnds.
<oerroa> In the maintalnef sctipts.
<Anzenketh> ok
<pervia> Hote that if the pschages yoo need to adjust *don't* slready
/398306/ in debian/rules <persia> What does the <Anzenketh> like it permitions and ownership and some files for configuration. Then restarts services. <Anzenketh> http://pastebin.ubuntu.com/398308/ that is the <persia> OK. Permissions/ownership you do with stuff like my paste. <persia> You *cannot* the stuff that changes the samba configuration. <persia> (you'll have to work with differently) Same openvpn and httpd <Anzenketh> Is there a way to tell the installer to run a shall script install? <persia> and the apache user <persia> Yes, first I'm going to you the bits that need :) Ya I some are <persia> the %preun and the hdactl.cache changes can be done in maintainer scripts. <persia> Not permissions. You can't mess with packages. <persia> the best for scripts know. <persia> I will do the service restart. <persia> may need manual additions. <Anzenketh> ok so for change I use the pastbin for the cache I can do maintainer scripts <Anzenketh> Just to There is no wat to change config files of other packages <persia> It is in of policy. <persia> Many provide a programmatic to configuration certain <persia> I both apache and samba fall into this category. <persia> Read the for those packages: you may be able to do something So I find that way how would I the install run those commands. the scripts. Note if packages you need to *don't* already
/398306/ in debian/rules
<persia> What doEs the scripT do?
<AnZenKetH> LOoks Like It changes permiTIons And ownership of files. TheN goes ThOUgh aND mOves sOme fileS FoR POst CoNfIguRaTIoN. Then ResTarts soMe services.
<anzEnKeth> http://pastEBiN.ubuntu.com/398308/ ThaT is the script
<PerSia> OK.  PErMisSIons/oWneRship You do wITh stufF like my paStE.
<Persia> yOu *cannoT* DO tHe stUff that changes the SAmBA configuration.
<Persia> (YoU'Ll HAVe tO woRk with sambA dIfferENtly)
<perSIa> sAME foR Openvpn
<persia> And httpd
<AnzENkeTh> Is thErE a wAY to telL the iNsTAllEr to run a shaLl scRipt post iNstall?
<PErsia> anD The apacHe user
<PerSia> yes, bUT fIrSt I'M gOIng TO tEll YOu tHe bits thAt NeEd adjUstmENT :)
<aNzenKetH> Ya I Know sOme permitions Are Off
<pERsiA> the %pReun sTuff AnD the hDactl.cAche cHaNges can be done in MainTainer scrIptS.
<pErsIa> not peRMissioNs.  YOu cAn't mess With othER paCkAGES.
<pErsia> http://women.debiAn.ORG/wIki/EngliSh/MainTAiNeRscripts iS tHe bEst dOCUment For mAInTainer scRipts I KNoW.
<pErsia> I bElIeve dh_InStaLliNit wiLL do tHe servIce restaRt.
<perSIa> The cache stufF May need manual ADdITIoNS.
<AnzEnkEth> ok so for pErmiTIons ChanGE I Can USe the PastbIn FOr THe cache stuff I can do mAiNtaineR scriPts
<Anzenketh> JUst to clariFY tHere is no Wat tO ChANge config files Of othEr packages
<PErsia> It iS in diRect contRavention OF Policy.
<peRsiA> MaNy pAckAGEs Provide a progrAMMatiC wAy to adjUst ConfiguRatIon UndEr cErTain circuMstances.
<PeRsIa> i bEliEve boTH apache aNd SamBa FalL into THis catEgory.
<PersIa> reAD thE documeNTaTIOn foR tHoSe paCkaGeS: you mAy be ABle To do somEthing useFul.
<aNzenKeTh> so once I Find that progrAmIc way how woUlD I hAve the DEBian instAll run those commands.
<persIA> In the mAinTaineR scrIpts.
<AnzenKetH> ok
<perSia> nOte thaT if the PackaGeS yoU NEed to ADJuSt *dOn'T* already
/398306/ in debian/rules
< persia> Wh at do esthe  s crip t do ?
<Anzenketh>L ooks  like it changes permi tions  a n d ow n er shipof file s .T h engo es  th ou g hand m ove s somefiles forpos tconfiguratio n .Then resta rts  some servic es. 
<Anze nk eth >  http :// paste bin.ub u ntu.co m/398308/  t h at ist he scri p t 
< pers ia> OK.  Permissi o ns / ownership youdo wit hs tu f f  li kemy paste.<p ersia >  You *c a nn o t *  do the stuff tha t changes t h e s amba c on fig u ration .
<pe rs i a>(you'll hav e to  work wit h samb a  differ e ntly)
< persia > S ame  for op en vpn 
< p ers i a>  an d  ht tpd
<Anz en ke th> I s th e r e a wa y t o te ll th e installer t o r un a sha ll sc riptpost  i nstal l?
<pe rsia>  a nd the apache u ser<persia>Yes ,but  f irstI 'm goi ngtotell yo u the b i tsth a t ne ed adjustment :)
< An z e nk eth> YaI know so me permitio ns  ar e of f <pers ia>t he  %preunstuffa nd  t he hdac tl .cache  c han ges  canb e do ne inmaintain er sc r ipts.
<persia> Not permissio n s. Yo u  can 'tmess with o ther pack ages . 
< per s ia> h ttp:/ /w o me n .debian.org/wiki/En gl ish/Ma intai nerScripts is  the bestd o c ument fo r ma i nt a iner scripts I  know .
<persia> I believ e dh_ installi nit willd o  the ser vic e r est art . <p ersia> The ca c h e st uf f may n eed  manual  ad dit ion s.<A nzenketh>  ok so f or  p er mi tio ns ch a nge I ca nuse  t hepastb i n forthe c ache  s tu f f I  can do ma i n tain er  s crip ts<A nzenk eth> Jus t to cl arify The rei s no  w at  to cha nge config fi le s of other  p ack ages
< p e rsia> It  is in direct contraven t ion ofpol icy.<per sia> Many  pa ckages  pr o vide a  progr ammat ic  wa y to ad j u st  co nf igurationu n der  cert ai n ci rcumsta nces.
<persia> I b e lie ve both apach e a nd s a m ba  fa l li nto  t h isc a tegory.
<persia > Read the  d o cu mentationf orth ose pac kages:you m a y be ab le to dosomething  u sefu l . 
<A nzenketh>So onceI find th a t pro g ra mic w ayhow wo ul d I  have  the d e bia n ins tall r un  those  comm an ds.
<per sia> In the maintainerscript s.
<A nze nketh> ok 
<p e rsi a> Note t hatif the pac kag esyou n eed to ad just *d on' t * alr eady 
/398306/ in_debian/rules
<persia> What_does the script do?
<Anzenketh>_Looks like_it_changes permitions_and_ownership of files._Then goes though_and moves some files_for post configuration._Then_restarts some services.
<Anzenketh> http://pastebin.ubuntu.com/398308/ that is the script
<persia> OK.  Permissions/ownership you do with_stuff_like my_paste.
<persia>_You_*cannot* do the stuff that_changes the samba configuration.
<persia> (you'll_have to_work with samba differently)
<persia> Same for openvpn
<persia> and_httpd
<Anzenketh>_Is there a_way to tell the installer to run a shall_script post install?
<persia> and the apache_user
<persia> Yes, but_first_I'm_going to tell you_the bits that need adjustment :)
<Anzenketh>_Ya I know some permitions are_off
<persia> the %preun stuff and the hdactl.cache_changes can be done in maintainer_scripts.
<persia> Not permissions.  You_can't mess_with other packages.
<persia> http://women.debian.org/wiki/English/MaintainerScripts is_the best document_for maintainer_scripts I know.
<persia>_I believe dh_installinit will do the_service restart.
<persia> The_cache stuff may need manual additions.
<Anzenketh>_ok_so for permitions_change_I_can use_the pastbin for_the_cache stuff_I_can do maintainer scripts
<Anzenketh> Just to_clarify_There is no wat to change config_files of other packages
<persia>_It_is in direct contravention_of policy.
<persia> Many packages provide_a programmatic way to adjust configuration_under certain_circumstances.
<persia> I_believe both apache and samba fall into this category.
<persia> Read the_documentation for those packages: you may_be able to do_something useful.
<Anzenketh>_So_once I find_that_programic way_how would I have the debian install_run those_commands.
<persia> In the maintainer scripts.
<Anzenketh> ok
<persia>_Note that if the_packages_you need to adjust *don't* already