Bug#717778: checkinstall: mkdir -p fails (fstrans broken again?)

2022-07-01 Thread Geoffrey Hausheer
Package: checkinstall
Version: 1.6.2+git20170426.d24a630-2
Followup-For: Bug #717778
X-Debbugs-Cc: debianbug...@pblue.org

It appears that the root of this issue may be in instw_setpathrel
Specifically, the 'stat' command that is used to get the length of a symlink 
should
be 'lstat' instead.

Here is a 1 line-patch that addressed the issue for me:

--- a/installwatch/installwatch.c
+++ b/installwatch/installwatch.c
@@ -1691,7 +1691,7 @@
if ( dirfd == AT_FDCWD ) return instw_setpath(instw, relpath);
 
snprintf(proc_path, PROC_PATH_LEN, "/proc/self/fd/%d", dirfd);
-   if(true_stat(proc_path, ) == -1)
+   if(true_lstat(proc_path, ) == -1)
goto out;
if(!(newpath = malloc(s.st_size+strlen(relpath)+2)))
goto out;



-- System Information:
Debian Release: 11.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.67-zfs (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages checkinstall depends on:
ii  dpkg-dev1.20.10
ii  file1:5.39-3
ii  libc6   2.31-13+deb11u3
ii  sensible-utils  0.0.14

Versions of packages checkinstall recommends:
ii  make  4.3-4.1

Versions of packages checkinstall suggests:
ii  gettext  0.21-4

-- Configuration Files:
/etc/checkinstallrc changed [not included]

-- no debconf information



Bug#375160: libpam-encfs: does not mount user driver when logging in through ssh

2006-06-23 Thread Geoffrey Hausheer
Package: libpam-encfs

Version: 0.1.3-1

Severity: normal



I have configured libpam-encfs to mount $HOME on user login, and it works fine 

when loggin in through the console or su.  however, the mount does not happen 

when logging in via ssh.



I don't know if this is an inherent limitation, a misconfiguration on my 

part, or a bug somewhere.



/etc/security/pam_encfs.conf is default with the exception of the last line:

-   /home/.enc  -   -v  
allow_root



/etc/pam.d/common-auth:

authsufficient  pam_encfs.so

authrequiredpam_unix.so nullok_secure use_first_pass



I'm not sure which sshd_config options would be relevant, but the only changes 

I've made there are to set 'AllowUsers' and disable 'PermitRootLogin'



I do not have libpam-ssh installed if that is relevant



ssh is:

1:3.8.1p1-8.sarge.4



-- System Information:

Debian Release: 3.1

  APT prefers unstable

  APT policy: (333, 'unstable')

Architecture: i386 (i686)

Kernel: Linux 2.6.15.4

Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)



Versions of packages libpam-encfs depends on:

ii  encfs 1.2.5-1-1  encrypted virtual filesystem

ii  libc6 2.3.6-9GNU C Library: Shared libraries

ii  libpam0g  0.79-3.1   Pluggable Authentication Modules l



-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]