[Pkg-shadow-commits] r325 - trunk/debian/patches

Nicolas FRANCOIS pkg-shadow-devel@lists.alioth.debian.org
Wed, 29 Jun 2005 21:26:29 +0000


Author: nekral-guest
Date: 2005-06-29 21:26:28 +0000 (Wed, 29 Jun 2005)
New Revision: 325

Added:
   trunk/debian/patches/436_libmisc_chowntty_ro_root_fs
Removed:
   trunk/debian/patches/006_libmisc_chowntty_ro_root_fs
Modified:
   trunk/debian/patches/series
Log:
Another patch which may require some additional investigation.
We can still use it for the moment.


Deleted: trunk/debian/patches/006_libmisc_chowntty_ro_root_fs
===================================================================
--- trunk/debian/patches/006_libmisc_chowntty_ro_root_fs	2005-06-29 21:17:10 UTC (rev 324)
+++ trunk/debian/patches/006_libmisc_chowntty_ro_root_fs	2005-06-29 21:26:28 UTC (rev 325)
@@ -1,22 +0,0 @@
-Goal: allow regular user to login on read-only root file system (not only for root).
-Fixes: #52069
-       (in fact, the patch proposed in the bug report has evolved a lot)
-
-Status wrt upstream: submitted upstream.
-                     We first need to check how an ordinary useris expected to
-                     work with a tty she doesn't own.
-http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/2005-June/001397.html
-
-Index: shadow-4.0.3/libmisc/chowntty.c
-===================================================================
---- shadow-4.0.3.orig/libmisc/chowntty.c	2005-06-10 01:16:39.262729000 +0200
-+++ shadow-4.0.3/libmisc/chowntty.c	2005-06-10 01:17:42.422729000 +0200
-@@ -116,7 +116,7 @@
- 			tty, info->pw_name));
- 		closelog();
- 
--		if (!(err == EROFS && info->pw_uid == 0))
-+		if (err != EROFS)
- 			exit(1);
- 	}
- 

Copied: trunk/debian/patches/436_libmisc_chowntty_ro_root_fs (from rev 310, trunk/debian/patches/006_libmisc_chowntty_ro_root_fs)

Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series	2005-06-29 21:17:10 UTC (rev 324)
+++ trunk/debian/patches/series	2005-06-29 21:26:28 UTC (rev 325)
@@ -20,7 +20,7 @@
 352_userdel.8
 353_groupdel.8
 351_libmisc_failure_UTMPX
-006_libmisc_chowntty_ro_root_fs
+436_libmisc_chowntty_ro_root_fs
 435_su_addenv_HOME_and_SHELL
 431_su_uid_0_not_root
 008_su_add_GNU_options