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

symlink in /etc/init.d directory



The UPS package I'm working on is not lintian clean.  Here goes:

$ dpkg -s powstatd
[cut]
Conffiles:
 /etc/powstatd.conf b9fe09ea6cc0e8fcb85a84c3e47e1a03
 /etc/init.d/powstatd 996b5e3f2f71d7a8c1ba2a02d97bd079
 /etc/init.d/powerfail 8d5fbae046463f671fe814184e08e622

$ lintian powstatd_1.1-1_i386.deb
E: powstatd: unregistered-script-in-etc-init.d /etc/init.d/powerfail
E: powstatd: unregistered-script-in-etc-init.d /etc/init.d/ups-monitor
E: powstatd: non-standard-file-permissions-for-etc-init.d-script etc/init.d/ups-monitor 0777 != 0755

$ dpkg -L powstatd
[cut]
/etc/init.d/powerfail
/etc/init.d/powstatd
/etc/init.d/ups-monitor -> powstatd

The /etc/init.d/powstatd file is `registered' with update-rc.d in the
postinst, but /etc/init.d/powerfail is not.  /etc/init.d/ups-monitor is a
symlink to /etc/init.d/powerfail, and both files are required to be there
because of the UPS entries in /etc/inittab and /etc/init.d/halt

Do I simply ignore the errors?

-- 
Peter Galbraith, research scientist          <GalbraithP@dfo-mpo.gc.ca>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
    6623'rd GNU/Linux user at the Counter - http://counter.li.org/ 


Reply to: