public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "KAVALAGIOS Panagiotis (EEAS-EXT)" <Panagiotis.KAVALAGIOS@ext.eeas.europa.eu>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Home directory was not created
Date: Fri, 5 Mar 2021 10:17:56 +0000	[thread overview]
Message-ID: <bea83e866d094174a1807329d2daa572@BELBRU-EXMP101.eeas.europa.eu> (raw)
In-Reply-To: <0d21a331911b4733a5e638a7c72d7ee2@BELBRU-EXMP101.eeas.europa.eu>

> -----Original Message-----
> From: Cygwin <cygwin-bounces@cygwin.com> On Behalf Of KAVALAGIOS
> Panagiotis (EEAS-EXT)
> Sent: 03 March 2021 12:23
> 
> > -----Original Message-----
> > From: Cygwin <cygwin-bounces@cygwin.com> On Behalf Of Brian Inglis
> > Sent: 02 March 2021 19:57
> >
> > All postinstall steps failed because of BLODA or installation path:
> >
> > 2021/02/09 17:48:06 running: C:\Program Files\Cygwin\bin\dash.exe
> > "/etc/postinstall/0p_000_autorebase.dash"
> >        0 [main] dash (2296) shared_info::initialize: size of shared
> > memory region changed from 49080 to 40888
> > 2021/02/09 17:48:20 abnormal exit: exit code=-1073741819 ...
> >
> > Installing under Program\ Files causes issues because of space in path
> > names and BLODA-like AV protections on those paths.
> 
> The installation is performed by powershell script that runs with the super
> admin (system user/nt authority) from local repository that normally
> bypasses all those kind of AV restrictions. I start it from the Cygwin icon that
> runs mintty under the hood. I don't know who took those 8KB from the
> script's shared memory, but indeed it looks like a BLODA interference. I will
> ask the package to be re-installed.
> 
> I have checked the installation logs and there was no error returned from the
> setup program. Shouldn't return non-zero value so that the package
> manager is notified about that issue? Or maybe it Is returned and I failed to
> propagate that in my .bat file:
> 
> ---------
> @echo off
> @echo Starting Cygwin installation
> 
> "%cd%\setup-x86_64.exe" -q -A -L -l "%cd%\cygwin-repo" -R "C:\Program
> Files\Cygwin" -P autoconf,automake,bash-
> completion,binutils,curl,dos2unix,emacs,git,git-
> svn,gnupg2,inetutils,jq,konsole,mc,openssh,patchutils,perl,psmisc,python2,
> python3,rsync,ruby,subversion,tcsh,tmux,unzip,vim,vim-
> common,wget,xinit,xlaunch,xorg-server,xorg-server-common,xorg-server-
> xorg,xorg-x11-fonts-dpi100,xorg-x11-fonts-dpi75,xorg-x11-fonts-Type1,xorg-
> x11-fonts-misc,xterm,zip
> ---------
> 
> Does it need "exit /b %errorlevel%"?

I have requested the Cygwin package to be re-installed on my laptop and now it works fine and in the first execution:

--------------
Copying skeleton files.
These files are for the users to personalise their cygwin experience.

They will never be overwritten nor automatically updated.

'./.bashrc' -> '/home/kavalpa//.bashrc'
'./.bash_profile' -> '/home/kavalpa//.bash_profile'
'./.inputrc' -> '/home/kavalpa//.inputrc'
'./.profile' -> '/home/kavalpa//.profile'

kavalpa@BELBRU-L1922205 ~
$
--------------

My /var/log/setup.log.full is also clean and the postinstall scripts were successfully completely:

--------------
2021/03/05 09:18:07 running: C:\Program Files\Cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/emacs.sh"
2021/03/05 09:18:09 running: C:\Program Files\Cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/librsvg2.sh"
2021/03/05 09:18:55 running: C:\Program Files\Cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/openssh.sh"
...
--------------

All good now thanks!

Panos

  parent reply	other threads:[~2021-03-05 10:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-01 15:33 KAVALAGIOS Panagiotis (EEAS-EXT)
2021-03-01 17:37 ` Brian Inglis
     [not found]   ` <24934718098a4d26a65b68ef62f3b46e@BELBRU-EXMP101.eeas.europa.eu>
2021-03-02 18:56     ` Brian Inglis
2021-03-03 11:22       ` KAVALAGIOS Panagiotis (EEAS-EXT)
2021-03-03 11:55         ` Andrey Repin
2021-03-03 12:59           ` KAVALAGIOS Panagiotis (EEAS-EXT)
2021-03-03 11:57         ` Thomas Wolff
2021-03-03 12:43           ` KAVALAGIOS Panagiotis (EEAS-EXT)
2021-03-03 12:58             ` Thomas Wolff
2021-03-03 13:07               ` KAVALAGIOS Panagiotis (EEAS-EXT)
2021-03-03 17:07                 ` Brian Inglis
2021-03-05 21:22             ` Kraja, Aldi
2021-03-05 21:52               ` remove my email aldi@wustl.edu from the cygwin@cygwin.com email list Kraja, Aldi
2021-03-06  1:38               ` Help on Unsubscribing Brian Inglis
2021-03-05 10:17         ` KAVALAGIOS Panagiotis (EEAS-EXT) [this message]
2021-03-05 18:50         ` Home directory was not created Brian Inglis
2021-03-02 17:27 ` Adam Dinwoodie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bea83e866d094174a1807329d2daa572@BELBRU-EXMP101.eeas.europa.eu \
    --to=panagiotis.kavalagios@ext.eeas.europa.eu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).