[23243] in Source-Commits
/svn/athena r22904 - in trunk/debathena/config/linerva: debian files/usr
daemon@ATHENA.MIT.EDU (tabbott@MIT.EDU)
Wed Apr 16 18:56:06 2008
Date: Wed, 16 Apr 2008 18:55:36 -0400 (EDT)
From: tabbott@MIT.EDU
Message-Id: <200804162255.SAA26589@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: tabbott
Date: 2008-04-16 18:54:45 -0400 (Wed, 16 Apr 2008)
New Revision: 22904
Removed:
trunk/debathena/config/linerva/files/usr/share/
Modified:
trunk/debathena/config/linerva/debian/changelog
trunk/debathena/config/linerva/debian/debathena-linerva.postinst
Log:
Modified: trunk/debathena/config/linerva/debian/changelog
===================================================================
--- trunk/debathena/config/linerva/debian/changelog 2008-04-16 22:35:27 UTC (rev 22903)
+++ trunk/debathena/config/linerva/debian/changelog 2008-04-16 22:54:45 UTC (rev 22904)
@@ -1,3 +1,9 @@
+debathena-linerva (1.6) unstable; urgency=low
+
+ * Clean up the postinst script somewhat.
+
+ -- Tim Abbott <tabbott@mit.edu> Wed, 16 Apr 2008 18:51:31 -0400
+
debathena-linerva (1.5) unstable; urgency=low
* Repackage with new config-package-dev system.
Modified: trunk/debathena/config/linerva/debian/debathena-linerva.postinst
===================================================================
--- trunk/debathena/config/linerva/debian/debathena-linerva.postinst 2008-04-16 22:35:27 UTC (rev 22903)
+++ trunk/debathena/config/linerva/debian/debathena-linerva.postinst 2008-04-16 22:54:45 UTC (rev 22904)
@@ -42,11 +42,6 @@
chmod 700 /srv/old
fi
- # Get rid of unecessary print daemon
- update-rc.d -f lpd remove
- update-rc.d -f lprng remove
- rm -f /etc/cron.daily/lprng
-
# Make /srv/tmp exists so we can symlink to it.
mkdir -p /srv/tmp
# # Make sure /tmp is setup correctly.
@@ -72,10 +67,6 @@
#divert_symlink /bin/unlog
#divert_symlink /bin/vos
- # install /compat
- # fix-compat-suid
- # install discuss
-
# replace logcheck config
# make logcheck able to read its stuff and run every minute
sed -i 's/. \* \* \* \*/* * * * */' /etc/cron.d/logcheck
@@ -111,14 +102,12 @@
lose_setuid /usr/bin/chsh.debathena-orig
lose_setuid /usr/bin/chsh
- # lose_setuid is for making programs no longer setuid
lose_setuid /usr/bin/passwd
lose_setuid /usr/bin/bsd-write
lose_setuid /usr/lib/libfakeroot-tcp.so.0.0.1
lose_setuid /usr/lib/libfakeroot-sysv.so.0.0.1
lose_setuid /usr/bin/gpg
lose_setuid /usr/bin/screen
- chmod a=rwx,o+t /var/run/screen # So that screen works without setuid.
lose_setuid /usr/bin/gpasswd
lose_setuid /bin/mount
lose_setuid /bin/umount
@@ -127,11 +116,15 @@
lose_setuid /usr/X11R6/bin/xterm
lose_setuid /usr/bin/wall
+ chmod a=rwx,o+t /var/run/screen # So that screen works without setuid.
+
echo ""
- echo "Displaying Current set*id binaries:"
- find / -xdev -type f -perm +6000 -print 2> /dev/null
+ echo "Displaying Current setuid binaries:"
+ find / -xdev -type f -perm +4000 -print 2> /dev/null
+ echo ""
+ echo "Displaying Current setgid binaries:"
+ find / -xdev -type f -perm +2000 -print 2> /dev/null
-
if hash invoke-rc.d; then
invoke-rc.d openafs-client restart
else